diff options
author | 2020-07-16 21:15:17 +0000 | |
---|---|---|
committer | 2020-07-16 21:15:17 +0000 | |
commit | e996e07eea9189ffd89418047eb26293ef33e419 (patch) | |
tree | 51785f96a3765225e7dc61335c269a859490f2a6 /mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withTlsTrueAndNoExternalTls.json | |
parent | 219b4e78fb5129c9661f2ee178bdf68ee4d8e36e (diff) | |
parent | 69644638aa0e93c9c2c2ccea590fa02213d24a7a (diff) |
Merge "Add external tls info to bpgenerator and component spec schema"
Diffstat (limited to 'mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withTlsTrueAndNoExternalTls.json')
-rw-r--r-- | mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withTlsTrueAndNoExternalTls.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withTlsTrueAndNoExternalTls.json b/mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withTlsTrueAndNoExternalTls.json new file mode 100644 index 0000000..517c461 --- /dev/null +++ b/mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withTlsTrueAndNoExternalTls.json @@ -0,0 +1,42 @@ +{ + "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 + } + }, + "artifacts": [{ + "type": "docker image", + "uri": "test.tester" + }] + +} |