mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 08:58:52 +00:00
173c3372dc
Remove reference to persistence cache from the Couch adapter's bundle definition; this has been moved into a separate bundle to support reuse with the WARP Server persistence adapter, WTD-702.
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"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"
|
|
},
|
|
{
|
|
"key": "COUCHDB_INDICATOR_INTERVAL",
|
|
"value": 15000
|
|
}
|
|
],
|
|
"indicators": [
|
|
{
|
|
"implementation": "CouchIndicator.js",
|
|
"depends": [
|
|
"$http",
|
|
"$interval",
|
|
"COUCHDB_PATH",
|
|
"COUCHDB_INDICATOR_INTERVAL"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |