mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
6ed14ed3a9
Mark ElasticSearch configuration constants as priority=fallback; these are intended to be specified/overridden on a per-deployment basis. WTD-1199.
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "Couch Persistence",
|
|
"description": "Adapter to read and write objects using a CouchDB instance.",
|
|
"extensions": {
|
|
"components": [
|
|
{
|
|
"provides": "persistenceService",
|
|
"type": "provider",
|
|
"implementation": "ElasticPersistenceProvider.js",
|
|
"depends": [ "$http", "$q", "PERSISTENCE_SPACE", "ELASTIC_ROOT", "ELASTIC_PATH" ]
|
|
}
|
|
],
|
|
"constants": [
|
|
{
|
|
"key": "PERSISTENCE_SPACE",
|
|
"value": "mct"
|
|
},
|
|
{
|
|
"key": "ELASTIC_ROOT",
|
|
"value": "/elastic",
|
|
"priority": "fallback"
|
|
},
|
|
{
|
|
"key": "ELASTIC_PATH",
|
|
"value": "mct/domain_object",
|
|
"priority": "fallback"
|
|
},
|
|
{
|
|
"key": "ELASTIC_INDICATOR_INTERVAL",
|
|
"value": 15000,
|
|
"priority": "fallback"
|
|
}
|
|
],
|
|
"indicators": [
|
|
{
|
|
"implementation": "ElasticIndicator.js",
|
|
"depends": [
|
|
"$http",
|
|
"$interval",
|
|
"ELASTIC_ROOT",
|
|
"ELASTIC_INDICATOR_INTERVAL"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |