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
119754cc
Commit
119754cc
authored
Dec 02, 2019
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix API def error
parent
1003daaa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
34 deletions
+13
-34
NOTES
docs/NOTES
+8
-0
CONF-3.0.0-swagger.yaml
openAPI/CONF-3.0.0-swagger.yaml
+5
-34
No files found.
docs/NOTES
View file @
119754cc
...
...
@@ -6,3 +6,11 @@ docker run --hostname my-proxy --name some-myproxy -p 7512:7512 -p 7513:7513 -p
#--------Add admin-----------------
docker exec -t mongo-inst mongo -eval 'db.user.insert({"password":"$2a$10$QdysFgsH0sl6Y4BD84UhGO7yyNfoDPXjjEHkDJ3pX6cRfHDj2Q0BO","roles":["ADMIN"],"username":"admin","accountNonExpired":true,"accountNonLocked":true,"credentialsNonExpired":true,"enabled":true})' localhost/drip
#--------------------------Git-------------------------------------------
git add .
git commit -m "$MESSAGE"
git push origin
\ No newline at end of file
openAPI/CONF-3.0.0-swagger.yaml
View file @
119754cc
...
...
@@ -173,7 +173,6 @@ paths:
-
auth
:
-
"
write:ToscaTemplate"
-
"
read:ToscaTemplate"
/provisioner/provision/{id}
:
get
:
summary
:
"
provision
tosca
template"
...
...
@@ -202,34 +201,6 @@ paths:
-
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/CONF/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"
-
"
read:ToscaTemplate"
/deployer/deploy/{id}
:
get
:
summary
:
"
deploy
the
software
tosca
template"
...
...
@@ -273,7 +244,7 @@ paths:
description
:
"
Created
user
object"
required
:
true
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/TOSCA/Credentials.yml#
/Credentials"
$ref
:
"
#/definitions
/Credentials"
responses
:
200
:
description
:
"
successful
operation"
...
...
@@ -326,7 +297,7 @@ paths:
description
:
"
Created
user
object"
required
:
true
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/User.yml#
/User"
$ref
:
"
#/definitions
/User"
responses
:
200
:
description
:
"
successful
operation"
...
...
@@ -424,7 +395,7 @@ paths:
description
:
"
Updated
user
object"
required
:
true
schema
:
$ref
:
"
https://raw.githubusercontent.com/skoulouzis/CONF/DRIP_3.0/openAPI/User.yml#
/User"
$ref
:
"
#/definitions
/User"
responses
:
400
:
description
:
"
Invalid
user
supplied"
...
...
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