summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates')
-rw-r--r--robot/assets/templates/aai/customer.jinja26
1 files changed, 26 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/customer.jinja b/robot/assets/templates/aai/customer.jinja
new file mode 100644
index 00000000..831bac23
--- /dev/null
+++ b/robot/assets/templates/aai/customer.jinja
@@ -0,0 +1,26 @@
+{
+ "global-customer-id": "{{global_customer_id}}",
+ "subscriber-name": "{{subscriber_name}}",
+ "subscriber-type": "{{subscriber_type}}",
+ {% if service1 %}
+ "service-subscriptions": {
+ "service-subscription": [{
+ "service-type": "{{service1}}",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "tenant",
+ "relationship-data": [
+ {%- for relationship in relationships -%}
+ {% if not loop.first %},{% endif %}
+ {
+ "relationship-key": "{{relationship.0}}",
+ "relationship-value": "{{relationship.1}}"
+ }
+ {%- endfor %}
+ ]
+ }]
+ }
+ }]
+ }
+ {% endif %}
+} \ No newline at end of file