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
0628c21a
Commit
0628c21a
authored
Oct 30, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Plain Diff
Merge origin/DRIP_3.0 into DRIP_3.0
parents
1e62a63b
b20d2416
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
226 additions
and
56 deletions
+226
-56
swagger_sure_tosca.yml
openAPI/ swagger_sure_tosca.yml
+226
-56
No files found.
openAPI/ swagger_sure_tosca.yml
View file @
0628c21a
...
@@ -54,6 +54,171 @@ paths:
...
@@ -54,6 +54,171 @@ paths:
description
:
"
Not
found"
description
:
"
Not
found"
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
/tosca_template/{id}/imports
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
getImports"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/dsl_definitions
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
getDslDefinitions"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
query
name
:
anchors
type
:
array
items
:
type
:
string
required
:
false
description
:
the anchors the definition is for
-
in
:
query
name
:
derived_from
type
:
string
required
:
false
description
:
derived from
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/types
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
getTypes"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
query
name
:
kind_of_type
description
:
the type we are looking for e.g. capability_types, artifact_types. etc.
type
:
string
enum
:
[
node_types
,
relationship_types
,
capability_types
,
artifact_types
,
data_types
,
interface_types
,
policy_types
,
group_types
]
-
in
:
query
name
:
has_interfaces
type
:
boolean
description
:
filter if has interfaces
-
in
:
query
name
:
type_name
type
:
string
required
:
false
description
:
The relationship type
-
in
:
query
name
:
has_properties
type
:
boolean
description
:
filter if has properties
-
in
:
query
name
:
has_attributes
type
:
boolean
description
:
filter if has attributes
-
in
:
query
name
:
has_requirements
type
:
boolean
description
:
filter if has requirements
-
in
:
query
name
:
has_capabilities
type
:
boolean
description
:
filter if has capabilities
-
in
:
query
name
:
has_artifacts
type
:
boolean
description
:
filter if has artifacts
-
in
:
query
name
:
derived_from
type
:
string
required
:
false
description
:
derived from
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/relationship_templates
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
getRrelationshipTemplates"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
query
name
:
type_name
type
:
string
required
:
false
description
:
The relationship type
-
in
:
query
name
:
derived_from
type
:
string
required
:
false
description
:
derived from
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template
:
/tosca_template/{id}/topology_template
:
get
:
get
:
description
:
"
r"
description
:
"
r"
...
@@ -88,17 +253,44 @@ paths:
...
@@ -88,17 +253,44 @@ paths:
required
:
true
required
:
true
type
:
"
string"
type
:
"
string"
-
in
:
query
-
in
:
query
name
:
nod
e_name
name
:
typ
e_name
type
:
string
type
:
string
description
:
filter by node name
required
:
false
description
:
The type
-
in
:
query
-
in
:
query
name
:
n
ode_type
name
:
n
ame_key
type
:
string
type
:
string
description
:
filter by node type
required
:
false
description
:
the name key
-
in
:
query
name
:
has_interfaces
type
:
boolean
description
:
filter if has interfaces
-
in
:
query
-
in
:
query
name
:
has_
interface
name
:
has_
properties
type
:
boolean
type
:
boolean
description
:
filter if node has interface
description
:
filter if has properties
-
in
:
query
name
:
has_attributes
type
:
boolean
description
:
filter if has attributes
-
in
:
query
name
:
has_requirements
type
:
boolean
description
:
filter if has requirements
-
in
:
query
name
:
has_capabilities
type
:
boolean
description
:
filter if has capabilities
-
in
:
query
name
:
has_artifacts
type
:
boolean
description
:
filter if has artifacts
-
in
:
query
name
:
derived_from
type
:
string
required
:
false
description
:
derived from
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -130,9 +322,10 @@ paths:
...
@@ -130,9 +322,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -161,9 +354,10 @@ paths:
...
@@ -161,9 +354,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -175,7 +369,7 @@ paths:
...
@@ -175,7 +369,7 @@ paths:
description
:
"
Not
found"
description
:
"
Not
found"
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/
parent_type_name
:
/tosca_template/{id}/topology_template/node_templates/
derived_from
:
get
:
get
:
summary
:
"
"
summary
:
"
"
description
:
"
"
description
:
"
"
...
@@ -195,9 +389,10 @@ paths:
...
@@ -195,9 +389,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -226,9 +421,10 @@ paths:
...
@@ -226,9 +421,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -259,9 +455,10 @@ paths:
...
@@ -259,9 +455,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -292,9 +489,10 @@ paths:
...
@@ -292,9 +489,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -327,9 +525,10 @@ paths:
...
@@ -327,9 +525,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -395,9 +594,10 @@ paths:
...
@@ -395,9 +594,10 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
n
ode_name
name
:
n
ame_key
type
:
string
type
:
string
description
:
The node name
required
:
false
description
:
The name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
...
@@ -428,47 +628,17 @@ paths:
...
@@ -428,47 +628,17 @@ paths:
schema
:
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
-
in
:
query
name
:
node_name
name
:
name_key
type
:
string
description
:
The node name
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
array
items
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/interface_types
:
get
:
summary
:
"
"
description
:
"
returns
the
interface
types"
operationId
:
"
getInterfaceTypes"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
query
name
:
interface_type
type
:
string
type
:
string
required
:
false
required
:
false
description
:
The
interface type
description
:
The
name_key
responses
:
responses
:
200
:
200
:
description
:
"
successful
operation"
description
:
"
successful
operation"
schema
:
schema
:
type
:
array
type
:
array
items
:
items
:
type
:
object
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
additionalProperties
:
type
:
object
404
:
404
:
description
:
"
Not
found"
description
:
"
Not
found"
405
:
405
:
...
...
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