mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 22:42:24 +00:00
074958317f
Add an example showing the use of composite services, WTD-518.
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"extensions": {
|
|
"components": [
|
|
{
|
|
"implementation": "SomeProvider.js",
|
|
"provides": "someService",
|
|
"type": "provider"
|
|
},
|
|
{
|
|
"implementation": "SomeOtherProvider.js",
|
|
"provides": "someService",
|
|
"type": "provider"
|
|
},
|
|
{
|
|
"implementation": "SomeDecorator.js",
|
|
"provides": "someService",
|
|
"type": "decorator"
|
|
},
|
|
{
|
|
"implementation": "SomeOtherDecorator.js",
|
|
"provides": "someService",
|
|
"type": "decorator"
|
|
},
|
|
{
|
|
"implementation": "SomeAggregator.js",
|
|
"provides": "someService",
|
|
"type": "aggregator"
|
|
}
|
|
],
|
|
"examples": [
|
|
{
|
|
"implementation": "SomeOtherExample.js",
|
|
"depends": [ "someService" ]
|
|
}
|
|
]
|
|
}
|
|
} |