From 11f11fc85edc7b3b060549f5b1516e0805d9b372 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Fri, 28 Sep 2018 10:52:14 +0530 Subject: Casablanca: AAI business Issue-ID: CLI-122 Change-Id: I4dc3cdb431753e1b42b56fd14e59f8311235cad4 Signed-off-by: Kanagaraj Manickam k00365106 --- .../customer-create-schema-casablanca-moco.json | 22 -------------- .../customer-create-schema-casablanca-sample.yaml | 9 ------ .../customer-delete-schema-casablanca-moco.json | 18 ----------- .../customer-delete-schema-casablanca-sample.yaml | 9 ------ .../customer-list-schema-casablanca-moco.json | 35 ---------------------- .../customer-list-schema-casablanca-sample.yaml | 18 ----------- .../customer-show-schema-casablanca-moco.json | 23 -------------- .../customer-show-schema-casablanca-sample.yaml | 14 --------- 8 files changed, 148 deletions(-) delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-moco.json delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-sample.yaml delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-moco.json delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-sample.yaml delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-moco.json delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-sample.yaml delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-moco.json delete mode 100644 products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-sample.yaml (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer') diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-moco.json deleted file mode 100644 index 7ca8a6b7..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-moco.json +++ /dev/null @@ -1,22 +0,0 @@ -[ { - "request" : { - "method" : "put", - "uri" : "/aai/v13/business/customers/customer/mrkanag", - "headers" : { - "Authorization" : "Basic QUFJOkFBSQ==", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "X-TransactionId" : "req-5dc2d328-9cc0-4297-8d6c-2108ee9c9036", - "Content-Type" : "application/json" - }, - "json" : { - "global-customer-id" : "mrkanag", - "subscriber-name" : "mrkanag", - "subscriber-type" : "INFRA" - } - }, - "response" : { - "status" : 201, - "json" : null - } -} ] \ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-sample.yaml deleted file mode 100644 index 5764a36c..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-create-schema-casablanca-sample.yaml +++ /dev/null @@ -1,9 +0,0 @@ -open_cli_sample_version: 1.0 -name: customer-create -version: onap-casablanca -samples: - sample1: - name: customer-create - input: --customer-name mrkanag --subscriber-name mrkanag -d - moco: customer-create-schema-casablanca-moco.json - output: \ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-moco.json deleted file mode 100644 index 5caefa73..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-moco.json +++ /dev/null @@ -1,18 +0,0 @@ -[ { - "request" : { - "method" : "delete", - "uri" : "/aai/v13/business/customers/customer/mrkanag", - "headers" : { - "Authorization" : "Basic QUFJOkFBSQ==", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "X-TransactionId" : "req-491247e3-a6c7-4c4a-8af5-a98c85442307", - "Content-Type" : "application/json" - }, - "json" : null - }, - "response" : { - "status" : 204, - "json" : null - } -} ] \ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-sample.yaml deleted file mode 100644 index 221f2a62..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-sample.yaml +++ /dev/null @@ -1,9 +0,0 @@ -open_cli_sample_version: 1.0 -name: customer-delete -version: onap-casablanca -samples: - sample1: - name: customer-delete - input: --customer-id mrkanag --resource-version 1538105836430 -d - moco: customer-delete-schema-casablanca-moco.json - output: \ 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-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-moco.json deleted file mode 100644 index be7ab31e..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-moco.json +++ /dev/null @@ -1,35 +0,0 @@ -[ { - "request" : { - "method" : "get", - "uri" : "/aai/v13/business/customers", - "headers" : { - "Authorization" : "Basic QUFJOkFBSQ==", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "X-TransactionId" : "req-6e5c21be-a7a2-459d-8765-99f7663cdce9", - "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" - }, { - "global-customer-id" : "mrkanag", - "subscriber-name" : "mrkanag", - "subscriber-type" : "INFRA", - "resource-version" : "1538105836430" - } ] - } - } -} ] \ 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 deleted file mode 100644 index 66520916..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-list-schema-casablanca-sample.yaml +++ /dev/null @@ -1,18 +0,0 @@ -open_cli_sample_version: 1.0 -name: customer-list -version: onap-casablanca -samples: - sample1: - name: customer-list - input: - moco: customer-list-schema-casablanca-moco.json - output: | - +------------+------------------+ - |name |resource-version | - +------------+------------------+ - |Customer1 |1535520279641 | - +------------+------------------+ - |generic |1535628858377 | - +------------+------------------+ - |mrkanag |1538105836430 | - +------------+------------------+ diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-moco.json deleted file mode 100644 index 0919a999..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-moco.json +++ /dev/null @@ -1,23 +0,0 @@ -[ { - "request" : { - "method" : "get", - "uri" : "/aai/v13/business/customers/customer/mrkanag", - "headers" : { - "Authorization" : "Basic QUFJOkFBSQ==", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "X-TransactionId" : "req-04a4060f-b2ac-4cb5-97fb-2ec535599434", - "Content-Type" : "application/json" - }, - "json" : null - }, - "response" : { - "status" : 200, - "json" : { - "global-customer-id" : "mrkanag", - "subscriber-name" : "mrkanag", - "subscriber-type" : "INFRA", - "resource-version" : "1538105836430" - } - } -} ] \ No newline at end of file diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-sample.yaml deleted file mode 100644 index aa38612d..00000000 --- a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-show-schema-casablanca-sample.yaml +++ /dev/null @@ -1,14 +0,0 @@ -open_cli_sample_version: 1.0 -name: customer-show -version: onap-casablanca -samples: - sample1: - name: customer-show - input: --customer-name mrkanag --long - moco: customer-show-schema-casablanca-moco.json - output: | - +----------+------------------+------------------+------------------+ - |name |subscriber-name |resource-version |subscriber-type | - +----------+------------------+------------------+------------------+ - |mrkanag |mrkanag |1538105836430 |INFRA | - +----------+------------------+------------------+------------------+ -- cgit 1.2.3-korg