DCAE Dashboard API v1.4.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
API to manage deployment of microservices using blueprints. HTTP Basic authorization schema is required to authenticate users for all the resource endpoints. The client sends HTTP requests with an Authorization header containing base64-encoded username:password string.
Base URLs:
Email: Support
Authentication
- HTTP Authentication, scheme: basic
Blueprints
Query blueprint information
List Blueprints
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints', params={
}, headers = headers)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints \
-H 'Accept: application/json'
GET /blueprints
Find all blueprint templates
Fetch the blueprints data from inventory
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
page | query | string | false | page number |
size | query | string | false | page size |
filters | query | string | false | search filters, {"owner":"user1", "name":"user1-bp1","id":"2334-343"} |
Example responses
200 Response
{
"totalItems": 0,
"totalPages": 0,
"items": [
{
"owner": "string",
"typeName": "string",
"application": "string",
"component": "string",
"typeVersion": 0,
"typeId": "string",
"created": "2020-08-20T00:20:10Z"
}
]
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | List of DCAEServiceType objects |
InlineResponse200 |
400 | Bad Request | Invalid tag value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
200 | Link | string | pagination header | |
401 | WWW_Authenticate | string | none |
Create Blueprint
Code samples
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints', params={
}, headers = headers)
print r.json()
# You can also use wget
curl -X POST https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /blueprints
Create/Upload a new blueprint template
Upload a new blueprint template into inventory
Body parameter
{
"owner": "string",
"typeName": "string",
"typeVersion": 0,
"blueprintTemplate": "string",
"application": "string",
"component": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | DCAEServiceTypeRequest | true | upload blueprint request to inventory |
Example responses
201 Response
{
"totalItems": 0,
"totalPages": 0,
"items": [
{
"owner": "string",
"typeName": "string",
"application": "string",
"component": "string",
"typeVersion": 0,
"typeId": "string",
"created": "2020-08-20T00:20:10Z"
}
]
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
201 | Created | A DCAEServiceType object |
InlineResponse200 |
400 | Bad Request | Invalid tag value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Delete Blueprint
Code samples
import requests
r = requests.delete('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints/{typeId}', params={
)
print r.json()
# You can also use wget
curl -X DELETE https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints/{typeId}
DELETE /blueprints/{typeId}
Delete a blueprint template
Delete a blueprint template from inventory
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
typeId | path | string | true | ID of blueprint to delete |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | successful operation | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Get Deployments for a blueprint
Code samples
import requests
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints/{typeId}/services', params={
)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/blueprints/{typeId}/services
GET /blueprints/{typeId}/services
Get Services mapped to a blueprint template
Get Deployment References existing for a blueprint
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
typeId | path | string | true | ID of blueprint to query |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Deployments
Manage deployments
List Deployments
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments', params={
'page': '0', 'size': '0'
}, headers = headers)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments?page=0&size=0 \
-H 'Accept: application/json'
GET /deployments
List all Deployments
Query all deployments or Service objects from Inventory
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
page | query | integer | true | pagination control - page number |
size | query | integer | true | pagination control - page size |
filters | query | string | false | search filters, {"_include":"id", "tenant":"onap-tenant-1","serviceId":"dcae"} |
Example responses
200 Response
[
{
"id": "string",
"blueprint_id": "string",
"created_at": "2020-08-20T00:20:10Z",
"updated_at": "2020-08-20T00:20:10Z",
"tenant_name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
400 | Bad Request | Invalid status value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Deployment] | false | none | none |
» id | string | false | none | cloudify deployment name |
» blueprint_id | string | false | none | cloudify blueprint name |
» created_at | string(date-time) | false | none | none |
» updated_at | string(date-time) | false | none | none |
» tenant_name | string | false | none | cloudify tenant name |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
200 | Link | string | pagination header | |
401 | WWW_Authenticate | string | none |
Create Deployment
Code samples
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments', params={
}, headers = headers)
print r.json()
# You can also use wget
curl -X POST https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /deployments
Initiate a deployment (install) operation for an application or service
Controller sends the blueprint and required inputs to Deployment Handler microservice to initiate the deployment process
Body parameter
{
"component": "string",
"tag": "string",
"blueprintId": "string",
"blueprintName": "string",
"blueprintVersion": 0,
"tenant": "string",
"inputs": {}
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | DeploymentInput | true | Inputs to initiate a deployment: blueprint ID from inventory, Cloudify tenant name, blueprint inputs |
Example responses
201 Response
{
"deployment_id": "string",
"links": {
"self": "string",
"outcome": "string",
"status": "string"
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
201 | Created | successful operation | DeploymentResource |
401 | Unauthorized | Authentication information is missing or invalid | None |
405 | Method Not Allowed | Invalid input | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Delete Deployment
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}', params={
'tenant': 'string'
}, headers = headers)
print r.json()
# You can also use wget
curl -X DELETE https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}?tenant=string \
-H 'Accept: application/json'
DELETE /deployments/{deploymentId}
Initiate an uninstall operation for an application or service
Controller sends the deployment reference to Deployment Handler microservice to initiate the uninstall process
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
deploymentId | path | string | true | ID of deployment to query |
tenant | query | string | true | Cloudify Tenant name |
Example responses
204 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | successful operation | string |
400 | Bad Request | Invalid status value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Upgrade_Rollback Deployment
Code samples
import requests
headers = {
'Content-Type': 'application/json'
}
r = requests.put('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}', params={
}, headers = headers)
print r.json()
# You can also use wget
curl -X PUT https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId} \
-H 'Content-Type: application/json'
PUT /deployments/{deploymentId}
Upgrade or Rollback an existing deployment using Cloudify Helm plugin
Upgrade or Rollback an existing deployment using Cloudify Helm plugin
Body parameter
{
"chartVersion": "string",
"chartRepo": "string",
"config_url": "string",
"config_format": "string",
"tenant": "string",
"workflow": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
deploymentId | path | string | true | ID of deployment in context |
body | body | CloudifyDeploymentUpgradeRequest | true | Cloudify Execution Request object that has parameters to start either an upgrade or a rollback execution workflow |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
400 | Bad Request | Invalid ID supplied | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
404 | Not Found | Deployment not found | None |
405 | Method Not Allowed | Validation exception | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Get Deployment
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}', params={
}, headers = headers)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId} \
-H 'Accept: application/json'
GET /deployments/{deploymentId}
Get a Deployment
Query a deployment or Service object from Inventory
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
deploymentId | path | string | true | ID of deployment to query |
Example responses
200 Response
[
{
"id": "string",
"blueprint_id": "string",
"created_at": "2020-08-20T00:20:10Z",
"updated_at": "2020-08-20T00:20:10Z",
"tenant_name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
400 | Bad Request | Invalid status value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Deployment] | false | none | none |
» id | string | false | none | cloudify deployment name |
» blueprint_id | string | false | none | cloudify blueprint name |
» created_at | string(date-time) | false | none | none |
» updated_at | string(date-time) | false | none | none |
» tenant_name | string | false | none | cloudify tenant name |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Deployment Status
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}/executions', params={
'tenant': 'string'
}, headers = headers)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}/executions?tenant=string \
-H 'Accept: application/json'
GET /deployments/{deploymentId}/executions
Deployment execution status
Query deployment workflow execution status
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
deploymentId | path | string | true | ID of deployment to query execution status |
tenant | query | string | true | tenant name associated with the deployment |
Example responses
200 Response
[
{
"created_at": "string",
"deployment_id": "string",
"id": "string",
"status": "string",
"workflow_id": "string",
"tenant_name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
400 | Bad Request | Invalid status value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [execution] | false | none | none |
» created_at | string | false | none | The time the execution was queued at |
» deployment_id | string | false | none | The id of the deployment the execution is in the context of |
» id | string | false | none | A unique identifier for the execution |
» status | string | false | none | The executions status |
» workflow_id | string | false | none | The id/name of the workflow the execution is of |
» tenant_name | string | false | none | Cloudify tenant name where the deployment was done |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Deployment health
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}/health', params={
}, headers = headers)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}/health \
-H 'Accept: application/json'
GET /deployments/{deploymentId}/health
Deployment health status
Query consul for service health using deployment ID filter
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
deploymentId | path | string | true | ID of deployment to query service health |
Example responses
200 Response
{
"node": "string",
"checkID": "string",
"name": "string",
"status": "string",
"serviceID": "string",
"serviceName": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | serviceHealth |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Deployment Inputs
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}/inputs', params={
'tenant': 'string'
}, headers = headers)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/deployments/{deploymentId}/inputs?tenant=string \
-H 'Accept: application/json'
GET /deployments/{deploymentId}/inputs
Deployment inputs
Get blueprint inputs used to create deployment
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
deploymentId | path | string | true | ID of deployment to query execution status |
tenant | query | string | true | tenant name associated with the deployment |
Example responses
200 Response
{}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
400 | Bad Request | Invalid status value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Schema
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Tenants
Query Cloudify Tenants
List Tenants
Code samples
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/tenants', params={
}, headers = headers)
print r.json()
# You can also use wget
curl -X GET https://dcae-dashboard:8080/ccsdk-app/nb-api/v2/tenants \
-H 'Accept: application/json'
GET /tenants
Lists all Cloudify Tenants
Query all Tenant names from Cloudify
Example responses
200 Response
[
{
"name": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | successful operation | Inline |
400 | Bad Request | Invalid status value | None |
401 | Unauthorized | Authentication information is missing or invalid | None |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [Tenant] | false | none | none |
» name | string | false | none | cloudify tenant name |
Response Headers
Status | Header | Type | Format | Description |
---|---|---|---|---|
401 | WWW_Authenticate | string | none |
Schemas
Tenant
{
"name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string | false | none | cloudify tenant name |
InlineResponse200
{
"totalItems": 0,
"totalPages": 0,
"items": [
{
"owner": "string",
"typeName": "string",
"application": "string",
"component": "string",
"typeVersion": 0,
"typeId": "string",
"created": "2020-08-20T00:20:10Z"
}
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
totalItems | integer(int32) | false | none | none |
totalPages | integer(int32) | false | none | none |
items | [DCAEServiceTypeSummary] | false | none | none |
InlineResponse200Links
{
"previousLink": {
"title": "string",
"rel": "string",
"uri": "http://example.com",
"uriBuilder": {},
"rels": [
"string"
],
"params": {
"property1": "string",
"property2": "string"
},
"type": "string"
},
"nextLink": {
"title": "string",
"rel": "string",
"uri": "http://example.com",
"uriBuilder": {},
"rels": [
"string"
],
"params": {
"property1": "string",
"property2": "string"
},
"type": "string"
}
}
Pagination links
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
previousLink | Link | false | none | none |
nextLink | Link | false | none | none |
ApiResponseMessage
{
"code": 0,
"type": "string",
"message": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
code | integer(int32) | false | none | none |
type | string | false | none | none |
message | string | false | none | none |
Deployment
{
"id": "string",
"blueprint_id": "string",
"created_at": "2020-08-20T00:20:10Z",
"updated_at": "2020-08-20T00:20:10Z",
"tenant_name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string | false | none | cloudify deployment name |
blueprint_id | string | false | none | cloudify blueprint name |
created_at | string(date-time) | false | none | none |
updated_at | string(date-time) | false | none | none |
tenant_name | string | false | none | cloudify tenant name |
InlineResponse2001
{
"links": {
"previousLink": {
"title": "string",
"rel": "string",
"uri": "http://example.com",
"uriBuilder": {},
"rels": [
"string"
],
"params": {
"property1": "string",
"property2": "string"
},
"type": "string"
},
"nextLink": {
"title": "string",
"rel": "string",
"uri": "http://example.com",
"uriBuilder": {},
"rels": [
"string"
],
"params": {
"property1": "string",
"property2": "string"
},
"type": "string"
}
},
"totalCount": 0,
"items": [
{
"id": "string",
"blueprint_id": "string",
"created_at": "2020-08-20T00:20:10Z",
"updated_at": "2020-08-20T00:20:10Z",
"tenant_name": "string"
}
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
links | InlineResponse200Links | false | none | Pagination links |
totalCount | integer(int32) | false | none | none |
items | [Deployment] | false | none | none |
UriBuilder
{}
Properties
None
Link
{
"title": "string",
"rel": "string",
"uri": "http://example.com",
"uriBuilder": {},
"rels": [
"string"
],
"params": {
"property1": "string",
"property2": "string"
},
"type": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
title | string | false | none | none |
rel | string | false | none | none |
uri | string(uri) | false | none | none |
uriBuilder | UriBuilder | false | none | none |
rels | [string] | false | none | none |
params | object | false | none | none |
» additionalProperties | string | false | none | none |
type | string | false | none | none |
DCAEServiceComponent
{
"componentId": "string",
"componentLink": {
"title": "string",
"rel": "string",
"uri": "http://example.com",
"uriBuilder": {},
"rels": [
"string"
],
"params": {
"property1": "string",
"property2": "string"
},
"type": "string"
},
"created": "2020-08-20T00:20:10Z",
"modified": "2020-08-20T00:20:10Z",
"componentType": "string",
"componentSource": "DCAEController",
"status": "string",
"location": "string",
"shareable": 0
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
componentId | string | true | none | The id format is unique to the source |
componentLink | Link | true | none | Link to the underlying resource of this component |
created | string(date-time) | true | none | none |
modified | string(date-time) | true | none | none |
componentType | string | true | none | none |
componentSource | string | true | none | Specifies the name of the underying source service that is responsible for this components |
status | string | false | none | none |
location | string | false | none | Location information of the component |
shareable | integer(int32) | true | none | Used to determine if this component can be shared amongst different DCAE services |
Enumerated Values
Property | Value |
---|---|
componentSource | DCAEController |
componentSource | DMaaPController |
DCAEServiceTypeRequest
{
"owner": "string",
"typeName": "string",
"typeVersion": 0,
"blueprintTemplate": "string",
"application": "string",
"component": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
owner | string | true | none | none |
typeName | string | true | none | Descriptive name for this DCAE service type |
typeVersion | integer(int32) | true | none | Version number for this DCAE service type |
blueprintTemplate | string | true | none | String representation of a Cloudify blueprint with unbound variables |
application | string | false | none | controller application name |
component | string | true | none | onboarding component name e.g. dcae |
DCAEServiceType
{
"owner": "string",
"typeName": "string",
"typeVersion": 0,
"blueprintTemplate": "string",
"serviceIds": [
"string"
],
"vnfTypes": [
"string"
],
"serviceLocations": [
"string"
],
"asdcServiceId": "string",
"asdcResourceId": "string",
"asdcServiceURL": "string",
"typeId": "string",
"selfLink": {
"title": "string",
"rel": "string",
"uri": "http://example.com",
"uriBuilder": {},
"rels": [
"string"
],
"params": {
"property1": "string",
"property2": "string"
},
"type": "string"
},
"created": "2020-08-20T00:20:10Z",
"deactivated": "2020-08-20T00:20:10Z"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
owner | string | true | none | none |
typeName | string | true | none | Descriptive name for this DCAE service type |
typeVersion | integer(int32) | true | none | Version number for this DCAE service type |
blueprintTemplate | string | true | none | String representation of a Cloudify blueprint with unbound variables |
serviceIds | [string] | false | none | List of service ids that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service id. |
vnfTypes | [string] | false | none | none |
serviceLocations | [string] | false | none | List of service locations that are used to associate with DCAE service type. DCAE service types with this propery as null or empty means them apply for every service location. |
asdcServiceId | string | false | none | Id of service this DCAE service type is associated with. Value source is from ASDC's notification event's field serviceInvariantUUID . |
asdcResourceId | string | false | none | Id of vf/vnf instance this DCAE service type is associated with. Value source is from ASDC's notification event's field resourceInvariantUUID . |
asdcServiceURL | string | false | none | URL to the ASDC service model |
typeId | string | true | none | Unique identifier for this DCAE service type |
selfLink | Link | true | none | Link to self where the Link.title is typeName |
created | string(date-time) | true | none | Created timestamp for this DCAE service type in epoch time |
deactivated | string(date-time) | false | none | Deactivated timestamp for this DCAE service type in epoch time |
DCAEServiceTypeSummary
{
"owner": "string",
"typeName": "string",
"application": "string",
"component": "string",
"typeVersion": 0,
"typeId": "string",
"created": "2020-08-20T00:20:10Z"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
owner | string | true | none | none |
typeName | string | true | none | Descriptive name for this DCAE service type |
application | string | true | none | application name |
component | string | true | none | component name |
typeVersion | integer(int32) | true | none | Version number for this DCAE service type |
typeId | string | true | none | Unique identifier for this DCAE service type |
created | string(date-time) | true | none | Created timestamp for this DCAE service type in epoch time |
CloudifyDeploymentUpgradeRequest
{
"chartVersion": "string",
"chartRepo": "string",
"config_url": "string",
"config_format": "string",
"tenant": "string",
"workflow": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
chartVersion | string | true | none | Helm package version used for install |
chartRepo | string | true | none | Helm repository URL for the chart |
config_url | string | true | none | Helm repository URL for the chart values to update |
config_format | string | true | none | yaml format or json format |
tenant | string | true | none | cloudify tenant name for the deployment upgrade |
workflow | string | true | none | input values are upgrade or rollback - helm upgrade workflow or helm rollback workflow |
DeploymentInput
{
"component": "string",
"tag": "string",
"blueprintId": "string",
"blueprintName": "string",
"blueprintVersion": 0,
"tenant": "string",
"inputs": {}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
component | string | true | none | component or namespace for the service |
tag | string | true | none | unique tag to identify the deployment. A non-unique value results in name conflict error |
blueprintId | string | true | none | typeId from inventory, a unique Id for the blueprint, this can be replaced with blueprintName and blueprintVersion |
blueprintName | string | false | none | Descriptive name for this DCAE service type |
blueprintVersion | integer(int32) | false | none | Version number for this DCAE service type, optional. Defaults to 1. |
tenant | string | true | none | cloudify tenant name |
inputs | object | true | none | JSON object containing the input parameter names and values |
deploymentInputs
{}
Properties
None
serviceHealth
{
"node": "string",
"checkID": "string",
"name": "string",
"status": "string",
"serviceID": "string",
"serviceName": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
node | string | false | none | The node where service is deployed |
checkID | string | false | none | A unique identifier for the service health check |
name | string | false | none | A unique name for this service health check |
status | string | false | none | Health check status |
serviceID | string | false | none | An identifier containing combination of consul registration ID and consul service name |
serviceName | string | false | none | A unique consul service name |
execution
{
"created_at": "string",
"deployment_id": "string",
"id": "string",
"status": "string",
"workflow_id": "string",
"tenant_name": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
created_at | string | false | none | The time the execution was queued at |
deployment_id | string | false | none | The id of the deployment the execution is in the context of |
id | string | false | none | A unique identifier for the execution |
status | string | false | none | The executions status |
workflow_id | string | false | none | The id/name of the workflow the execution is of |
tenant_name | string | false | none | Cloudify tenant name where the deployment was done |
DeploymentResourceLinks
{
"self": "string",
"outcome": "string",
"status": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
self | string | false | none | Link to retrieve information about the service being deployed |
outcome | string | false | none | Link to retrieve information about deployment outcome |
status | string | false | none | Link to retrieve information about the status of the installation workflow |
DeploymentResource
{
"deployment_id": "string",
"links": {
"self": "string",
"outcome": "string",
"status": "string"
}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
deployment_id | string | false | none | unique ID for the deployment resource |
links | DeploymentResourceLinks | false | none | Links that the API client can access |