aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/aai/templates/customer_create.json.j2
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-17 12:46:49 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-17 14:05:09 +0000
commitf2adf542e878c96895210f97ebf1ebb763b2f465 (patch)
tree91fc0faeb3436e723d07aed1f38ce59a6e7cc7c5 /src/onapsdk/aai/templates/customer_create.json.j2
parent49071a0d0425ef67fa552dbf14c81e5a11cc49e7 (diff)
Release ONAP SDKv10.2
Issue-ID: INT-2150 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I650047c599a5aae6de7c6b42d38e34aea88578e2
Diffstat (limited to 'src/onapsdk/aai/templates/customer_create.json.j2')
-rw-r--r--src/onapsdk/aai/templates/customer_create.json.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/src/onapsdk/aai/templates/customer_create.json.j2 b/src/onapsdk/aai/templates/customer_create.json.j2
new file mode 100644
index 0000000..0eea2ed
--- /dev/null
+++ b/src/onapsdk/aai/templates/customer_create.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