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
6be9e016
Commit
6be9e016
authored
Oct 29, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Plain Diff
Merge origin/DRIP_3.0 into DRIP_3.0
parents
4f91ee99
a23488e1
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
165 additions
and
171 deletions
+165
-171
swagger_sure_tosca.yml
openAPI/ swagger_sure_tosca.yml
+4
-24
Credentials.yml
openAPI/TOSCA/Credentials.yml
+8
-8
NodeTemplate.yml
openAPI/TOSCA/NodeTemplate.yml
+44
-33
TopologyTemplate.yml
openAPI/TOSCA/TopologyTemplate.yml
+39
-39
ToscaTemplate.yml
openAPI/TOSCA/ToscaTemplate.yml
+68
-65
swagger_drip.yml
openAPI/swagger_drip.yml
+2
-2
No files found.
openAPI/ swagger_sure_tosca.yml
View file @
6be9e016
...
...
@@ -8,7 +8,7 @@ info:
license
:
name
:
"
Apache
2.0"
url
:
"
http://www.apache.org/licenses/LICENSE-2.0.html"
# basePath: "/tosca-sure
"
basePath
:
"
/tosca-sure/1.0.0
"
schemes
:
-
"
https"
-
"
http"
...
...
@@ -33,10 +33,6 @@ paths:
type
:
"
string"
405
:
description
:
"
Invalid
input"
security
:
-
drip_auth
:
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
/tosca_template/{id}
:
get
:
description
:
"
"
...
...
@@ -53,7 +49,7 @@ paths:
200
:
description
:
"
successful
operation"
schema
:
$ref
:
'
$ref:
"https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/ToscaTemplate.yml"'
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/ToscaTemplate.yml#/ToscaTemplate"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template
:
...
...
@@ -72,7 +68,7 @@ paths:
200
:
description
:
"
successful
operation"
schema
:
$ref
:
'
'
#/definitions/TopologyTemplate'
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates
:
...
...
@@ -389,7 +385,6 @@ paths:
type
:
object
405
:
description
:
"
Invalid
input"
/tosca_template/{id}/topology_template/node_templates/related
:
get
:
summary
:
"
"
...
...
@@ -454,18 +449,3 @@ paths:
type
:
object
405
:
description
:
"
Invalid
input"
\ No newline at end of file
securityDefinitions
:
drip_auth
:
type
:
"
oauth2"
authorizationUrl
:
"
http://localhost/oauth/dialog"
flow
:
"
implicit"
scopes
:
write:ToscaTemplate
:
"
modify
topolog
template
in
your
account"
read:ToscaTemplate
:
"
read
your
topolog
template"
admin:User
:
"
Grants
access
to
admin
operations"
write:Credentials
:
"
modify
cloud
credentials
in
your
account"
read:Credentials
:
"
read
your
cloud
credentials"
# Added by API Auto Mocking Plugin
host
:
virtserver.swaggerhub.com
# Added by API Auto Mocking Plugin
basePath
:
/skoulouzis/SURE_TOSCA/1.0.0
\ No newline at end of file
openAPI/TOSCA/Credentials.yml
View file @
6be9e016
openAPI/TOSCA/NodeTemplate.yml
View file @
6be9e016
NodeTemplate
:
NodeTemplate
:
type
:
"
object"
properties
:
name
:
derived_from
:
type
:
"
string"
type
:
type
:
"
string"
requirements
:
type
:
"
array"
items
:
properties
:
type
:
object
additionalProperties
:
type
:
object
artifacts
:
requirements
:
type
:
"
array"
items
:
type
:
object
additionalProperties
:
type
:
object
properti
es
:
interfac
es
:
type
:
object
additionalProperties
:
type
:
object
interfac
es
:
capabiliti
es
:
type
:
object
additionalProperties
:
type
:
object
capabilities
:
type
:
type
:
"
string"
description
:
type
:
"
string"
directives
:
type
:
"
array"
items
:
type
:
string
attributes
:
type
:
object
additionalProperties
:
type
:
object
workflow
s
:
artifact
s
:
type
:
object
additionalProperties
:
type
:
object
openAPI/TOSCA/TopologyTemplate.yml
View file @
6be9e016
TopologyTemplate
:
TopologyTemplate
:
type
:
"
object"
properties
:
description
:
...
...
@@ -9,9 +9,11 @@ TopologyTemplate:
type
:
object
additionalProperties
:
type
:
object
policies
:
type
:
"
array"
items
:
node_templates
:
type
:
object
additionalProperties
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate'
relationship_templates
:
type
:
object
additionalProperties
:
type
:
object
...
...
@@ -21,19 +23,17 @@ TopologyTemplate:
type
:
object
additionalProperties
:
type
:
object
node_templates
:
type
:
object
additionalProperties
:
$ref
:
'
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/TOSCA/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate'
relationship_templates
:
groups
:
type
:
object
additionalProperties
:
type
:
object
group
s
:
substitution_mapping
s
:
type
:
object
additionalProperties
:
type
:
object
substitution_mappings
:
policies
:
type
:
"
array"
items
:
type
:
object
additionalProperties
:
type
:
object
openAPI/TOSCA/ToscaTemplate.yml
View file @
6be9e016
ToscaTemplate
:
ToscaTemplate
:
type
:
"
object"
properties
:
tosca_definitions_version
:
...
...
@@ -7,26 +7,28 @@ ToscaTemplate:
type
:
"
string"
template_name
:
type
:
"
string"
topology_template
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
template_author
:
type
:
"
string"
template_version
:
type
:
"
string"
description
:
type
:
"
string"
imports
:
type
:
"
array"
items
:
type
:
object
additionalProperties
:
type
:
string
repositories
:
type
:
object
additionalProperties
:
type
:
string
dsl_definitions
:
type
:
object
additionalProperties
:
type
:
string
type
:
object
node_types
:
type
:
object
additionalProperties
:
type
:
object
topology_template
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
relationship_types
:
type
:
object
additionalProperties
:
...
...
@@ -59,7 +61,8 @@ ToscaTemplate:
type
:
object
additionalProperties
:
type
:
object
description
:
type
:
"
string"
template_author
:
type
:
"
string"
repositories
:
type
:
object
additionalProperties
:
type
:
object
openAPI/swagger_drip.yml
View file @
6be9e016
...
...
@@ -445,6 +445,6 @@ definitions:
NodeTemplate
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
TopologyTemplate
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml"
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml
#/TopologyTemplate
"
ToscaTemplate
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/ToscaTemplate.yml"
\ No newline at end of file
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/ToscaTemplate.yml#/ToscaTemplate"
\ No newline at end of file
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