diff options
Diffstat (limited to 'onap-client/etc')
-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 +} |