aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/sdc/vsp.py
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2020-08-27 14:42:55 -0700
committerstark, steven <steven.stark@att.com>2020-08-27 14:42:55 -0700
commita8f5a0db87076f43b2596b5aba2a5b76d6eaaa63 (patch)
tree51fe7363905f5df5ba9f12ba5b8b8330dcae0341 /onap-client/onap_client/sdc/vsp.py
parenta0531fb313c867b87e8275bc47234145bb09e0d2 (diff)
[VVP] Add update_message for VSP
Issue-ID: VVP-467 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I03583def20dfb597f6729cd537cf18c44f1be881
Diffstat (limited to 'onap-client/onap_client/sdc/vsp.py')
-rw-r--r--onap-client/onap_client/sdc/vsp.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/onap-client/onap_client/sdc/vsp.py b/onap-client/onap_client/sdc/vsp.py
index 0dd2a52..365c628 100644
--- a/onap-client/onap_client/sdc/vsp.py
+++ b/onap-client/onap_client/sdc/vsp.py
@@ -61,6 +61,11 @@ class VSP(Resource):
"required": False,
"default": "new software product",
},
+ "update_message": {
+ "type": str,
+ "required": False,
+ "default": "New VSP Version",
+ },
"category": {"type": str, "required": False, "default": "generic"},
"sub_category": {"type": str, "required": False, "default": "abstract"},
"contributers": {
@@ -133,7 +138,7 @@ def update_vsp(existing_vsp, vsp_input):
oc.sdc.vsp.update_software_product(
software_product_id=existing_vsp_id,
software_product_version_id=existing_vsp_version_id,
- description=vsp_input.get("description", "New VSP Version")
+ description=vsp_input.get("update_message", "New VSP Version")
)
vsp_input["software_product_id"] = existing_vsp_id