From a8f5a0db87076f43b2596b5aba2a5b76d6eaaa63 Mon Sep 17 00:00:00 2001 From: "stark, steven" Date: Thu, 27 Aug 2020 14:42:55 -0700 Subject: [VVP] Add update_message for VSP Issue-ID: VVP-467 Signed-off-by: stark, steven Change-Id: I03583def20dfb597f6729cd537cf18c44f1be881 --- onap-client/onap_client/sdc/vsp.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'onap-client/onap_client/sdc') 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 -- cgit 1.2.3-korg