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/etc/payloads | |
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/etc/payloads')
-rw-r--r-- | onap-client/etc/payloads/catalog_service.jinja | 4 |
1 files changed, 3 insertions, 1 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 +} |