diff options
author | Itohan <itohan.ukponmwan@intel.com> | 2019-09-30 23:39:44 +0000 |
---|---|---|
committer | Itohan <itohan.ukponmwan@intel.com> | 2019-10-01 17:42:35 +0000 |
commit | a52f00e9d0af1181d3e9c87508789fb4ced022f5 (patch) | |
tree | dfb05a7683f0cecf86783d0623dbcf1b85ade70d /products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml | |
parent | 1d4b83754009114523cae90c759daffa9188eb3e (diff) |
Minor bug fixes in CLI
- Added USER_ID header for SDC
- Changed multicloud url
- Added samples for commands
- Fixed Bug in service-create command
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Issue-ID: CLI-229
Change-Id: I9ec94d6dd390d2b5bf059c2f8a82c67b65fbeb34
Diffstat (limited to 'products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml')
-rw-r--r-- | products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml index f7634e53..79ee5fe8 100644 --- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-vf-schema-elalto.yaml @@ -72,10 +72,12 @@ http: request: uri: /sdc2/rest/v1/catalog/services/${service-id}/resourceInstance method: POST + headers: + USER_ID: ${host-username} body: '{"name": "${vf-name}", "componentVersion": "${vf-version}", "posY": 248, "posX": 406, "uniqueId": "${service-id}-${vf-id}", "originType": "VF", "componentUid": "${vf-id}", "icon": "defaulticon"}' success_codes: - 201 result_map: id: $b{$.uniqueId} uuid: $b{$.componentUid} - inputs: $b{$.inputs.[*].uniqueId}
\ No newline at end of file + inputs: $b{$.inputs.[*].uniqueId} |