Commit 6be9e016 authored by Spiros Koulouzis's avatar Spiros Koulouzis

Merge origin/DRIP_3.0 into DRIP_3.0

parents 4f91ee99 a23488e1
......@@ -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: ""
......@@ -453,19 +448,4 @@ paths:
additionalProperties:
type: object
405:
description: "Invalid input"
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
description: "Invalid input"
\ No newline at end of file
......@@ -2,16 +2,16 @@ Credentials:
type: "object"
properties:
protocol:
type: "string"
type: "string"
token_type:
type: "string"
type: "string"
token:
type: "string"
type: "string"
keys:
type: object
additionalProperties:
type: string
type: object
additionalProperties:
type: string
user:
type: "string"
type: "string"
cloud_provider_name:
type: "string"
type: "string"
NodeTemplate:
type: "object"
properties:
name:
type: "string"
type:
type: "string"
requirements:
type: "array"
items:
type: object
additionalProperties:
type: object
artifacts:
type: object
additionalProperties:
type: object
properties:
type: object
additionalProperties:
type: object
interfaces:
type: object
additionalProperties:
type: object
capabilities:
type: object
additionalProperties:
type: object
workflows:
type: object
additionalProperties:
type: object
NodeTemplate:
type: "object"
properties:
derived_from:
type: "string"
properties:
type: object
additionalProperties:
type: object
requirements:
type: "array"
items:
type: object
additionalProperties:
type: object
interfaces:
type: object
additionalProperties:
type: object
capabilities:
type: object
additionalProperties:
type: object
type:
type: "string"
description:
type: "string"
directives:
type: "array"
items:
type: string
attributes:
type: object
additionalProperties:
type: object
artifacts:
type: object
additionalProperties:
type: object
TopologyTemplate:
type: "object"
properties:
description:
type: "string"
inputs:
type: "array"
items:
type: object
additionalProperties:
type: object
policies:
type: "array"
items:
type: object
additionalProperties:
type: object
outputs:
type: "array"
items:
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:
type: object
additionalProperties:
type: object
groups:
type: object
additionalProperties:
type: object
substitution_mappings:
type: object
additionalProperties:
type: object
TopologyTemplate:
type: "object"
properties:
description:
type: "string"
inputs:
type: "array"
items:
type: object
additionalProperties:
type: object
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
outputs:
type: "array"
items:
type: object
additionalProperties:
type: object
groups:
type: object
additionalProperties:
type: object
substitution_mappings:
type: object
additionalProperties:
type: object
policies:
type: "array"
items:
type: object
additionalProperties:
type: object
ToscaTemplate:
type: "object"
properties:
tosca_definitions_version:
type: "string"
tosca_default_namespace:
type: "string"
template_name:
type: "string"
imports:
type: "array"
items:
type: object
additionalProperties:
type: string
repositories:
type: object
additionalProperties:
type: string
dsl_definitions:
type: object
additionalProperties:
type: string
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:
type: object
relationship_templates:
type: object
additionalProperties:
type: object
capability_types:
type: object
additionalProperties:
type: object
artifact_types:
type: object
additionalProperties:
type: object
data_types:
type: object
additionalProperties:
type: object
interface_types:
type: object
additionalProperties:
type: object
policy_types:
type: object
additionalProperties:
type: string
group_types:
type: object
additionalProperties:
type: object
description:
type: "string"
template_author:
type: "string"
ToscaTemplate:
type: "object"
properties:
tosca_definitions_version:
type: "string"
tosca_default_namespace:
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: object
dsl_definitions:
type: object
additionalProperties:
type: object
node_types:
type: object
additionalProperties:
type: object
relationship_types:
type: object
additionalProperties:
type: object
relationship_templates:
type: object
additionalProperties:
type: object
capability_types:
type: object
additionalProperties:
type: object
artifact_types:
type: object
additionalProperties:
type: object
data_types:
type: object
additionalProperties:
type: object
interface_types:
type: object
additionalProperties:
type: object
policy_types:
type: object
additionalProperties:
type: string
group_types:
type: object
additionalProperties:
type: object
repositories:
type: object
additionalProperties:
type: object
......@@ -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
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