5508e900982447684d58ede07e9c71479f058c6d
[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     }
29   ],
30   "auxilary": {
31     "healthcheck": {
32         "type": "http",
33         "endpoint": "/health",
34         "interval": "15s",
35         "timeout": "1s"
36     }
37   },
38   "artifacts": [
39     {
40       "uri": "asimov-anomaly-collector",
41       "type": "docker image"
42     }
43   ]
44 }