aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates')
-rw-r--r--robot/assets/templates/dcaemod/compspec_with_config_volume.jinja61
-rw-r--r--robot/assets/templates/dcaemod/compspec_without_config_volume.jinja57
-rw-r--r--robot/assets/templates/dfc/consul.jinja31
-rw-r--r--robot/assets/templates/dfc/notification.jinja2
4 files changed, 1 insertions, 150 deletions
diff --git a/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja b/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
deleted file mode 100644
index 958decd9..00000000
--- a/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
+++ /dev/null
@@ -1,61 +0,0 @@
-{"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": {
- "helm": {
- "service": {
- "type": "ClusterIP",
- "name": "{{comp_spec_name}}",
- "ports": [{
- "name": "http",
- "port": 80
- }]
- }
- },
- "healthcheck": {
- "type": "HTTP",
- "interval": "45s",
- "timeout": "15s",
- "port": 80,
- "endpoint": "/"
- },
- "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
diff --git a/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja b/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja
deleted file mode 100644
index 361a9934..00000000
--- a/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja
+++ /dev/null
@@ -1,57 +0,0 @@
-{"owner": "owner-name", "spec":
-{
- "self": {
- "version": "1.0.0",
- "name": "{{comp_spec_name}}",
- "description": "Dummy DCAE app",
- "component_type": "docker"
- },
- "streams": {
- "subscribes": [],
- "publishes": []
- },
- "services": {
- "calls": [],
- "provides": []
- },
- "parameters": [],
- "auxilary": {
- "helm": {
- "service": {
- "type": "ClusterIP",
- "name": "{{comp_spec_name}}",
- "ports": [{
- "name": "http",
- "port": 80
- }]
- }
- },
- "healthcheck": {
- "type": "HTTP",
- "interval": "45s",
- "timeout": "15s",
- "port": 80,
- "endpoint": "/"
- },
- "ports": [
- "80:0",
- "99:0"
- ],
- "log_info": {
- "log_directory": "/opt/logs/test"
- },
-
- "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
diff --git a/robot/assets/templates/dfc/consul.jinja b/robot/assets/templates/dfc/consul.jinja
deleted file mode 100644
index f630f976..00000000
--- a/robot/assets/templates/dfc/consul.jinja
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "service_calls": [],
- "streams_publishes": {
- "PM_MEAS_FILES": {
- "dmaap_info": "<<feed0>>",
- "type": "data_router"
- }
- },
- "dmaap.certificateConfig.keyCert": "/opt/app/datafile/etc/cert/cert.p12",
- "dmaap.certificateConfig.keyPasswordPath": "/opt/app/datafile/etc/cert/p12.pass",
- "dmaap.certificateConfig.trustedCa": "/opt/app/datafile/etc/cert/trust.jks",
- "dmaap.certificateConfig.trustedCaPasswordPath": "/opt/app/datafile/etc/cert/trust.pass",
- "dmaap.security.enableDmaapCertAuth": true,
- "dmaap.certificateConfig.httpsHostnameVerify": {{httpsHostnameVerify}},
- "dmaap.security.keyStorePasswordPath": "/opt/app/datafile/etc/cert/jks.pass",
- "dmaap.security.keyStorePath": "/opt/app/datafile/etc/cert/cert.jks",
- "dmaap.security.trustStorePasswordPath": "/opt/app/datafile/etc/cert/trust.pass",
- "dmaap.security.trustStorePath": "/opt/app/datafile/etc/cert/trust.jks",
- "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDcae-c12",
- "dmaap.dmaapConsumerConfiguration.consumerId": "C12",
- "dmaap.dmaapConsumerConfiguration.timeoutMs": -1,
- "sftp.security.strictHostKeyChecking": true,
- "streams_subscribes": {
- "dmaap_subscriber": {
- "type": "message_router",
- "dmaap_info": {
- "topic_url": "https://message-router:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT"
- }
- }
- }
-} \ No newline at end of file
diff --git a/robot/assets/templates/dfc/notification.jinja b/robot/assets/templates/dfc/notification.jinja
index 83396c29..0c28c277 100644
--- a/robot/assets/templates/dfc/notification.jinja
+++ b/robot/assets/templates/dfc/notification.jinja
@@ -22,7 +22,7 @@
{
"name": "{{pm_file}}",
"hashMap": {
- "location": "https://{{https_server_host}}:443/{{pm_file}}",
+ "location": "http://{{https_server_host}}:8080/{{pm_file}}",
"compression": "gzip",
"fileFormatType": "{{fileFormatType}}",
"fileFormatVersion": "{{fileFormatVersion}}"