From f548d5e40b755bc9f6537dae66c161d2f0262b17 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 30 Aug 2017 17:21:57 +0530 Subject: Update the customer commands for 1.1 CLI-13 Change-Id: I1e95e2e29bec719cf25931e1468f92136072577e Signed-off-by: Kanagaraj Manickam k00365106 --- .../onap-cli-schema/cloud-region/cloud-list-schema-1.1.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins/aai/src/main/resources/onap-cli-schema/cloud-region') 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} -- cgit 1.2.3-korg