diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-09-28 10:52:14 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-09-28 10:52:14 +0530 |
commit | 11f11fc85edc7b3b060549f5b1516e0805d9b372 (patch) | |
tree | 300e94012e70988caea7946594542a15657d101f /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer | |
parent | 77dce6c28c3f6414a1dc4b09c835b34875493938 (diff) |
Casablanca: AAI business
Issue-ID: CLI-122
Change-Id: I4dc3cdb431753e1b42b56fd14e59f8311235cad4
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer')
8 files changed, 0 insertions, 148 deletions
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 | - +----------+------------------+------------------+------------------+ |