summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/aai/add_demo_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_demo_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_demo_customer.jinja')
-rw-r--r--robot/assets/templates/aai/add_demo_customer.jinja123
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}}"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+}