aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--onap-client/etc/payloads/catalog_service.jinja4
-rw-r--r--onap-client/setup.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/onap-client/etc/payloads/catalog_service.jinja b/onap-client/etc/payloads/catalog_service.jinja
index 51aec40..a692888 100644
--- a/onap-client/etc/payloads/catalog_service.jinja
+++ b/onap-client/etc/payloads/catalog_service.jinja
@@ -30,7 +30,9 @@
"requirements": {},
"deploymentArtifacts": {},
"componentType": "SERVICE",
+ {% if project_code != '' %}
"projectCode": "{{project_code}}",
+ {% endif %}
"componentInstances": [],
"properties": [],
"attributes": [],
@@ -42,4 +44,4 @@
"serviceType": "{{service_type}}",
"serviceRole": "{{service_role}}",
"namingPolicy": "{{naming_policy}}"
-} \ No newline at end of file
+}
diff --git a/onap-client/setup.py b/onap-client/setup.py
index a813913..8e4d9aa 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.6.2",
+ version="0.6.3",
author="Steven Stark",
author_email="steven.stark@att.com",
description="Python API wrapper for ONAP applications",