aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-elalto
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-elalto')
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml2
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml9
2 files changed, 9 insertions, 2 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml
index f3daaf60..25a5ee97 100644
--- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml
@@ -54,7 +54,7 @@ parameters:
long_option: artifact-label
short_option: l
default_value: artifactLabel
- is_optional: false
+ is_optional: true
- name: artifact-group-type
description: Upload Artifact Group Type
type: string
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml
index cbcc32ff..b0f58ff7 100644
--- a/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-elalto.yaml
@@ -48,6 +48,13 @@ parameters:
long_option: artifact-name
short_option: b
is_optional: false
+ - name: artifact-label
+ description: Artifact Label
+ type: string
+ long_option: artifact-label
+ short_option: l
+ default_value: artifactLabel
+ is_optional: true
- name: user-id
description: Designer user id
type: string
@@ -67,6 +74,6 @@ http:
headers:
Content-MD5: $s{md5:__body__}
USER_ID: ${user-id}
- body: '{"payloadData":"${artifact}","artifactDisplayName":"${artifact-name}","artifactType":"OTHER","description":"${remarks}","artifactName":"${artifact-name}", "artifactLabel":"${artifact-name}","artifactGroupType":"DEPLOYMENT", artifactChecksum="$s{md5:artifact}"}'
+ body: '{"payloadData":"${artifact}","artifactDisplayName":"${artifact-name}","artifactType":"OTHER","description":"${remarks}","artifactName":"${artifact-name}", "artifactLabel":"${artifact-label}","artifactGroupType":"DEPLOYMENT", artifactChecksum="$s{md5:artifact}"}'
success_codes:
- 200