Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
3e35ba31
Commit
3e35ba31
authored
Mar 18, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated swagger
parent
aa6a9e44
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
8 deletions
+66
-8
nodes.yaml
TOSCA/types/nodes.yaml
+15
-2
docker-compose.yml
docker-compose.yml
+4
-4
CONF-3.0.0-swagger.yaml
openAPI/API/CONF-3.0.0-swagger.yaml
+47
-2
No files found.
TOSCA/types/nodes.yaml
View file @
3e35ba31
...
@@ -4,9 +4,18 @@ node_types:
...
@@ -4,9 +4,18 @@ node_types:
tosca.nodes.ARTICONF.Root
:
tosca.nodes.ARTICONF.Root
:
description
:
root ARTICONF node
description
:
root ARTICONF node
attributes
:
current_state
:
type
:
string
required
:
false
description
:
the current state of the node
desired_state
:
type
:
string
required
:
false
description
:
the current state of the node
tosca.nodes.ARTICONF.Container.Application.Docker
:
tosca.nodes.ARTICONF.Container.Application.Docker
:
derived_from
:
tosca.nodes.ARTICONF.
Root
derived_from
:
tosca.nodes.ARTICONF.
Application
description
:
description of container
description
:
description of container
properties
:
properties
:
ports
:
ports
:
...
@@ -41,7 +50,7 @@ node_types:
...
@@ -41,7 +50,7 @@ node_types:
description
:
url of the service
description
:
url of the service
tosca.nodes.ARTICONF.docker.Orchestrator
:
tosca.nodes.ARTICONF.docker.Orchestrator
:
derived_from
:
tosca.nodes.ARTICONF.
Root
derived_from
:
tosca.nodes.ARTICONF.
Application
description
:
a container orchestrator
description
:
a container orchestrator
requirements
:
requirements
:
-
host
:
-
host
:
...
@@ -239,3 +248,7 @@ node_types:
...
@@ -239,3 +248,7 @@ node_types:
type
:
tosca.capabilities.Compute
type
:
tosca.capabilities.Compute
node
:
node
:
type
:
tosca.capabilities.Node
type
:
tosca.capabilities.Node
tosca.nodes.ARTICONF.Application
:
derived_from
:
tosca.nodes.ARTICONF.Root
description
:
Base application node
docker-compose.yml
View file @
3e35ba31
...
@@ -116,10 +116,10 @@ services:
...
@@ -116,10 +116,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
:
...
...
openAPI/API/CONF-3.0.0-swagger.yaml
View file @
3e35ba31
...
@@ -127,7 +127,7 @@ paths:
...
@@ -127,7 +127,7 @@ paths:
-
read:ToscaTemplate
-
read:ToscaTemplate
delete
:
delete
:
summary
:
Deletes a tosca topology template
summary
:
Deletes a tosca topology template
description
:
"
"
description
:
If the topology is provisoned it will delete the provison (Infrastructure). If it is deployed it will delete the deploymet too (Application)
operationId
:
deleteToscaTemplateByID
operationId
:
deleteToscaTemplateByID
parameters
:
parameters
:
-
name
:
id
-
name
:
id
...
@@ -135,6 +135,14 @@ paths:
...
@@ -135,6 +135,14 @@ paths:
description
:
ID of topology template to return
description
:
ID of topology template to return
required
:
true
required
:
true
type
:
string
type
:
string
-
name
:
node_names
in
:
query
description
:
The node(s) to delete
required
:
false
type
:
array
items
:
type
:
string
collectionFormat
:
multi
responses
:
responses
:
"
200"
:
"
200"
:
description
:
successful operation
description
:
successful operation
...
@@ -179,7 +187,7 @@ paths:
...
@@ -179,7 +187,7 @@ paths:
/provisioner/provision/{id}
:
/provisioner/provision/{id}
:
get
:
get
:
summary
:
provision tosca template
summary
:
provision tosca template
description
:
'
provosions
the
operationId:
Plan
Tosca
Template
Returns
the
provision
ID'
description
:
deletes the provisioned Infrastructure
operationId
:
provisionPlanToscaTemplateByID
operationId
:
provisionPlanToscaTemplateByID
produces
:
produces
:
-
text/plain
-
text/plain
...
@@ -204,6 +212,43 @@ paths:
...
@@ -204,6 +212,43 @@ paths:
-
auth
:
-
auth
:
-
write:ToscaTemplate
-
write:ToscaTemplate
-
read:ToscaTemplate
-
read:ToscaTemplate
/scaler/{id}
:
get
:
summary
:
scale tosca template
operationId
:
scaleProvisionedToscaTemplateByID
produces
:
-
text/plain
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template to scale
required
:
true
type
:
string
-
name
:
node_name
in
:
query
description
:
The node to scale
required
:
true
type
:
string
-
name
:
node_num
in
:
query
description
:
The number of nodes to scale
required
:
true
type
:
integer
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
string
"
400"
:
description
:
Invalid ID supplied
"
404"
:
description
:
ToscaTemplate not found
"
405"
:
description
:
Invalid input
security
:
-
auth
:
-
write:ToscaTemplate
-
read:ToscaTemplate
/deployer/deploy/{id}
:
/deployer/deploy/{id}
:
get
:
get
:
summary
:
deploy the software tosca template
summary
:
deploy the software tosca template
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment