aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2019-09-30 23:39:44 +0000
committerItohan <itohan.ukponmwan@intel.com>2019-10-01 17:42:35 +0000
commita52f00e9d0af1181d3e9c87508789fb4ced022f5 (patch)
treedfb05a7683f0cecf86783d0623dbcf1b85ade70d /products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml
parent1d4b83754009114523cae90c759daffa9188eb3e (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/vf/vf-model-create-schema-elalto.yaml')
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml
index 9d1b3e91..c5496202 100644
--- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-create-schema-elalto.yaml
@@ -78,6 +78,8 @@ http:
request:
uri: /sdc2/rest/v1/catalog/resources
method: POST
+ headers:
+ USER_ID: ${host-username}
body: '{"contactId": "${host-username}", "vendorRelease": "1.0", "requirements": {}, "artifacts": {}, "capabilities": {}, "componentInstancesProperties": {}, "deploymentArtifacts": {}, "icon": "defaulticon", "vendorName": "${vendor-name}", "description": "${description}", "tags": ["CLI", "${name}"], "properties": [], "categories": [{"subcategories": [{"normalizedName": "abstract", "name": "Abstract", "uniqueId": "resourceNewCategory.generic.abstract", "icons": ["database"]}], "normalizedName": "generic", "name": "Generic", "uniqueId": "resourceNewCategory.generic"}], "name": "${name}", "toscaArtifacts": {}, "csarUUID": "${vsp-id}", "resourceType": "VF", "csarVersion": "${vsp-version}", "componentType": "RESOURCE", "componentInstancesAttributes": {}, "attributes": [], "componentInstances": []}'
context:
remove_empty_node: true
@@ -86,4 +88,4 @@ http:
result_map:
id: $b{$.uniqueId}
uuid: $b{$.uuid}
- inputs: $b{$.inputs.[*].uniqueId} \ No newline at end of file
+ inputs: $b{$.inputs.[*].uniqueId}