diff options
-rw-r--r-- | onap-client/onap_client/sdc/vsp.py | 7 | ||||
-rw-r--r-- | onap-client/setup.py | 2 |
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", |