{"id":22273107,"url":"https://github.com/mac-/configurine-agent","last_synced_at":"2025-03-25T16:27:00.736Z","repository":{"id":9015058,"uuid":"10770622","full_name":"mac-/configurine-agent","owner":"mac-","description":null,"archived":false,"fork":false,"pushed_at":"2014-01-16T19:14:08.000Z","size":222,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T14:41:00.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mac-.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-18T18:39:19.000Z","updated_at":"2014-01-16T19:14:09.000Z","dependencies_parsed_at":"2022-07-09T21:46:18.380Z","dependency_job_id":null,"html_url":"https://github.com/mac-/configurine-agent","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Fconfigurine-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Fconfigurine-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Fconfigurine-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-%2Fconfigurine-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mac-","download_url":"https://codeload.github.com/mac-/configurine-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245498973,"owners_count":20625279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T13:09:47.821Z","updated_at":"2025-03-25T16:27:00.710Z","avatar_url":"https://github.com/mac-.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# configurine-agent\n\nHelper to be run in parallel with application that is consuming Configurine objects.  \n\n# Prerequesites\n\n  * Configurine must already have the client created\n  * JSON file must be a properly formatted json file and all configs that are wanted must be filled in as keys\n\n\n# deployment\n\nnode app.js [options]\n\n# options\n```\n    -V, --version                             output the version number\n    -c, --configurine-host \u003chost\u003e             (Required) The Configurine protocol, host, and port\n    -C, --configurine-client-id \u003cid\u003e          (Required) The Configurine client ID\n    -k, --configurine-key \u003ckey\u003e               (Required) The Configurine shared key\n    -a, --apps-to-manage \u003carray\u003e              (Required) An array of json objects describing the apps to manager.  For example: [{\"appName\": \"foo\", \"appVersion\": \"1.0.0\", \"configFile\": \"/opt/foo/config.js\"}]\n    -i, --indent-size \u003cnumber\u003e                (Optional) The number of spaces to indent the JSON with. 0 sets the indent to the TAB character. Defaults to: 0\n    -e, --environment \u003cname\u003e                  (Optional) The name of the environment that the config entries are associated to Defaults to: \"production\"\n    -A, --association-priority \u003cassociation\u003e  (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\"\n    -I, --interval \u003ctime\u003e                     (Optional) The number of seconds to wait before each attempt to sync the config Defaults to: 120\n    -r, --run-once \u003crunOnce\u003e                  (Optional) Turn off polling for the agent. Update the config file once, then quit.\n\n```\n\n# example\n\n```\nnode 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\" \n```\n\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/mac-/configurine-agent/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-%2Fconfigurine-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmac-%2Fconfigurine-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-%2Fconfigurine-agent/lists"}