aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/aai/customer.jinja
blob: 831bac23bab9bc6d7645ea12252a540b726292c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 %}
}