Commit d6898999 authored by Spiros Koulouzis's avatar Spiros Koulouzis

Merge branch 'DRIP_3.0' of https://github.com/skoulouzis/DRIP into DRIP_3.0

parents f8f59806 1573a94f
...@@ -50,6 +50,8 @@ paths: ...@@ -50,6 +50,8 @@ paths:
description: "successful operation" description: "successful operation"
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/ToscaTemplate.yml#/ToscaTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/ToscaTemplate.yml#/ToscaTemplate"
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template: /tosca_template/{id}/topology_template:
...@@ -69,6 +71,8 @@ paths: ...@@ -69,6 +71,8 @@ paths:
description: "successful operation" description: "successful operation"
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml#/TopologyTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/TopologyTemplate.yml#/TopologyTemplate"
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates: /tosca_template/{id}/topology_template/node_templates:
...@@ -102,6 +106,8 @@ paths: ...@@ -102,6 +106,8 @@ paths:
type: array type: array
items: items:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/type_name: /tosca_template/{id}/topology_template/node_templates/type_name:
...@@ -118,8 +124,8 @@ paths: ...@@ -118,8 +124,8 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
description: "" description: "the NodeTemplate"
required: false required: false
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
...@@ -132,6 +138,8 @@ paths: ...@@ -132,6 +138,8 @@ paths:
description: "successful operation" description: "successful operation"
schema: schema:
type: "string" type: "string"
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/requirements: /tosca_template/{id}/topology_template/node_templates/requirements:
...@@ -147,7 +155,7 @@ paths: ...@@ -147,7 +155,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
description: "" description: ""
required: false required: false
schema: schema:
...@@ -163,6 +171,8 @@ paths: ...@@ -163,6 +171,8 @@ paths:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/parent_type_name: /tosca_template/{id}/topology_template/node_templates/parent_type_name:
...@@ -179,7 +189,7 @@ paths: ...@@ -179,7 +189,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
description: "" description: ""
required: false required: false
schema: schema:
...@@ -193,6 +203,8 @@ paths: ...@@ -193,6 +203,8 @@ paths:
description: "successful operation" description: "successful operation"
schema: schema:
type: string type: string
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/ancestors_requirements: /tosca_template/{id}/topology_template/node_templates/ancestors_requirements:
...@@ -209,7 +221,7 @@ paths: ...@@ -209,7 +221,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
required: false required: false
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
...@@ -224,6 +236,8 @@ paths: ...@@ -224,6 +236,8 @@ paths:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/ancestors_types: /tosca_template/{id}/topology_template/node_templates/ancestors_types:
...@@ -240,7 +254,7 @@ paths: ...@@ -240,7 +254,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
required: false required: false
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
...@@ -255,6 +269,8 @@ paths: ...@@ -255,6 +269,8 @@ paths:
type: array type: array
items: items:
type: string type: string
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/ancestors_properties: /tosca_template/{id}/topology_template/node_templates/ancestors_properties:
...@@ -271,7 +287,7 @@ paths: ...@@ -271,7 +287,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
required: false required: false
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
...@@ -288,6 +304,8 @@ paths: ...@@ -288,6 +304,8 @@ paths:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/properties: /tosca_template/{id}/topology_template/node_templates/properties:
...@@ -304,7 +322,7 @@ paths: ...@@ -304,7 +322,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
required: false required: false
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
...@@ -319,6 +337,8 @@ paths: ...@@ -319,6 +337,8 @@ paths:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
put: put:
...@@ -352,6 +372,8 @@ paths: ...@@ -352,6 +372,8 @@ paths:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/outputs: /tosca_template/{id}/topology_template/node_templates/outputs:
...@@ -368,7 +390,7 @@ paths: ...@@ -368,7 +390,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
required: false required: false
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
...@@ -383,13 +405,15 @@ paths: ...@@ -383,13 +405,15 @@ paths:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/topology_template/node_templates/related: /tosca_template/{id}/topology_template/node_templates/related:
get: get:
summary: "" summary: ""
description: "s" description: "s"
operationId: "getRelatedNode" operationId: "getRelatedNodes"
produces: produces:
- "application/json" - "application/json"
parameters: parameters:
...@@ -399,7 +423,7 @@ paths: ...@@ -399,7 +423,7 @@ paths:
required: true required: true
type: "string" type: "string"
- in: "body" - in: "body"
name: "body" name: "nodeTemplate"
required: false required: false
schema: schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
...@@ -414,12 +438,14 @@ paths: ...@@ -414,12 +438,14 @@ paths:
type: array type: array
items: items:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate" $ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
/tosca_template/{id}/interface_types: /tosca_template/{id}/interface_types:
get: get:
summary: "" summary: ""
description: "s" description: "returns the interface types"
operationId: "getInterfaceTypes" operationId: "getInterfaceTypes"
produces: produces:
- "application/json" - "application/json"
...@@ -429,14 +455,10 @@ paths: ...@@ -429,14 +455,10 @@ paths:
description: "ID of topolog template uplodaed" description: "ID of topolog template uplodaed"
required: true required: true
type: "string" type: "string"
- in: "body"
name: "body"
required: false
schema:
$ref: "https://raw.githubusercontent.com/skoulouzis/DRIP/DRIP_3.0/openAPI/TOSCA/NodeTemplate.yml#/NodeTemplate"
- in: query - in: query
name: interface_type name: interface_type
type: string type: string
required: false
description: The interface type description: The interface type
responses: responses:
200: 200:
...@@ -447,5 +469,7 @@ paths: ...@@ -447,5 +469,7 @@ paths:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
404:
description: "Not found"
405: 405:
description: "Invalid input" description: "Invalid input"
\ No newline at end of file
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