Commit cddca1c6 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added ttl for message

parent 6da20c5e
...@@ -82,7 +82,6 @@ services: ...@@ -82,7 +82,6 @@ services:
- "3001:3000" - "3001:3000"
#manager: #manager:
#depends_on: #depends_on:
#- rabbit #- rabbit
...@@ -102,24 +101,24 @@ services: ...@@ -102,24 +101,24 @@ services:
ports: ports:
- "8081:8081" - "8081:8081"
#planner: planner:
#depends_on: depends_on:
#- rabbit - rabbit
#- sure-tosca - sure-tosca
#image: qcdis/planner image: qcdis/planner
#environment: environment:
#RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
#provisioner: provisioner:
#depends_on: depends_on:
#- rabbit - rabbit
#- sure-tosca - sure-tosca
#image: qcdis/provisioner image: qcdis/provisioner
#environment: environment:
#RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
#SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0 SURE_TOSCA_BASE_PATH: http://sure-tosca:8081/tosca-sure/1.0.0
#CLOUD_STORM_SECRET: 456 CLOUD_STORM_SECRET: 456
#CREDENTIAL_SECRET: top_secret CREDENTIAL_SECRET: top_secret
#deployer: #deployer:
#depends_on: #depends_on:
...@@ -133,5 +132,14 @@ services: ...@@ -133,5 +132,14 @@ services:
cadvisor:
image: google/cadvisor
ports:
- "8083:8081"
volumes:
- '/:/rootfs:ro'
- '/var/run:/var/run:rw'
- '/sys:/sys:ro'
- '/var/lib/docker/:/var/lib/docker:ro'
...@@ -175,6 +175,7 @@ public class DRIPService { ...@@ -175,6 +175,7 @@ public class DRIPService {
} }
} }
if (!nothingToDelete) { if (!nothingToDelete) {
this.toscaTemplateService.deleteByID(id);
return execute(toscaTemplate, provisionerQueueName); return execute(toscaTemplate, provisionerQueueName);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment