diff options
author | stark, steven <steven.stark@att.com> | 2020-06-01 09:38:11 -0700 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2020-06-01 09:38:39 -0700 |
commit | 14df46b7b0166c05af9056ba71f1b6bac05e4f2d (patch) | |
tree | 2c1357613ab2f3664ca4920e5c0a788a216acf36 /onap-client | |
parent | 67bd9e52c527b7a0ed40eba0896bcae23e8eb4f6 (diff) |
[VVP] bug fix for empty project code
Issue-ID: VVP-419
Change-Id: Ic65674f2ee924f43b7ba6d8cc63ee686723f8fa5
Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'onap-client')
-rw-r--r-- | onap-client/etc/payloads/catalog_service.jinja | 4 | ||||
-rw-r--r-- | onap-client/setup.py | 2 |
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", |