diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-08-30 17:21:57 +0530 |
---|---|---|
committer | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2017-08-30 12:37:27 +0000 |
commit | f548d5e40b755bc9f6537dae66c161d2f0262b17 (patch) | |
tree | ecc6a3d321ffe2e130403b59ba4267064b501a0a /plugins/aai/src/main/resources/onap-cli-schema/cloud-region | |
parent | b5090c9d0808ffc44281ca250ef528d79030dce8 (diff) |
Update the customer commands for 1.1
CLI-13
Change-Id: I1e95e2e29bec719cf25931e1468f92136072577e
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/aai/src/main/resources/onap-cli-schema/cloud-region')
-rw-r--r-- | plugins/aai/src/main/resources/onap-cli-schema/cloud-region/cloud-list-schema-1.1.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/cloud-region/cloud-list-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/cloud-region/cloud-list-schema-1.1.yaml index 511e090a..63a90de7 100644 --- a/plugins/aai/src/main/resources/onap-cli-schema/cloud-region/cloud-list-schema-1.1.yaml +++ b/plugins/aai/src/main/resources/onap-cli-schema/cloud-region/cloud-list-schema-1.1.yaml @@ -4,7 +4,7 @@ description: List the configured clouds and Onap service subscriptions version: onap-1.1 service: name: aai - version: v8 + version: v11 auth: basic mode: direct @@ -35,6 +35,10 @@ results: description: Onap cloud service scope: long type: string + - name: resource-version + description: Onap cloud resource version + scope: short + type: string http: request: uri: /aai/v11/cloud-infrastructure/cloud-regions @@ -44,6 +48,7 @@ http: result_map: cloud: $b{cloud-region.[*].cloud-owner} region: $b{cloud-region.[*].cloud-region-id} + resource-version: $b{cloud-region.[*].resource-version} tenant: $b{cloud-region.[*].tenants.tenant.[*].tenant-name} tenant-id: $b{cloud-region.[*].tenants.tenant.[*].tenant-id} customer: $b{cloud-region.[*].tenants.tenant.[*].relationship-list.relationship.[*].relationship-data.[?(@.relationship-key == 'customer.global-customer-id')].relationship-value} |