mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 23:53:49 +00:00
[Containment] Add bundle declaration
WTD-962.
This commit is contained in:
11
platform/containment/bundle.json
Normal file
11
platform/containment/bundle.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extensions": {
|
||||||
|
"policies": [
|
||||||
|
{
|
||||||
|
"category": "composition",
|
||||||
|
"implementation": "CompositionPolicy.js",
|
||||||
|
"depends": [ "typeService", "capabilityService" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -8,7 +8,9 @@ define(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Build a table indicating which types are expected to expose
|
* Build a table indicating which types are expected to expose
|
||||||
* which capabilities.
|
* which capabilities. This supports composition policy (rules
|
||||||
|
* for which objects can contain which other objects) which
|
||||||
|
* sometimes is determined based on the presence of capabilities.
|
||||||
*/
|
*/
|
||||||
function CapabilityTable(typeService, capabilityService) {
|
function CapabilityTable(typeService, capabilityService) {
|
||||||
var table = {};
|
var table = {};
|
||||||
|
Reference in New Issue
Block a user