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