summaryrefslogtreecommitdiffstats
path: root/mod/bpgenerator/onap/src/test/resources/componentspecs/testComponentSpec_withTlsTrueAndExternalTlsTrue.json
blob: 20709e9aea7223e18399b86a86b2d401229f9eba (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
{
  "self": {
    "component_type": "docker",
    "description": "Test component spec",
    "name": "test.component.spec",
    "version": "1.0.1"
  },
  "services": {
    "calls": [],
    "provides": []
  },
  "streams": {
    "publishes": [],
    "subscribes": []
  },
  "parameters": [],
  "auxilary": {
    "healthcheck": {
      "type": "docker",
      "interval": "300s",
      "timeout": "120s",
      "script": "/etc/init.d/nagios status"
    },
    "ports": [
      "80:80",
      "99:99"
    ],
    "tls_info": {
      "cert_directory": "/opt/app/dcae-certificate/",
      "use_tls": true,
      "use_external_tls": true
    }
  },
  "artifacts": [
    {
      "type": "docker image",
      "uri": "test.tester"
    }
  ]
}