2015-03-19 23:48:04 +00:00
|
|
|
{
|
|
|
|
"name": "Couch Persistence",
|
|
|
|
"description": "Adapter to read and write objects using a CouchDB instance.",
|
|
|
|
"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-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-03-25 23:43:56 +00:00
|
|
|
"value": "/elastic"
|
2015-03-19 23:48:04 +00:00
|
|
|
},
|
|
|
|
{
|
2015-03-20 00:04:16 +00:00
|
|
|
"key": "ELASTIC_PATH",
|
|
|
|
"value": "mct/domain_object"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ELASTIC_INDICATOR_INTERVAL",
|
2015-03-19 23:48:04 +00:00
|
|
|
"value": 15000
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|