diff options
Diffstat (limited to 'plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-list-schema-1.1.yaml')
-rw-r--r-- | plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-list-schema-1.1.yaml | 48 |
1 files changed, 9 insertions, 39 deletions
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-list-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-list-schema-1.1.yaml index 91ba7ebb..4facacb7 100644 --- a/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-list-schema-1.1.yaml +++ b/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-list-schema-1.1.yaml @@ -19,34 +19,6 @@ results: description: Onap ems id scope: short type: string - - name: name - description: Onap ems name - scope: short - type: string - - name: type - description: Onap ems type - scope: short - type: string - - name: vendor - description: Onap ems vendor - scope: short - type: string - - name: version - description: Onap ems version - scope: short - type: string - - name: url - description: Onap ems url - scope: short - type: string - - name: username - description: Onap ems username - scope: long - type: string - - name: remote-path - description: Onap ems remote-path - scope: short - type: string - name: resource-version description: Onap ems resource version scope: short @@ -59,17 +31,15 @@ http: success_codes: - 200 result_map: - ems-id: $b{$.esr-ems.[*].ems-id - name: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].system-name - type: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].type - vendor: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].vendor - version: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].version - url: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].service-url - username: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].user-name - remote-path: $b{$.esr-ems.[*].remote-path - resource-version: $b{$.esr-ems.[*].resource-version + ems-id: $b{$.esr-ems.[*].ems-id} + name: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].system-name} + type: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].type} + vendor: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].vendor} + version: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].version} + url: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].service-url} + username: $b{$.esr-ems.[*].esr-system-info-list.esr-system-info.[0].user-name} + remote-path: $b{$.esr-ems.[*].remote-path} + resource-version: $b{$.esr-ems.[*].resource-version} sample_response: body: '{"esr-ems":[{"ems-id":"example-ems-id-val-36878","passive":true,"remote-path":"example-remotepath-val-80493","esr-system-info-list":{"esr-system-info":[{"esr-system-info-id":"example-esr-system-info-id-val-44791","system-name":"example-system-name-val-48687","type":"example-type-val-95885","vendor":"example-vendor-val-41061","version":"example-version-val-38559","service-url":"example-service-url-val-2663","user-name":"example-user-name-val-26126","password":"example-password-val-33838","system-type":"ems","protocal":"","ssl-cacert":"","ssl-insecure":false,"ip-address":"","port":"","cloud-domain":"","default-tenant":""}]}}]}' - - |