Commit 8c1927fa authored by Spiros Koulouzis's avatar Spiros Koulouzis

changed interfaces

parent 07160902
...@@ -73,6 +73,9 @@ interface_types: ...@@ -73,6 +73,9 @@ interface_types:
playbook: playbook:
type: string type: string
required: false required: false
replicas:
type: integer
required: false
scale: scale:
description: Set the number of replicas for a Deployment, ReplicaSet, or Replication Controller, or the parallelism attribute of a Job. description: Set the number of replicas for a Deployment, ReplicaSet, or Replication Controller, or the parallelism attribute of a Job.
create: create:
......
...@@ -68,7 +68,7 @@ node_types: ...@@ -68,7 +68,7 @@ node_types:
scale: scale:
inputs: inputs:
playbook: https://raw.githubusercontent.com/skoulouzis/CONF/develop/ansible_playbooks/scale_service.yml playbook: https://raw.githubusercontent.com/skoulouzis/CONF/develop/ansible_playbooks/scale_service.yml
replicas:1 replicas: 1
autoscale: autoscale:
inputs: inputs:
playbook: https://raw.githubusercontent.com/skoulouzis/CONF/develop/ansible_playbooks/autoscale_service.yml playbook: https://raw.githubusercontent.com/skoulouzis/CONF/develop/ansible_playbooks/autoscale_service.yml
......
...@@ -72,10 +72,10 @@ services: ...@@ -72,10 +72,10 @@ services:
ports: ports:
- "30000:8080" - "30000:8080"
#sure-tosca: sure-tosca:
#image: sure-tosca:3.0.0 image: sure-tosca:3.0.0
#ports: ports:
#- "8081:8081" - "8081:8081"
planner: planner:
depends_on: depends_on:
...@@ -85,14 +85,14 @@ services: ...@@ -85,14 +85,14 @@ services:
environment: environment:
RABBITMQ_HOST: rabbit RABBITMQ_HOST: rabbit
#provisioner: provisioner:
#depends_on: depends_on:
#- rabbit - rabbit
#- sure-tosca - sure-tosca
#image: provisioner:3.0.0 image: provisioner:3.0.0
#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
#deployer: #deployer:
#depends_on: #depends_on:
......
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