--- /dev/null
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v13/business/customers/customer/ovp",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-7c0cea00-bd21-4560-b31e-c03c5ad3ffa3",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "global-customer-id" : "ovp",
+ "subscriber-name" : "ovp",
+ "subscriber-type" : "INFRA"
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ]
\ No newline at end of file
--- /dev/null
+open_cli_sample_version: 1.0
+name: customer-create
+version: onap-dublin
+samples:
+ sample1:
+ name: customer-create
+ input: --format json --customer-name ovp --subscriber-name ovp
+ moco: customer-create-schema-dublin-moco.json
+ output: |
+ [{}]
--- /dev/null
+[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v13/business/customers/customer/ovp",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-e1e39cdd-d681-49eb-8fc3-0372fc6a6f27",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 204,
+ "json" : null
+ }
+} ]
\ No newline at end of file
--- /dev/null
+open_cli_sample_version: 1.0
+name: customer-delete
+version: onap-dublin
+samples:
+ sample1:
+ name: customer-delete
+ input: --format json --customer-id ovp --resource-version 1567068664088
+ moco: customer-delete-schema-dublin-moco.json
+ output: |
+ [{}]
--- /dev/null
+[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/aai/v13/business/customers",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-59c70d03-10ab-42a8-b6a7-65a0c85f22e4",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "customer" : [ {
+ "global-customer-id" : "Demonstration",
+ "subscriber-name" : "Demonstration",
+ "subscriber-type" : "INFRA",
+ "resource-version" : "1564139322133"
+ }, {
+ "global-customer-id" : "ovp",
+ "subscriber-name" : "ovp",
+ "subscriber-type" : "INFRA",
+ "resource-version" : "1567068664088"
+ } ]
+ }
+ }
+} ]
\ No newline at end of file
--- /dev/null
+open_cli_sample_version: 1.0
+name: customer-list
+version: onap-dublin
+samples:
+ sample1:
+ name: customer-list
+ input: --format json
+ moco: customer-list-schema-dublin-moco.json
+ output: |
+ [{"resource-version":"1564139322133","name":"Demonstration"},{"resource-version":"1567068664088","name":"ovp"}]