From 58a1c13883f815197c76487b382eddf2eed67207 Mon Sep 17 00:00:00 2001 From: Kiran Date: Tue, 17 Oct 2023 19:32:38 +0530 Subject: changes for update functionality for entities.. Issue-ID: TEST-412 Change-Id: I598c289f87fff80323ef979600df45d4fa4591dd Signed-off-by: Kiran --- src/onapsdk/aai/templates/customer_create_update.json.j2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/onapsdk/aai/templates/customer_create_update.json.j2 (limited to 'src/onapsdk/aai/templates/customer_create_update.json.j2') diff --git a/src/onapsdk/aai/templates/customer_create_update.json.j2 b/src/onapsdk/aai/templates/customer_create_update.json.j2 new file mode 100644 index 0000000..0eea2ed --- /dev/null +++ b/src/onapsdk/aai/templates/customer_create_update.json.j2 @@ -0,0 +1,15 @@ +{ + "global-customer-id": "{{ global_customer_id }}", + "subscriber-name": "{{ subscriber_name }}", + "subscriber-type": "{{ subscriber_type }}"{% if service_subscriptions %}, + "service-subscriptions": { + "service-subscription": [ + {% for service_subscription in service_subscriptions %} + { + "service-type": "{{ service_subscription }}" + }{% if not loop.last %},{% endif %} + {% endfor %} + ] + } + {% endif %} +} \ No newline at end of file -- cgit 1.2.3-korg