From 9ccb0946da5b9654a8a1cb18506c70b362b93ecf Mon Sep 17 00:00:00 2001 From: "sharat.sharma" Date: Wed, 11 May 2016 13:36:11 +0530 Subject: 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 --- api-ref/source/v1/parameters.yaml | 12 ++++++++++++ api-ref/source/v1/software-config.inc | 10 +++++----- 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'api-ref/source') 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 -- cgit v1.2.1