From fe51a0ec649d61e806da15494e729ba8862729d2 Mon Sep 17 00:00:00 2001 From: James Thompson Date: Fri, 18 Jul 2025 03:02:20 +1000 Subject: [PATCH] [chore] Fix naming of zos entities (#2520) --- docs/resource/zos.md | 2 +- model/zos/{resources.yaml => common.yaml} | 11 ----------- model/zos/entities.yaml | 12 ++++++++++++ 3 files changed, 13 insertions(+), 12 deletions(-) rename model/zos/{resources.yaml => common.yaml} (91%) create mode 100644 model/zos/entities.yaml diff --git a/docs/resource/zos.md b/docs/resource/zos.md index 96b8c7169..e14c825e0 100644 --- a/docs/resource/zos.md +++ b/docs/resource/zos.md @@ -3,7 +3,7 @@ This document defines z/OS software entity and documents how to populate other entities, such as `host` in the context of mainframes. - + diff --git a/model/zos/resources.yaml b/model/zos/common.yaml similarity index 91% rename from model/zos/resources.yaml rename to model/zos/common.yaml index 88b672663..d07e8112c 100644 --- a/model/zos/resources.yaml +++ b/model/zos/common.yaml @@ -1,15 +1,4 @@ groups: - - id: resource.zos.software - type: resource - stability: development - name: zos.software - brief: A software resource running on a z/OS system. - attributes: - - ref: zos.sysplex.name - requirement_level: required - - ref: zos.smf.id - requirement_level: required - - ref: mainframe.lpar.name - id: service.zos.software type: attribute_group stability: development diff --git a/model/zos/entities.yaml b/model/zos/entities.yaml new file mode 100644 index 000000000..fa6ad2437 --- /dev/null +++ b/model/zos/entities.yaml @@ -0,0 +1,12 @@ +groups: + - id: entity.zos.software + type: entity + stability: development + name: zos.software + brief: A software resource running on a z/OS system. + attributes: + - ref: zos.sysplex.name + requirement_level: required + - ref: zos.smf.id + requirement_level: required + - ref: mainframe.lpar.name