summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-28 10:26:34 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-28 10:26:34 +0530
commit9b879734d46b1c83fbc9f411b31290a4d4d13566 (patch)
tree2846bc28b6c1bf04a49cd51642c72f3d555c198c
parent2ec0e9edf465dd08a461728875e06c0cb58099e3 (diff)
Casablanca: AAI get list ignore empty list
Issue-ID: CLI-122 Change-Id: I614ed22ef2bbc3884a1cfde108af290c2191da2a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-casablanca.yaml1
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema-casablanca.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-casablanca.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-casablanca.yaml
index a810fbd5..997cd951 100644
--- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-casablanca.yaml
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-casablanca.yaml
@@ -41,6 +41,7 @@ http:
method: GET
success_codes:
- 200
+ - 404
result_map:
name: $b{customer.[*].global-customer-id}
resource-version: $b{customer.[*].resource-version}
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema-casablanca.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema-casablanca.yaml
index 0beb8625..0993fcd7 100644
--- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema-casablanca.yaml
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-schema/service-type/service-type-list-schema-casablanca.yaml
@@ -45,6 +45,7 @@ http:
method: GET
success_codes:
- 200
+ - 404
result_map:
service-type: $b{service.[*].service-description}
service-type-id: $b{service.[*].service-id}