Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mac-/configurine-agent
https://github.com/mac-/configurine-agent
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mac-/configurine-agent
- Owner: mac-
- Created: 2013-06-18T18:39:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-16T19:14:08.000Z (almost 11 years ago)
- Last Synced: 2024-04-09T22:01:06.833Z (9 months ago)
- Language: JavaScript
- Size: 217 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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")