Add dcae-cli and component-json-schemas projects
[dcaegen2/platform/cli.git] / dcae-cli / dcae_cli / commands / tests / mocked_components / model / anomaly-model.comp.json
1 {
2   "self": {
3     "version": "1.0.0",
4     "name": "asimov.anomaly_classifier",
5     "description": "Classifies VNF KPIs as anommalous or not",
6     "component_type": "docker"
7   },
8   "streams": {
9     "subscribes": [{
10         "format": "std.vnf.kpi",
11         "version": "1.0.0",
12         "route": "/data",
13         "type": "http"
14       }],
15     "publishes": [
16       {
17         "format": "asimov.std.integerClassification",
18         "version": "1.0.0",
19         "config_key": "pred",
20         "type": "http"
21       }
22     ]
23   },
24   "services": {
25     "calls": [],
26     "provides": []
27   },
28   "parameters": [
29     {
30       "name": "threshold",
31       "value": 0.75,
32       "description": "Probability threshold to exceed to be anomalous"
33     }
34   ],
35   "auxilary": {
36     "healthcheck": {
37         "type": "http",
38         "endpoint": "/health",
39         "interval": "15s",
40         "timeout": "1s"
41     }
42   },
43   "artifacts": [
44     {
45       "uri": "asimov-anomaly-model",
46       "type": "docker image"
47     }
48   ]
49 }