2014-12-03 01:08:58 +00:00
|
|
|
{
|
|
|
|
"name": "Couch Persistence",
|
|
|
|
"description": "Adapter to read and write objects using a CouchDB instance.",
|
|
|
|
"extensions": {
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"provides": "persistenceService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "CouchPersistenceProvider.js",
|
|
|
|
"depends": [ "$http", "$q", "PERSISTENCE_SPACE", "COUCHDB_PATH" ]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"constants": [
|
|
|
|
{
|
|
|
|
"key": "PERSISTENCE_SPACE",
|
|
|
|
"value": "mct"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "COUCHDB_PATH",
|
|
|
|
"value": "/couch/openmct"
|
2014-12-15 18:37:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "COUCHDB_INDICATOR_INTERVAL",
|
|
|
|
"value": 15000
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indicators": [
|
|
|
|
{
|
|
|
|
"implementation": "CouchIndicator.js",
|
|
|
|
"depends": [
|
|
|
|
"$http",
|
|
|
|
"$interval",
|
|
|
|
"COUCHDB_PATH",
|
|
|
|
"COUCHDB_INDICATOR_INTERVAL"
|
|
|
|
]
|
2014-12-03 01:08:58 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|