summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features
diff options
context:
space:
mode:
authorzhaoliping123 <zhaoliping@chinamobile.com>2020-04-20 20:18:58 +0800
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-04-22 02:28:06 +0000
commit5d5c63058d95c4044a9d73d1edb1648f75de839f (patch)
treeb88065e0992887e54dc97d3707b63e717c8a4503 /products/onap-dublin/features
parent5b181bb499d9dbfccd1e81f643b48d9cb7218d2c (diff)
update vf-model-add-artifact and service-model-add-artifact
Issue-ID: CLI-264 Change-Id: Ieeaa81b3e02016d5f889f3472b904a2e809c3106 Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
Diffstat (limited to 'products/onap-dublin/features')
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-add-artifact-schema-dublin.yaml2
-rw-r--r--products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-dublin.yaml9
2 files changed, 9 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 5ef857f9..27d324ae 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
@@ -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-dublin/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-dublin.yaml
index 5eb0c8ca..454a730d 100644
--- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-dublin.yaml
+++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-add-artifact-schema-dublin.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