Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mac-/configurine-agent


https://github.com/mac-/configurine-agent

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# configurine-agent

Helper to be run in parallel with application that is consuming Configurine objects.

# Prerequesites

* Configurine must already have the client created
* JSON file must be a properly formatted json file and all configs that are wanted must be filled in as keys

# deployment

node app.js [options]

# options
```
-V, --version output the version number
-c, --configurine-host (Required) The Configurine protocol, host, and port
-C, --configurine-client-id (Required) The Configurine client ID
-k, --configurine-key (Required) The Configurine shared key
-a, --apps-to-manage (Required) An array of json objects describing the apps to manager. For example: [{"appName": "foo", "appVersion": "1.0.0", "configFile": "/opt/foo/config.js"}]
-i, --indent-size (Optional) The number of spaces to indent the JSON with. 0 sets the indent to the TAB character. Defaults to: 0
-e, --environment (Optional) The name of the environment that the config entries are associated to Defaults to: "production"
-A, --association-priority (Optional) When configurine returns multiple results, the agent needs to determine which associations are more important when deciding how to choose only one. Valid values are app and env Defaults to: "app"
-I, --interval

```

# example

```
node app.js -c "http://localhost:8088" -C "myclient" -k "12345f3-0892-4908-b50b-1bd2352313f2" -f "./AgentConfig.json" -a "SomeApplicationId" -A "1.0.0" -e "development" -p "app"
```

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/mac-/configurine-agent/trend.png)](https://bitdeli.com/free "Bitdeli Badge")