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
09caf5c9
Commit
09caf5c9
authored
Dec 02, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Plain Diff
Merge old-origin/DRIP_3.0 into DRIP_3.0
parents
646a8dd1
a47cf2a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
16 deletions
+44
-16
swagger_drip.yml
openAPI/swagger_drip.yml
+44
-16
No files found.
openAPI/swagger_drip.yml
View file @
09caf5c9
...
@@ -8,7 +8,7 @@ info:
...
@@ -8,7 +8,7 @@ info:
license
:
license
:
name
:
"
Apache
2.0"
name
:
"
Apache
2.0"
url
:
"
http://www.apache.org/licenses/LICENSE-2.0.html"
url
:
"
http://www.apache.org/licenses/LICENSE-2.0.html"
basePath
:
"
/
drip
-api/3.0"
basePath
:
"
/
conf
-api/3.0"
schemes
:
schemes
:
-
"
https"
-
"
https"
-
"
http"
-
"
http"
...
@@ -34,7 +34,7 @@ paths:
...
@@ -34,7 +34,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
/tosca_template/ids
:
/tosca_template/ids
:
...
@@ -58,7 +58,7 @@ paths:
...
@@ -58,7 +58,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
/tosca_template/{id}
:
/tosca_template/{id}
:
...
@@ -86,7 +86,7 @@ paths:
...
@@ -86,7 +86,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
put
:
put
:
...
@@ -119,7 +119,7 @@ paths:
...
@@ -119,7 +119,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
delete
:
delete
:
...
@@ -142,7 +142,7 @@ paths:
...
@@ -142,7 +142,7 @@ paths:
404
:
404
:
description
:
"
ToscaTemplate
not
found"
description
:
"
ToscaTemplate
not
found"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
/planner/plan/{id}
:
/planner/plan/{id}
:
...
@@ -170,7 +170,7 @@ paths:
...
@@ -170,7 +170,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
/provisioner/provision/{id}
:
/provisioner/provision/{id}
:
...
@@ -198,7 +198,35 @@ paths:
...
@@ -198,7 +198,35 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
/provisioner/{id}
:
get
:
summary
:
"
get
provisiner
"
description
:
"
provosions
the
operationId:
Plan
Tosca
Template
Returns
the
provision
ID"
operationId
:
"
getProvisiner"
produces
:
-
"
text/plain"
parameters
:
-
name
:
"
id"
in
:
"
path"
description
:
"
ID
of
topolog
template
to
plan"
required
:
true
type
:
"
string"
responses
:
200
:
description
:
"
successful
operation"
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/Provisioner.yml#/Provisioner"
400
:
description
:
"
Invalid
ID
supplied"
404
:
description
:
"
ToscaTemplate
not
found"
405
:
description
:
"
Invalid
input"
security
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
/deployer/deploy/{id}
:
/deployer/deploy/{id}
:
...
@@ -226,7 +254,7 @@ paths:
...
@@ -226,7 +254,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
/credential
:
/credential
:
...
@@ -257,7 +285,7 @@ paths:
...
@@ -257,7 +285,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:Credentials"
-
"
write:Credentials"
-
"
read:Credentials"
-
"
read:Credentials"
/credential/ids
:
/credential/ids
:
...
@@ -281,7 +309,7 @@ paths:
...
@@ -281,7 +309,7 @@ paths:
405
:
405
:
description
:
"
Invalid
input"
description
:
"
Invalid
input"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
write:ToscaTemplate"
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
-
"
read:ToscaTemplate"
/user
:
/user
:
...
@@ -306,7 +334,7 @@ paths:
...
@@ -306,7 +334,7 @@ paths:
409
:
409
:
description
:
"
already
exists"
description
:
"
already
exists"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
admin:User"
-
"
admin:User"
/user/login
:
/user/login
:
get
:
get
:
...
@@ -375,7 +403,7 @@ paths:
...
@@ -375,7 +403,7 @@ paths:
404
:
404
:
description
:
"
User
not
found"
description
:
"
User
not
found"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
admin:User"
-
"
admin:User"
put
:
put
:
tags
:
tags
:
...
@@ -402,7 +430,7 @@ paths:
...
@@ -402,7 +430,7 @@ paths:
404
:
404
:
description
:
"
User
not
found"
description
:
"
User
not
found"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
admin:User"
-
"
admin:User"
delete
:
delete
:
summary
:
"
Delete
user"
summary
:
"
Delete
user"
...
@@ -421,10 +449,10 @@ paths:
...
@@ -421,10 +449,10 @@ paths:
404
:
404
:
description
:
"
User
not
found"
description
:
"
User
not
found"
security
:
security
:
-
drip_
auth
:
-
auth
:
-
"
admin:User"
-
"
admin:User"
securityDefinitions
:
securityDefinitions
:
drip_
auth
:
auth
:
type
:
"
oauth2"
type
:
"
oauth2"
authorizationUrl
:
"
http://localhost/oauth/dialog"
authorizationUrl
:
"
http://localhost/oauth/dialog"
flow
:
"
implicit"
flow
:
"
implicit"
...
...
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