+++ /dev/null
-onap_cli_sample_version: 1.0
-
-name: customer-list
-version: onap-1.1
-samples:
- sample1:
- name: List the configured customers in onap
- input: -h https://locahost:8443 -u AAI -p AAI
- output: |
- +--------------------------------------+------------------+
- |name |resource-version |
- +--------------------------------------+------------------+
- |example-global-customer-id-val-8741 |1504017436899 |
- +--------------------------------------+------------------+
- |example-global-customer-id-val-87416 |1504017249493 |
- +--------------------------------------+------------------+
- |customer-1 |1504085129922 |
- +--------------------------------------+------------------+
--- /dev/null
+[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/aai/v11/business/customers",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-f56d4034-1ee8-469c-848a-8b9cd1afa19b",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "customer" : [ {
+ "global-customer-id" : "test",
+ "subscriber-name" : "test",
+ "subscriber-type" : "INFRA",
+ "resource-version" : "1509029022293"
+ }, {
+ "global-customer-id" : "kanag",
+ "subscriber-name" : "kanag",
+ "subscriber-type" : "INFRA",
+ "resource-version" : "1509029007060"
+ }, {
+ "global-customer-id" : "Demonstration",
+ "subscriber-name" : "Demonstration",
+ "subscriber-type" : "INFRA",
+ "resource-version" : "1508827908763"
+ } ]
+ }
+ }
+} ]
\ No newline at end of file
--- /dev/null
+onap_cli_sample_version: 1.0
+name: customer-list
+version: onap-1.1
+samples:
+ sample1:
+ name: customer-list
+ input:
+ moco: customer-list-schema-1.1-moco.json
+ ouput: |
+ +----------------+------------------+
+ |name |resource-version |
+ +----------------+------------------+
+ |test |1509029022293 |
+ +----------------+------------------+
+ |kanag |1509029007060 |
+ +----------------+------------------+
+ |Demonstration |1508827908763 |
+ +----------------+------------------+