Commit 09caf5c9 authored by Spiros Koulouzis's avatar Spiros Koulouzis

Merge old-origin/DRIP_3.0 into DRIP_3.0

parents 646a8dd1 a47cf2a9
......@@ -8,7 +8,7 @@ info:
license:
name: "Apache 2.0"
url: "http://www.apache.org/licenses/LICENSE-2.0.html"
basePath: "/drip-api/3.0"
basePath: "/conf-api/3.0"
schemes:
- "https"
- "http"
......@@ -34,7 +34,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
/tosca_template/ids:
......@@ -58,7 +58,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
/tosca_template/{id}:
......@@ -86,7 +86,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
put:
......@@ -119,7 +119,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
delete:
......@@ -142,7 +142,7 @@ paths:
404:
description: "ToscaTemplate not found"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
/planner/plan/{id}:
......@@ -170,7 +170,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
/provisioner/provision/{id}:
......@@ -198,9 +198,37 @@ paths:
405:
description: "Invalid input"
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"
- "read:ToscaTemplate"
/deployer/deploy/{id}:
get:
summary: "deploy the software tosca template"
......@@ -226,7 +254,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
/credential:
......@@ -257,7 +285,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:Credentials"
- "read:Credentials"
/credential/ids:
......@@ -281,7 +309,7 @@ paths:
405:
description: "Invalid input"
security:
- drip_auth:
- auth:
- "write:ToscaTemplate"
- "read:ToscaTemplate"
/user:
......@@ -306,7 +334,7 @@ paths:
409:
description: "already exists"
security:
- drip_auth:
- auth:
- "admin:User"
/user/login:
get:
......@@ -375,7 +403,7 @@ paths:
404:
description: "User not found"
security:
- drip_auth:
- auth:
- "admin:User"
put:
tags:
......@@ -402,7 +430,7 @@ paths:
404:
description: "User not found"
security:
- drip_auth:
- auth:
- "admin:User"
delete:
summary: "Delete user"
......@@ -421,10 +449,10 @@ paths:
404:
description: "User not found"
security:
- drip_auth:
- auth:
- "admin:User"
securityDefinitions:
drip_auth:
auth:
type: "oauth2"
authorizationUrl: "http://localhost/oauth/dialog"
flow: "implicit"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment