mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
Rewrite local storage (#4583)
* Reimplementation of Local Storage provider * Added tests * Remove identifierService mocks from all test specs * Do not persist identifiers in couch * Constant rename * Fix broken test * Clean up mock window functions * Updated copyright notice * Fixed bug in in-memory search indexer
This commit is contained in:
@ -73,7 +73,8 @@ define([
|
||||
'./hyperlink/plugin',
|
||||
'./clock/plugin',
|
||||
'./DeviceClassifier/plugin',
|
||||
'./timer/plugin'
|
||||
'./timer/plugin',
|
||||
'./localStorage/plugin'
|
||||
], function (
|
||||
_,
|
||||
UTCTimeSystem,
|
||||
@ -127,10 +128,10 @@ define([
|
||||
Hyperlink,
|
||||
Clock,
|
||||
DeviceClassifier,
|
||||
Timer
|
||||
Timer,
|
||||
LocalStorage
|
||||
) {
|
||||
const bundleMap = {
|
||||
LocalStorage: 'platform/persistence/local',
|
||||
Elasticsearch: 'platform/persistence/elastic'
|
||||
};
|
||||
|
||||
@ -235,6 +236,7 @@ define([
|
||||
plugins.Clock = Clock.default;
|
||||
plugins.Timer = Timer.default;
|
||||
plugins.DeviceClassifier = DeviceClassifier.default;
|
||||
plugins.LocalStorage = LocalStorage.default;
|
||||
|
||||
return plugins;
|
||||
});
|
||||
|
Reference in New Issue
Block a user