aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/sdc
diff options
context:
space:
mode:
Diffstat (limited to 'products/onap-elalto/features/sdc')
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml16
1 files changed, 15 insertions, 1 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 5bd2fad6..f3daaf60 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
@@ -48,6 +48,20 @@ 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: false
+ - name: artifact-group-type
+ description: Upload Artifact Group Type
+ type: string
+ long_option: artifact-group-type
+ short_option: g
+ default_value: INFORMATIONAL
+ is_optional: true
- name: user-id
description: Designer user id
type: string
@@ -67,6 +81,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":"INFORMATIONAL", artifactChecksum="$s{md5:artifact}"}'
+ body: '{"payloadData":"${artifact}","artifactDisplayName":"${artifact-name}","artifactType":"OTHER","description":"${remarks}","artifactName":"${artifact-name}", "artifactLabel":"${artifact-label}","artifactGroupType":"${artifact-group-type}", artifactChecksum="$s{md5:artifact}"}'
success_codes:
- 200