mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
[Persistence] Begin adding example bundle
Begin adding example bundle illustrating usage of secondary persistence stores. Scratchpad will 'persist' objects only in memory.
This commit is contained in:
parent
822b4ae96f
commit
bed1556a3a
2
example/scratchpad/README.md
Normal file
2
example/scratchpad/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
Example of using multiple persistence stores by exposing a root
|
||||
object with a different space prefix.
|
15
example/scratchpad/bundle.json
Normal file
15
example/scratchpad/bundle.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"extensions": {
|
||||
"roots": [
|
||||
{
|
||||
"id": "scratch:root",
|
||||
"model": {
|
||||
"type": "folder",
|
||||
"composition": [],
|
||||
"name": "Scratchpad"
|
||||
},
|
||||
"priority": "preferred"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user