diff options
author | DR695H <dr695h@att.com> | 2019-06-20 15:04:04 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-06-20 15:04:04 -0400 |
commit | 3bb6cf4b938d3e725860606d3ddaa8eecd872151 (patch) | |
tree | e03ccb5b30413d9fc7b3cef8c5ef0827d2e641d2 /robot/assets/templates/aai/add_demo_customer.jinja | |
parent | 3440942ef2c78e1a8eb07c70c1a03b3834beaecf (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_demo_customer.jinja')
-rw-r--r-- | robot/assets/templates/aai/add_demo_customer.jinja | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/robot/assets/templates/aai/add_demo_customer.jinja b/robot/assets/templates/aai/add_demo_customer.jinja new file mode 100644 index 00000000..2c4f6c92 --- /dev/null +++ b/robot/assets/templates/aai/add_demo_customer.jinja @@ -0,0 +1,123 @@ +{ + "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_owner}}" + }, { + "relationship-key" : "cloud-region.cloud-region-id", + "relationship-value" : "{{cloud_region_id}}" + }, { + "relationship-key" : "tenant.tenant-id", + "relationship-value" : "{{tenant_id}}" + } + ] + } + ] + } + }, { + "service-type" : "{{service2}}", + "relationship-list" : { + "relationship" : [{ + "related-to" : "tenant", + "relationship-data" : [{ + "relationship-key" : "cloud-region.cloud-owner", + "relationship-value" : "{{cloud_owner}}" + }, { + "relationship-key" : "cloud-region.cloud-region-id", + "relationship-value" : "{{cloud_region_id}}" + }, { + "relationship-key" : "tenant.tenant-id", + "relationship-value" : "{{tenant_id}}" + } + ] + } + ] + } + }, { + "service-type" : "{{service3}}", + "relationship-list" : { + "relationship" : [{ + "related-to" : "tenant", + "relationship-data" : [{ + "relationship-key" : "cloud-region.cloud-owner", + "relationship-value" : "{{cloud_owner}}" + }, { + "relationship-key" : "cloud-region.cloud-region-id", + "relationship-value" : "{{cloud_region_id}}" + }, { + "relationship-key" : "tenant.tenant-id", + "relationship-value" : "{{tenant_id}}" + } + ] + } + ] + } + }, { + "service-type" : "{{service4}}", + "relationship-list" : { + "relationship" : [{ + "related-to" : "tenant", + "relationship-data" : [{ + "relationship-key" : "cloud-region.cloud-owner", + "relationship-value" : "{{cloud_owner}}" + }, { + "relationship-key" : "cloud-region.cloud-region-id", + "relationship-value" : "{{cloud_region_id}}" + }, { + "relationship-key" : "tenant.tenant-id", + "relationship-value" : "{{tenant_id}}" + } + ] + } + ] + } + }, { + "service-type" : "{{service5}}", + "relationship-list" : { + "relationship" : [{ + "related-to" : "tenant", + "relationship-data" : [{ + "relationship-key" : "cloud-region.cloud-owner", + "relationship-value" : "{{cloud_owner}}" + }, { + "relationship-key" : "cloud-region.cloud-region-id", + "relationship-value" : "{{cloud_region_id}}" + }, { + "relationship-key" : "tenant.tenant-id", + "relationship-value" : "{{tenant_id}}" + } + ] + } + ] + } + }, { + "service-type" : "{{service6}}", + "relationship-list" : { + "relationship" : [{ + "related-to" : "tenant", + "relationship-data" : [{ + "relationship-key" : "cloud-region.cloud-owner", + "relationship-value" : "{{cloud_owner}}" + }, { + "relationship-key" : "cloud-region.cloud-region-id", + "relationship-value" : "{{cloud_region_id}}" + }, { + "relationship-key" : "tenant.tenant-id", + "relationship-value" : "{{tenant_id}}" + } + ] + } + ] + } + } + ] + } +} |