diff options
author | 2023-09-13 16:39:46 +0530 | |
---|---|---|
committer | 2023-09-13 16:40:15 +0530 | |
commit | 506239fb5532d3fca591a2f6cd6ef606040eb5f7 (patch) | |
tree | 7daba9dea9dab580b1abc83f17d28ee606c6ef75 /src/onapsdk/so/templates/deletion_service.json.j2 | |
parent | 2c132e30f80219881baa0ccbe481b8454004d418 (diff) |
[SO] Instantiate Service Without Resource
Updated jinja template & unit test for service withoutt resource
Issue-ID: TEST-405
Change-Id: I6c163b038dbd7fc7e3afbe12e5da21d1b5b7f5ea
Signed-off-by: sheetal ghadge <sheetal.ghadge@t-systems.com>
Diffstat (limited to 'src/onapsdk/so/templates/deletion_service.json.j2')
-rw-r--r-- | src/onapsdk/so/templates/deletion_service.json.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/onapsdk/so/templates/deletion_service.json.j2 b/src/onapsdk/so/templates/deletion_service.json.j2 index 1244e97..022c08e 100644 --- a/src/onapsdk/so/templates/deletion_service.json.j2 +++ b/src/onapsdk/so/templates/deletion_service.json.j2 @@ -14,7 +14,7 @@ "requestParameters": { "testApi": "GR_API", "aLaCarte": {{ a_la_carte | tojson }} - }{% if service_instance.sdc_service.has_vnfs %}, + }{% if service_instance.sdc_service.resources and service_instance.sdc_service.has_vnfs %}, {# the code below is needed to be refactored #} {# https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/-/issues/133 #} "cloudConfiguration": { |