diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2022-06-27 12:59:33 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2022-06-28 08:21:07 +0000 |
commit | 04e8c7658c0ed31a334cf64fcfd4aa5f1962b39d (patch) | |
tree | d015899d69ad3cf178fb737c9e7794265cd2bfd7 /onap_data_provider/schemas/infra_1_1.schema | |
parent | 0565394ecbd96730bf982909693514ab88703708 (diff) |
[Data provider] Add relationships between some A&AI resources0.6.0
Create relationship between:
Tenant <-> Line of business
Tenant <-> Owning entity
Cloud region <-> Project
Issue-ID: INT-2126
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I3523c02b28b5fe972c0fbba112c8ffa532feadb8
Diffstat (limited to 'onap_data_provider/schemas/infra_1_1.schema')
-rw-r--r-- | onap_data_provider/schemas/infra_1_1.schema | 121 |
1 files changed, 63 insertions, 58 deletions
diff --git a/onap_data_provider/schemas/infra_1_1.schema b/onap_data_provider/schemas/infra_1_1.schema index 8320b74..c5cde66 100644 --- a/onap_data_provider/schemas/infra_1_1.schema +++ b/onap_data_provider/schemas/infra_1_1.schema @@ -19,6 +19,64 @@ properties: - service-description required: - aai-service + owning-entities: &owning_entities + type: array + items: + type: object + properties: + owning-entity: + type: object + properties: + name: + type: string + id: + type: string + required: + - name + required: + - owning-entity + projects: &projects + type: array + items: + type: object + properties: + project: + type: object + properties: + name: + type: string + required: + - name + required: + - project + platforms: + type: array + items: + type: object + properties: + platform: + type: object + properties: + name: + type: string + required: + - name + required: + - platform + lines-of-business: &lines_of_business + type: array + items: + type: object + properties: + line-of-business: + type: object + properties: + name: + type: string + required: + - name + required: + - line-of-business complexes: type: array items: @@ -90,6 +148,8 @@ properties: type: string tenant-context: type: string + lines_of_business: *lines_of_business + owning_entities: *owning_entities required: - tenant-id - tenant-name @@ -138,6 +198,7 @@ properties: required: - availability-zone-name - hypervisor-type + projects: *projects required: - cloud-owner - cloud-region-id @@ -170,7 +231,7 @@ properties: type: array items: type: object - properities: + properties: tenant-id: type: string cloud-owner: @@ -500,62 +561,6 @@ properties: - platform - line_of_business - aai_service - owning-entities: - type: array - items: - type: object - properities: - owning-entity: - type: object - properties: - name: - type: string - required: - - name - required: - - owning-entity - projects: - type: array - items: - type: object - properties: - project: - type: object - properities: - name: - type: string - required: - - name - required: - - project - platforms: - type: array - items: - type: object - properities: - platform: - type: object - properities: - name: - type: string - required: - - name - required: - - platform - lines-of-business: - type: array - items: - type: object - properties: - line-of-business: - type: object - properities: - name: - type: string - required: - - name - required: - - line-of-business msb-k8s-definitions: type: array items: @@ -600,7 +605,7 @@ properties: properties: data-dictionaries: type: object - properities: + properties: file-path: type: string required: |