summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/aai/add_demo_customer.jinja
diff options
context:
space:
mode:
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}}"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+}