summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/aai/add_customer.jinja
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-20 15:04:04 -0400
committerDR695H <dr695h@att.com>2019-06-20 15:04:04 -0400
commit3bb6cf4b938d3e725860606d3ddaa8eecd872151 (patch)
treee03ccb5b30413d9fc7b3cef8c5ef0827d2e641d2 /robot/assets/templates/aai/add_customer.jinja
parent3440942ef2c78e1a8eb07c70c1a03b3834beaecf (diff)
replace aai, closeloop, sdc with jinja
Issue-ID: TEST-158 Change-Id: I95a783f26e28512cb4fc98e50931d62001c489c6 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/templates/aai/add_customer.jinja')
-rw-r--r--robot/assets/templates/aai/add_customer.jinja25
1 files changed, 25 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/add_customer.jinja b/robot/assets/templates/aai/add_customer.jinja
new file mode 100644
index 00000000..062f93bb
--- /dev/null
+++ b/robot/assets/templates/aai/add_customer.jinja
@@ -0,0 +1,25 @@
+{
+ "global-customer-id": "{{global_customer_id}}",
+ "subscriber-name": "{{subscriber_name}}",
+ "subscriber-type": "{{subscriber_type}}",
+ "service-subscriptions": {
+ "service-subscription": [{
+ "service-type": "{{service1}}",
+ "relationship-list": {
+ "relationship": [{
+ "related-to": "tenant",
+ "relationship-data": [{
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "{{cloud_owner1}}"
+ }, {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "{{cloud_region_id1}}"
+ }, {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "{{tenant_id1}}"
+ }]
+ }]
+ }
+ }]
+ }
+ } \ No newline at end of file