2015-03-19 23:48:04 +00:00
|
|
|
{
|
2015-08-24 16:04:03 +00:00
|
|
|
"name": "ElasticSearch Persistence",
|
|
|
|
"description": "Adapter to read and write objects using an ElasticSearch instance.",
|
2015-03-19 23:48:04 +00:00
|
|
|
"extensions": {
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"provides": "persistenceService",
|
|
|
|
"type": "provider",
|
2015-03-20 00:04:16 +00:00
|
|
|
"implementation": "ElasticPersistenceProvider.js",
|
|
|
|
"depends": [ "$http", "$q", "PERSISTENCE_SPACE", "ELASTIC_ROOT", "ELASTIC_PATH" ]
|
2015-08-04 20:03:34 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "searchService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "ElasticSearchProvider.js",
|
|
|
|
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
|
2015-03-19 23:48:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"constants": [
|
|
|
|
{
|
|
|
|
"key": "PERSISTENCE_SPACE",
|
|
|
|
"value": "mct"
|
|
|
|
},
|
|
|
|
{
|
2015-03-20 00:04:16 +00:00
|
|
|
"key": "ELASTIC_ROOT",
|
2015-06-25 18:27:56 +00:00
|
|
|
"value": "http://localhost:9200",
|
2015-05-19 20:06:34 +00:00
|
|
|
"priority": "fallback"
|
2015-03-19 23:48:04 +00:00
|
|
|
},
|
|
|
|
{
|
2015-03-20 00:04:16 +00:00
|
|
|
"key": "ELASTIC_PATH",
|
2015-05-19 20:06:34 +00:00
|
|
|
"value": "mct/domain_object",
|
|
|
|
"priority": "fallback"
|
2015-03-20 00:04:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ELASTIC_INDICATOR_INTERVAL",
|
2015-05-19 20:06:34 +00:00
|
|
|
"value": 15000,
|
|
|
|
"priority": "fallback"
|
2015-03-19 23:48:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"indicators": [
|
|
|
|
{
|
2015-03-20 00:04:16 +00:00
|
|
|
"implementation": "ElasticIndicator.js",
|
2015-03-19 23:48:04 +00:00
|
|
|
"depends": [
|
|
|
|
"$http",
|
|
|
|
"$interval",
|
2015-03-20 00:04:16 +00:00
|
|
|
"ELASTIC_ROOT",
|
|
|
|
"ELASTIC_INDICATOR_INTERVAL"
|
2015-03-19 23:48:04 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2015-06-25 18:27:56 +00:00
|
|
|
}
|