summaryrefslogtreecommitdiff
path: root/api-ref/source/v1
diff options
context:
space:
mode:
authorsharat.sharma <sharat.sharma@nectechnologies.in>2016-05-11 13:36:11 +0530
committersharat.sharma <sharat.sharma@nectechnologies.in>2016-05-11 13:36:11 +0530
commit9ccb0946da5b9654a8a1cb18506c70b362b93ecf (patch)
tree33a12fd0ae07822835b9535a58377b5d2b0e1ec1 /api-ref/source/v1
parentef47b4cf5c1dd7d5bb4d554f9e949807330885d8 (diff)
downloadheat-9ccb0946da5b9654a8a1cb18506c70b362b93ecf.tar.gz
Adding two parameters into Software configuration
This patch added two parameter: software_config and software_deployments. "software_config" add into "Create configuration" and "Show configuration details". "software_deployments" parameter add into "Show deployment details", "Update deployment" and "Create deployment". Change-Id: Iee5cb9affb5dd88cf8769bea20ff3934fcd43b07 Closes-Bug: #1567193
Diffstat (limited to 'api-ref/source/v1')
-rw-r--r--api-ref/source/v1/parameters.yaml12
-rw-r--r--api-ref/source/v1/software-config.inc10
2 files changed, 17 insertions, 5 deletions
diff --git a/api-ref/source/v1/parameters.yaml b/api-ref/source/v1/parameters.yaml
index 9f8b42c1d..e97359e4b 100644
--- a/api-ref/source/v1/parameters.yaml
+++ b/api-ref/source/v1/parameters.yaml
@@ -1221,6 +1221,18 @@ snapshots:
in: body
required: true
type: array
+software_config:
+ description: |
+ The ``software_config`` object.
+ in: body
+ required: true
+ type: object
+software_deployment:
+ description: |
+ The ``software_deployment`` object.
+ in: body
+ required: true
+ type: object
stack:
description: |
The ``stack`` object.
diff --git a/api-ref/source/v1/software-config.inc b/api-ref/source/v1/software-config.inc
index e79cc5d3c..f294e488c 100644
--- a/api-ref/source/v1/software-config.inc
+++ b/api-ref/source/v1/software-config.inc
@@ -106,7 +106,7 @@ Response Parameters
- action: action
- status_reason: status_reason
- id: id
-
+ - software_deployment: software_deployment
Response Example
@@ -198,7 +198,7 @@ Response Parameters
- creation_time: creation_time
- config: config
- options: options
-
+ - software_config: software_config
Response Example
@@ -249,7 +249,7 @@ Response Parameters
- action: action
- status_reason: status_reason
- id: id
-
+ - software_deployment: software_deployment
Response Example
@@ -309,7 +309,7 @@ Response Parameters
- action: action
- status_reason: status_reason
- id: id
-
+ - software_deployment: software_deployment
Response Example
@@ -377,7 +377,7 @@ Response Parameters
- creation_time: creation_time
- config: config
- options: options
-
+ - software_config: software_config
Response Example