Policy Reconfiguration, Component Spec, Help text
[dcaegen2/platform/cli.git] / dcae-cli / dcae_cli / commands / tests / mocked_components / collector / kpi-collector.comp.json
1 {
2   "self": {
3     "version": "1.0.0",
4     "name": "std.vnf.kpi_collector",
5     "description": "Continuously publishes VNF KPIs",
6     "component_type": "docker"
7   },
8   "streams": {
9     "subscribes": [],
10     "publishes": [
11       {
12         "format": "std.vnf.kpi",
13         "version": "1.0.0",
14         "config_key": "kpi_pub",
15         "type": "http"
16       }
17     ]
18   },
19   "services": {
20     "calls": [],
21     "provides": []
22   },
23   "parameters": [
24     {
25       "name": "sleep_sec",
26       "value": 0.75,
27       "description": "Number of seconds to sleep between publishes",
28       "designer_editable": false,
29       "sourced_at_deployment": false,
30       "policy_editable": false
31     }
32   ],
33   "auxilary": {
34     "healthcheck": {
35         "type": "http",
36         "endpoint": "/health",
37         "interval": "15s",
38         "timeout": "1s"
39     }
40   },
41   "artifacts": [
42     {
43       "uri": "asimov-anomaly-collector",
44       "type": "docker image"
45     }
46   ]
47 }