Policy Reconfiguration, Component Spec, Help text
[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       "designer_editable" : false,
34       "sourced_at_deployment" : false,
35       "policy_editable" : false
36     }
37   ],
38   "auxilary": {
39     "healthcheck": {
40         "type": "http",
41         "endpoint": "/health",
42         "interval": "15s",
43         "timeout": "1s"
44     }
45   },
46   "artifacts": [
47     {
48       "uri": "asimov-anomaly-model",
49       "type": "docker image"
50     }
51   ]
52 }