From 04e8c7658c0ed31a334cf64fcfd4aa5f1962b39d Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Mon, 27 Jun 2022 12:59:33 +0000 Subject: [Data provider] Add relationships between some A&AI resources Create relationship between: Tenant <-> Line of business Tenant <-> Owning entity Cloud region <-> Project Issue-ID: INT-2126 Signed-off-by: Michal Jagiello Change-Id: I3523c02b28b5fe972c0fbba112c8ffa532feadb8 --- samples/cloud-region.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'samples') diff --git a/samples/cloud-region.yaml b/samples/cloud-region.yaml index 86c7273..f5570af 100644 --- a/samples/cloud-region.yaml +++ b/samples/cloud-region.yaml @@ -2,7 +2,7 @@ # Cloud region resource is one of the biggest to describe (if you want to configure it with OpenStack) # Please fill the data based on your OpenStack instance RC v3 file (ask OpenStack admin). # -odpSchemaVersion: 1.0 +odpSchemaVersion: 1.1 resources: cloud-regions: - cloud-region: @@ -25,3 +25,16 @@ resources: service-url: http://127.0.0.1:5000/v3 cloud-domain: Default default-tenant: default-tenant + projects: + - project: + name: test-project-1234 + tenants: + - tenant-id: "12345" + tenant-name: test-tenant + lines-of-business: + - line-of-business: + name: test-tenant-lob + owning-entities: + - owning-entity: + name: test-oe + id: test-oe -- cgit 1.2.3-korg