Add external tls info to bpgenerator and component spec schema
[dcaegen2/platform.git] / mod / bpgenerator / TestCases / TlsInfo / testComponentSpec_withTlsTrueAndNoExternalTls.json
1 {
2         "self": {
3                 "component_type": "docker",
4                 "description": "Test component spec",
5                 "name": "test.component.spec",
6                 "version": "1.0.1"
7         },
8
9         "services": {
10                 "calls": [],
11                 "provides": []
12         },
13
14         "streams": {
15                 "publishes": [],
16                 "subscribes": []
17         },
18
19         "parameters": [],
20
21         "auxilary": {
22                 "healthcheck": {
23                         "type": "docker",
24                         "interval": "300s",
25                         "timeout": "120s",
26                         "script": "/etc/init.d/nagios status"
27                 },
28                 "ports": [
29                         "80:80",
30                         "99:99"
31                 ],
32                 "tls_info": {
33                         "cert_directory": "/opt/app/dcae-certificate/",
34                         "use_tls": true
35                 }
36         },
37         "artifacts": [{
38                 "type": "docker image",
39                 "uri": "test.tester"
40         }]
41
42 }