mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
c81e2dbb4a
Conflicts: platform/commonUI/general/src/controllers/TreeNodeController.js platform/persistence/elastic/src/ElasticSearchProvider.js
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"name": "ElasticSearch Persistence",
|
|
"description": "Adapter to read and write objects using an ElasticSearch instance.",
|
|
"extensions": {
|
|
"components": [
|
|
{
|
|
"provides": "persistenceService",
|
|
"type": "provider",
|
|
"implementation": "ElasticPersistenceProvider.js",
|
|
"depends": [ "$http", "$q", "PERSISTENCE_SPACE", "ELASTIC_ROOT", "ELASTIC_PATH" ]
|
|
},
|
|
{
|
|
"provides": "searchService",
|
|
"type": "provider",
|
|
"implementation": "ElasticSearchProvider.js",
|
|
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
|
|
}
|
|
],
|
|
"constants": [
|
|
{
|
|
"key": "PERSISTENCE_SPACE",
|
|
"value": "mct"
|
|
},
|
|
{
|
|
"key": "ELASTIC_ROOT",
|
|
"value": "http://localhost:9200",
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|