From ced885d73c3a6c9c27967f022e5f3da191c08ff0 Mon Sep 17 00:00:00 2001 From: Ha Van Tu Date: Thu, 7 Apr 2016 16:19:06 +0700 Subject: [PATCH] Unify value of "xsd:boolean" in Clustering API This patch makes values of "xsd:boolean" in Clustering API to be uniform. Currently, the values of "xsd:boolean" is some times presented by True or true. As my knowledge, the value should be true. Reference link: http://stackoverflow.com/questions/1308491/xsdboolean-element-typed -accept-true-but-not-true-how-can-i-make-it-accept Partial-Bug: #1562766 Change-Id: I24edf1e4087852d80d115c66c0908d499de56ad3 --- api-ref/src/wadls/clustering-api/src/v1/common.ent | 4 ++-- .../src/v1/samples/policy-type-show-response.json | 4 ++-- .../src/wadls/clustering-api/src/v1/wadl/clustering-api.wadl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api-ref/src/wadls/clustering-api/src/v1/common.ent b/api-ref/src/wadls/clustering-api/src/v1/common.ent index 682ce3feb..64cdea0ba 100644 --- a/api-ref/src/wadls/clustering-api/src/v1/common.ent +++ b/api-ref/src/wadls/clustering-api/src/v1/common.ent @@ -9,8 +9,8 @@ If you are an administrative user and you set this value to - True, the call returns all objects from all projects. - Default is False, which returns only objects in the + true, the call returns all objects from all projects. + Default is false, which returns only objects in the current project. diff --git a/api-ref/src/wadls/clustering-api/src/v1/samples/policy-type-show-response.json b/api-ref/src/wadls/clustering-api/src/v1/samples/policy-type-show-response.json index 90ea4f76c..1691736f6 100644 --- a/api-ref/src/wadls/clustering-api/src/v1/samples/policy-type-show-response.json +++ b/api-ref/src/wadls/clustering-api/src/v1/samples/policy-type-show-response.json @@ -21,7 +21,7 @@ }, "destroy_after_deletion": { "default": true, - "description": "Whether a node should be completely destroyed after deletion. Default to True", + "description": "Whether a node should be completely destroyed after deletion. Default to true", "required": false, "type": "Boolean" }, @@ -33,7 +33,7 @@ }, "reduce_desired_capacity": { "default": false, - "description": "Whether the desired capacity of the cluster should be reduced along the deletion. Default to False.", + "description": "Whether the desired capacity of the cluster should be reduced along the deletion. Default to false.", "required": false, "type": "Boolean" } diff --git a/api-ref/src/wadls/clustering-api/src/v1/wadl/clustering-api.wadl b/api-ref/src/wadls/clustering-api/src/v1/wadl/clustering-api.wadl index ae83fcbf8..e8bedf85f 100644 --- a/api-ref/src/wadls/clustering-api/src/v1/wadl/clustering-api.wadl +++ b/api-ref/src/wadls/clustering-api/src/v1/wadl/clustering-api.wadl @@ -1145,7 +1145,7 @@ Indicates whether the node details are returned. - Default is False. + Default is false.