aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
diff options
context:
space:
mode:
authorKatarzyna Wasiel <katarzyna.wasiel@nokia.com>2021-02-10 08:50:57 +0100
committerMarcin Przybysz <marcin.przybysz@nokia.com>2021-02-26 10:17:59 +0000
commitd1bc6cbd63f9cd7126baded2a40e78ebb67f65e1 (patch)
treeabcbbd961f411cef1d1cf590a863b812d7e5cce2 /robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
parentc6232933e3c44de7dba7f24cd66ee944816b2941 (diff)
Add DCAE MOD smoke/verification test using simple app
Issue-ID: INT-1855 Signed-off-by: Katarzyna Wasiel <katarzyna.wasiel@nokia.com> Change-Id: Idbd385547cd5d0ef9ce7b53060d84ea8d9031e06
Diffstat (limited to 'robot/assets/templates/dcaemod/compspec_with_config_volume.jinja')
-rw-r--r--robot/assets/templates/dcaemod/compspec_with_config_volume.jinja50
1 files changed, 50 insertions, 0 deletions
diff --git a/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja b/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
new file mode 100644
index 00000000..80feec55
--- /dev/null
+++ b/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
@@ -0,0 +1,50 @@
+{"owner": "owner-name", "spec":
+{
+ "self": {
+ "version": "1.0.0",
+ "name": "{{comp_spec_name}}",
+ "description": "Dummy DCAE app with config volume",
+ "component_type": "docker"
+ },
+ "streams": {
+ "subscribes": [],
+ "publishes": []
+ },
+ "services": {
+ "calls": [],
+ "provides": []
+ },
+ "parameters": [],
+ "auxilary": {
+ "healthcheck": {
+ "type": "docker",
+ "interval": "45s",
+ "timeout": "15s",
+ "script": "service nginx status"
+ },
+ "volumes": [{
+ "config_volume": {
+ "name": "{{config_map_name}}"
+ },
+ "container": {
+ "bind": "{{volume_mount_path}}"
+ }
+ }],
+ "ports": [
+ "80:0",
+ "99:0"
+ ],
+ "tls_info":{
+ "cert_directory":"/opt/app/dcae-certificate/",
+ "use_tls": false,
+ "use_external_tls": false
+ }
+ },
+ "artifacts": [
+ {
+ "type": "docker image",
+ "uri": "docker.io/nginx:latest"
+ }
+ ]
+}
+} \ No newline at end of file