Commit cddca1c6 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added ttl for message

parent 6da20c5e
...@@ -81,7 +81,6 @@ services: ...@@ -81,7 +81,6 @@ services:
ports: ports:
- "3001:3000" - "3001:3000"
#manager: #manager:
#depends_on: #depends_on:
...@@ -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:
...@@ -131,7 +130,16 @@ services: ...@@ -131,7 +130,16 @@ services:
#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
#SEMAPHORE_BASE_PATH: http://semaphore:3000/api #SEMAPHORE_BASE_PATH: http://semaphore:3000/api
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