aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-28 09:04:42 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-28 09:04:42 +0530
commita0b29ac3d64f0f5edc3fb3db2eb1de3a1ae0a0b3 (patch)
tree07e61d0268946a376ee4e687ed5676995747f74d /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
parentba28bb027a2a9caceb4bc9cd93610d133a8f1dce (diff)
Casablanca: AAI customer-list
Issue-ID: CLI-122 Change-Id: I44b8a06f0e69a80d59e056902f2e2c2384fd146b Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample')
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-moco.json30
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-sample.yaml9
2 files changed, 39 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-moco.json
new file mode 100644
index 00000000..671696f6
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-moco.json
@@ -0,0 +1,30 @@
+[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/aai/v13/business/customers",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-c0c84e34-0ea1-4e2c-b91e-5e12838530bf",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "customer" : [ {
+ "global-customer-id" : "Customer1",
+ "subscriber-name" : "Customer1",
+ "subscriber-type" : "BSS",
+ "resource-version" : "1535520279641"
+ }, {
+ "global-customer-id" : "generic",
+ "subscriber-name" : "generic",
+ "subscriber-type" : "BSS",
+ "resource-version" : "1535628858377"
+ } ]
+ }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-sample.yaml
new file mode 100644
index 00000000..a6d35a4a
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: customer-list
+version: onap-casablanca
+samples:
+ sample1:
+ name: customer-list
+ input: -d
+ moco: customer-list-schema-casablanca-moco.json
+ output: |