From e83cfced3bf918edbee40593f883bfc59609d869 Mon Sep 17 00:00:00 2001 From: Ha Van Tu Date: Thu, 7 Apr 2016 16:35:48 +0700 Subject: [PATCH] Unify value of "xsd:boolean" in Image API This patch makes values of "xsd:boolean" in Image API v1 and v2 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 Change-Id: If81c54132ca42ff1b51096d767ac573ee87d149f Partial-Bug: #1562766 --- .../src/wadls/image-api/src/v1/wadl/images-v1.wadl | 6 +++--- api-ref/src/wadls/image-api/src/v2/common.ent | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api-ref/src/wadls/image-api/src/v1/wadl/images-v1.wadl b/api-ref/src/wadls/image-api/src/v1/wadl/images-v1.wadl index d626bd73d..1d1d711d1 100644 --- a/api-ref/src/wadls/image-api/src/v1/wadl/images-v1.wadl +++ b/api-ref/src/wadls/image-api/src/v1/wadl/images-v1.wadl @@ -250,15 +250,15 @@ X-Image-Meta-Checksum → 8a40c862b5735975d82605c1dd395796 X-Image-Meta-Container_format → aki X-Image-Meta-Created_at → 2016-01-06T03:22:20.000000 -X-Image-Meta-Deleted → False +X-Image-Meta-Deleted → false X-Image-Meta-Disk_format → aki X-Image-Meta-Id → 03bc0a8b-659c-4de9-b6bd-13c6e86e6455 -X-Image-Meta-Is_public → True +X-Image-Meta-Is_public → true X-Image-Meta-Min_disk → 0 X-Image-Meta-Min_ram → 0 X-Image-Meta-Name → cirros-0.3.4-x86_64-uec-kernel X-Image-Meta-Owner → 13cc6052265b41529e2fd0fc461fa8ef -X-Image-Meta-Protected → False +X-Image-Meta-Protected → false X-Image-Meta-Size → 4979632 X-Image-Meta-Status → deactivated X-Image-Meta-Updated_at → 2016-02-25T03:02:05.000000 diff --git a/api-ref/src/wadls/image-api/src/v2/common.ent b/api-ref/src/wadls/image-api/src/v2/common.ent index 34cb64b20..5c2b0c76f 100644 --- a/api-ref/src/wadls/image-api/src/v2/common.ent +++ b/api-ref/src/wadls/image-api/src/v2/common.ent @@ -1229,7 +1229,7 @@ The URL to access the image file kept in external store. It appears when you set the show_image_direct_url option - to True in the Image service's configuration + to true in the Image service's configuration file. @@ -1365,7 +1365,7 @@ A list of URLs to access the image file in external store. This list appears if the show_multiple_locations option is set to - True in the Image service's configuration file. + true in the Image service's configuration file. '> @@ -1661,8 +1661,8 @@ - Image protection for deletion. A valid value is True or - False. Default is False. + Image protection for deletion. A valid value is true or + false. Default is false. '> @@ -1672,8 +1672,8 @@ - Namespace protection for deletion. A valid value is True or - False. Default is False. + Namespace protection for deletion. A valid value is true or + false. Default is false. '>