diff options
author | 2020-03-12 10:26:56 +0800 | |
---|---|---|
committer | 2020-03-12 10:28:52 +0800 | |
commit | fe3b9a8559642a757b971ead4763c22e74844c2d (patch) | |
tree | 3fcb0e5b96cc0e2beb320ffba2c507356907ee02 /products/onap-elalto/features/sdc/src | |
parent | 8d3d545fa55e3485317bfb5b93b484a77dc2dd38 (diff) |
update sdc service-model-add-artifact
Issue-ID: CLI-258
Change-Id: I7443a94c1852ee564b32200e61a26f630b01fea1
Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
Diffstat (limited to 'products/onap-elalto/features/sdc/src')
-rw-r--r-- | products/onap-elalto/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-elalto.yaml | 16 |
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 |