openmct/example/msl/bundle.json
2015-10-12 10:41:21 -07:00

77 lines
2.3 KiB
JSON

{
"name" : "Mars Science Laboratory Data Adapter",
"extensions" : {
"types": [
{
"name":"Mars Science Laboratory",
"key": "msl.curiosity",
"glyph": "o"
},
{
"name": "Instrument",
"key": "msl.instrument",
"glyph": "o",
"model": {"composition": []}
},
{
"name": "Measurement",
"key": "msl.measurement",
"glyph": "T",
"model": {"telemetry": {}},
"telemetry": {
"source": "rems.source",
"domains": [
{
"name": "Time",
"key": "timestamp"
}
]
}
}
],
"constants": [
{
"key": "REMS_WS_URL",
"value": "http://cab.inta-csic.es/rems/wp-content/plugins/marsweather-widget/api.php"
}
],
"roots": [
{
"id": "msl:curiosity",
"priority" : "preferred",
"model": {
"type": "msl.curiosity",
"name": "Mars Science Laboratory",
"composition": []
}
}
],
"services": [
{
"key":"rems.adapter",
"implementation": "RemsTelemetryServerAdapter.js",
"depends": ["$q", "$http", "REMS_WS_URL"]
}
],
"runs": [
{
"implementation": "RemsTelemetryInitializer.js",
"depends": ["rems.adapter", "objectService"]
}
],
"components": [
{
"provides": "modelService",
"type": "provider",
"implementation": "RemsTelemetryModelProvider.js",
"depends": ["rems.adapter"]
},
{
"provides": "telemetryService",
"type": "provider",
"implementation": "RemsTelemetryProvider.js",
"depends": ["rems.adapter", "$q"]
}
]
}
}