aboutsummaryrefslogtreecommitdiffstats
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
parenta0531fb313c867b87e8275bc47234145bb09e0d2 (diff)
[VVP] Add update_message for VSP
Issue-ID: VVP-467 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I03583def20dfb597f6729cd537cf18c44f1be881
-rw-r--r--onap-client/onap_client/sdc/vsp.py7
-rw-r--r--onap-client/setup.py2
2 files changed, 7 insertions, 2 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
diff --git a/onap-client/setup.py b/onap-client/setup.py
index 6a2ba11..58e36e8 100644
--- a/onap-client/setup.py
+++ b/onap-client/setup.py
@@ -47,7 +47,7 @@ for file in os.listdir("etc/payloads"):
setuptools.setup(
name="onap-client",
- version="0.10.0",
+ version="0.10.1",
author="Steven Stark",
author_email="steven.stark@att.com",
description="Python API wrapper for ONAP applications",