diff options
2 files changed, 30 insertions, 2 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-dublin.yaml index 0a81b0f1..5ef857f9 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-dublin.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 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 |