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
050c3ea5
Commit
050c3ea5
authored
Dec 09, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update API
parent
ee9b74c9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
790 additions
and
645 deletions
+790
-645
swagger_sure_tosca.yml
openAPI/API/ swagger_sure_tosca.yml
+0
-645
sure_tosca-1.0.0-swagger.yaml
openAPI/API/sure_tosca-1.0.0-swagger.yaml
+790
-0
No files found.
openAPI/API/ swagger_sure_tosca.yml
deleted
100644 → 0
View file @
ee9b74c9
swagger
:
"
2.0"
info
:
description
:
"
TOSCA
Simple
qUeRy
sErvice
(SURE).
"
version
:
"
1.0.0"
title
:
"
tosca-sure"
contact
:
email
:
"
S.Koulouzis@uva.nl"
license
:
name
:
"
Apache
2.0"
url
:
"
http://www.apache.org/licenses/LICENSE-2.0.html"
basePath
:
"
/tosca-sure/1.0.0"
schemes
:
-
"
https"
-
"
http"
paths
:
/tosca_template
:
post
:
summary
:
"
upload
a
tosca
template
description
file"
description
:
"
upload
and
validate
a
tosca
template
description
file"
operationId
:
"
uploadToscaTemplate"
consumes
:
-
"
multipart/form-data"
parameters
:
-
in
:
"
formData"
name
:
"
file"
type
:
file
description
:
"
tosca
Template
description"
required
:
true
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
"
string"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}
:
get
:
description
:
"
"
operationId
:
"
getToscaTemplate"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
responses
:
200
:
description
:
"
successful
operation"
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/ToscaTemplate.yml#/ToscaTemplate"
404
:
description
:
"
Not
found"
405
:
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
:
get
:
description
:
"
r"
operationId
:
"
getTopologyTemplate"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
responses
:
200
:
description
:
"
successful
operation"
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates
:
get
:
description
:
"
returns
nodes
templates
in
topology"
operationId
:
"
getNodeTemplates"
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 type
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
the name key
-
in
:
query
name
:
has_interfaces
type
:
boolean
description
:
filter if has interfaces
-
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
:
$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}/topology_template/node_templates/type_name
:
get
:
summary
:
"
"
description
:
"
"
operationId
:
"
getNodeTypeName"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
description
:
"
the
NodeTemplate"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
"
string"
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/requirements
:
get
:
description
:
"
Returns
the
requirements
for
an
input
node
as
described
in
the
template
not
in
the
node's
definition
"
operationId
:
"
getNodeRequirements"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
description
:
"
"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/derived_from
:
get
:
summary
:
"
"
description
:
"
"
operationId
:
"
getParentTypeName"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
description
:
"
"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
string
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/ancestors_requirements
:
get
:
summary
:
"
"
description
:
"
Recursively
get
all
requirements
all
the
way
to
the
ROOT
including
the
input
node's"
operationId
:
"
getAncestorsRequirements"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/ancestors_types
:
get
:
summary
:
"
"
description
:
"
Recursively
get
all
requirements
all
the
way
to
the
ROOT
including
the
input
node's"
operationId
:
"
getAllAncestorTypes"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
array
items
:
type
:
string
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/ancestors_properties
:
get
:
summary
:
"
"
description
:
"
Recursively
get
all
requirements
all
the
way
to
the
ROOT
including
the
input
node's"
operationId
:
"
getAllAncestorProperties"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
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/node_templates/properties
:
get
:
summary
:
"
"
description
:
"
s"
operationId
:
"
getNodeProperties"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
put
:
summary
:
"
"
description
:
"
s"
operationId
:
"
setNodeProperties"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
properties"
required
:
true
schema
:
type
:
object
additionalProperties
:
type
:
string
-
in
:
query
name
:
node_name
type
:
string
description
:
The node name
required
:
true
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/outputs
:
get
:
summary
:
"
"
description
:
"
s"
operationId
:
"
getNodeOutputs"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
responses
:
200
:
description
:
"
successful
operation"
schema
:
type
:
object
additionalProperties
:
type
:
object
404
:
description
:
"
Not
found"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/related
:
get
:
summary
:
"
"
description
:
"
s"
operationId
:
"
getRelatedNodes"
produces
:
-
"
application/json"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
uplodaed"
required
:
true
type
:
"
string"
-
in
:
"
body"
name
:
"
nodeTemplate"
required
:
false
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
-
in
:
query
name
:
name_key
type
:
string
required
:
false
description
:
The name_key
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"
\ No newline at end of file
openAPI/API/sure_tosca-1.0.0-swagger.yaml
0 → 100644
View file @
050c3ea5
---
swagger
:
"
2.0"
info
:
description
:
'
TOSCA
Simple
qUeRy
sErvice
(SURE).
'
version
:
1.0.0
title
:
tosca-sure
contact
:
email
:
S.Koulouzis@uva.nl
license
:
name
:
Apache 2.0
url
:
http://www.apache.org/licenses/LICENSE-2.0.html
basePath
:
/tosca-sure/1.0.0
schemes
:
-
https
-
http
paths
:
/tosca_template
:
post
:
summary
:
upload a tosca template description file
description
:
upload and validate a tosca template description file
operationId
:
uploadToscaTemplate
consumes
:
-
multipart/form-data
parameters
:
-
name
:
file
in
:
formData
description
:
tosca Template description
required
:
true
type
:
file
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
string
"
405"
:
description
:
Invalid input
/tosca_template/{id}
:
get
:
description
:
"
"
operationId
:
getToscaTemplate
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
$ref
:
'
#/definitions/ToscaTemplate'
"
404"
:
description
:
Not found
"
405"
:
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
properties
:
{}
"
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
-
name
:
anchors
in
:
query
description
:
the anchors the definition is for
required
:
false
type
:
array
items
:
type
:
string
collectionFormat
:
multi
-
name
:
derived_from
in
:
query
description
:
derived from
required
:
false
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
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
-
name
:
kind_of_type
in
:
query
description
:
the type we are looking for e.g. capability_types, artifact_types. etc.
required
:
false
type
:
string
enum
:
-
node_types
-
relationship_types
-
capability_types
-
artifact_types
-
data_types
-
interface_types
-
policy_types
-
group_types
-
name
:
has_interfaces
in
:
query
description
:
filter if has interfaces
required
:
false
type
:
boolean
-
name
:
type_name
in
:
query
description
:
The type_name
required
:
false
type
:
string
-
name
:
has_properties
in
:
query
description
:
filter if has properties
required
:
false
type
:
boolean
-
name
:
has_attributes
in
:
query
description
:
filter if has attributes
required
:
false
type
:
boolean
-
name
:
has_requirements
in
:
query
description
:
filter if has requirements
required
:
false
type
:
boolean
-
name
:
has_capabilities
in
:
query
description
:
filter if has capabilities
required
:
false
type
:
boolean
-
name
:
has_artifacts
in
:
query
description
:
filter if has artifacts
required
:
false
type
:
boolean
-
name
:
derived_from
in
:
query
description
:
derived from
required
:
false
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/relationship_templates
:
get
:
summary
:
"
"
description
:
returns the interface types
operationId
:
getRelationshipTemplates
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
type_name
in
:
query
description
:
The relationship type
required
:
false
type
:
string
-
name
:
derived_from
in
:
query
description
:
derived from
required
:
false
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template
:
get
:
description
:
r
operationId
:
getTopologyTemplate
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
$ref
:
'
#/definitions/TopologyTemplate'
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates
:
get
:
description
:
returns nodes templates in topology
operationId
:
getNodeTemplates
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
type_name
in
:
query
description
:
The type
required
:
false
type
:
string
-
name
:
node_name
in
:
query
description
:
the name
required
:
false
type
:
string
-
name
:
has_interfaces
in
:
query
description
:
filter if has interfaces
required
:
false
type
:
boolean
-
name
:
has_properties
in
:
query
description
:
filter if has properties
required
:
false
type
:
boolean
-
name
:
has_attributes
in
:
query
description
:
filter if has attributes
required
:
false
type
:
boolean
-
name
:
has_requirements
in
:
query
description
:
filter if has requirements
required
:
false
type
:
boolean
-
name
:
has_capabilities
in
:
query
description
:
filter if has capabilities
required
:
false
type
:
boolean
-
name
:
has_artifacts
in
:
query
description
:
filter if has artifacts
required
:
false
type
:
boolean
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
$ref
:
'
#/definitions/NodeTemplate'
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/type_name
:
get
:
summary
:
"
"
description
:
"
"
operationId
:
getNodeTypeName
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
string
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/requirements
:
get
:
description
:
'
Returns
the
requirements
for
an
input
node
as
described
in
the
template
not
in
the
node'
'
s
definition
'
operationId
:
getNodeRequirements
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/derived_from
:
get
:
summary
:
"
"
description
:
"
"
operationId
:
getParentTypeName
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
string
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/ancestors_requirements
:
get
:
summary
:
"
"
description
:
Recursively get all requirements all the way to the ROOT including the input node's
operationId
:
getAncestorsRequirements
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/ancestors_types
:
get
:
summary
:
"
"
description
:
Recursively get all requirements all the way to the ROOT including the input node's
operationId
:
getAllAncestorTypes
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
type
:
string
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/ancestors_properties
:
get
:
summary
:
"
"
description
:
Recursively get all requirements all the way to the ROOT including the input node's
operationId
:
getAllAncestorProperties
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/properties
:
get
:
summary
:
"
"
description
:
s
operationId
:
getNodeProperties
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
put
:
summary
:
"
"
description
:
s
operationId
:
setNodeProperties
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
in
:
body
name
:
properties
required
:
true
schema
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
string
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/outputs
:
get
:
summary
:
"
"
description
:
s
operationId
:
getNodeOutputs
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
/tosca_template/{id}/topology_template/node_templates/{node_name}/related
:
get
:
summary
:
"
"
description
:
s
operationId
:
getRelatedNodes
produces
:
-
application/json
parameters
:
-
name
:
id
in
:
path
description
:
ID of topolog template uplodaed
required
:
true
type
:
string
-
name
:
node_name
in
:
path
description
:
node_name
required
:
true
type
:
string
responses
:
"
200"
:
description
:
successful operation
schema
:
type
:
array
items
:
$ref
:
'
#/definitions/NodeTemplate'
"
404"
:
description
:
Not found
"
405"
:
description
:
Invalid input
definitions
:
ToscaTemplate
:
type
:
object
properties
:
tosca_definitions_version
:
type
:
string
tosca_default_namespace
:
type
:
string
template_name
:
type
:
string
topology_template
:
$ref
:
'
#/definitions/TopologyTemplate'
template_author
:
type
:
string
template_version
:
type
:
string
description
:
type
:
string
imports
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
dsl_definitions
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
node_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
relationship_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
relationship_templates
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
capability_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
artifact_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
data_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
interface_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
policy_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
group_types
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
repositories
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
TopologyTemplate
:
type
:
object
properties
:
description
:
type
:
string
inputs
:
type
:
object
additionalProperties
:
type
:
string
node_templates
:
type
:
object
additionalProperties
:
$ref
:
'
#/definitions/NodeTemplate'
relationship_templates
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
outputs
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
groups
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
substitution_mappings
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
policies
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
NodeTemplate
:
type
:
object
properties
:
derived_from
:
type
:
string
properties
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
requirements
:
type
:
array
items
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
interfaces
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
capabilities
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
type
:
type
:
string
description
:
type
:
string
directives
:
type
:
array
items
:
type
:
string
attributes
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
artifacts
:
type
:
object
additionalProperties
:
type
:
object
properties
:
{}
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