mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 22:42:24 +00:00
ef322055a5
WTD-1033.
43 lines
1.2 KiB
JSON
43 lines
1.2 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"
|
|
},
|
|
{
|
|
"key": "ELASTIC_PATH",
|
|
"value": "mct/domain_object"
|
|
},
|
|
{
|
|
"key": "ELASTIC_INDICATOR_INTERVAL",
|
|
"value": 15000
|
|
}
|
|
],
|
|
"indicators": [
|
|
{
|
|
"implementation": "ElasticIndicator.js",
|
|
"depends": [
|
|
"$http",
|
|
"$interval",
|
|
"ELASTIC_ROOT",
|
|
"ELASTIC_INDICATOR_INTERVAL"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |