summaryrefslogtreecommitdiffstats
path: root/mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withoutTlsInfo.json
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-06-17 17:52:56 +0200
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-07-16 11:41:49 +0200
commit69644638aa0e93c9c2c2ccea590fa02213d24a7a (patch)
tree2b9bed117552520851ec4d846eb38a84759fe042 /mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withoutTlsInfo.json
parent7e4e7939f698f593bf4019f3a4a1813206b77463 (diff)
Add external tls info to bpgenerator and component spec schema
Also: - Fix issue where local run without import file caused exception instead of use of default imports. - Update blueprint generator version from 1.3.2 to 1.4.0 Issue-ID: DCAEGEN2-2251 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I2f976ccc3e0b271bf9ae1357f02bd86fe0903459
Diffstat (limited to 'mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withoutTlsInfo.json')
-rw-r--r--mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withoutTlsInfo.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withoutTlsInfo.json b/mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withoutTlsInfo.json
new file mode 100644
index 0000000..a94c987
--- /dev/null
+++ b/mod/bpgenerator/TestCases/TlsInfo/testComponentSpec_withoutTlsInfo.json
@@ -0,0 +1,38 @@
+{
+ "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"
+ ]
+ },
+ "artifacts": [{
+ "type": "docker image",
+ "uri": "test.tester"
+ }]
+
+}