Add dcae-cli and component-json-schemas projects
[dcaegen2/platform/cli.git] / dcae-cli / dcae_cli / commands / tests / mocked_components / viz / line-viz.comp.json
1 {
2   "self": {
3     "version": "1.0.0",
4     "name": "asimov.viz.line_plot",
5     "description": "Plots class probabilities as a line plot in real-time",
6     "component_type": "docker"
7   },
8   "streams": {
9     "subscribes": [
10       {
11         "format": "asimov.std.integerClassification",
12         "version": "1.0.0",
13         "route": "/prediction",
14         "type": "http"
15       }
16     ],
17     "publishes": []
18   },
19   "services": {
20     "calls": [],
21     "provides": [
22       {
23         "route": "/viz",
24         "verb": "GET",
25         "request": {
26           "format": "std.empty",
27           "version": "1.0.0"
28         },
29         "response": {
30           "format": "std.web.url",
31           "version": "1.0.0"
32         }
33       }
34     ]
35   },
36   "parameters": [],
37   "auxilary": {
38     "healthcheck": {
39         "type": "http",
40         "endpoint": "/health",
41         "interval": "15s",
42         "timeout": "1s"
43     }
44   },
45   "artifacts": [
46     {
47       "uri": "asimov-anomaly-viz",
48       "type": "docker image"
49     }
50   ]
51 }