From b45e5a59bdabb503e6d838af4d06128984cb7c77 Mon Sep 17 00:00:00 2001 From: develontopia Date: Wed, 14 Aug 2024 15:59:22 -0400 Subject: [PATCH] add initial resiliency domain specification - not yet inline with domain spec --- .../draft/2024-08/meta/resiliency_domain.json | 72 +++++++++++++++++++ ...ency-domain-requirement-instantiation.json | 8 +++ 2 files changed, 80 insertions(+) create mode 100644 calm/draft/2024-08/meta/resiliency_domain.json create mode 100644 calm/pattern/resiliency-domain-requirement-instantiation.json diff --git a/calm/draft/2024-08/meta/resiliency_domain.json b/calm/draft/2024-08/meta/resiliency_domain.json new file mode 100644 index 00000000..e49b9bdc --- /dev/null +++ b/calm/draft/2024-08/meta/resiliency_domain.json @@ -0,0 +1,72 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-08/meta/resiliency_domain.json", + "title": "Common Architecture Language Model (CALM) Resiliency Domain Specification", + + "properties": { + "unique-id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "requirement-type": { + "$ref": "#/$defs/requirement-type-definition" + }, + "applicable-criticality-ratings": { + "type": "array", + "items": { + "$ref": "#/$defs/criticality-definition" + } + }, + "entity-type-scope": { + "list-of-applicable-entities": "string" + }, + "entity-instance-scope": { + "list-of-applicable-entity-instances": "string" + }, + "pattern-instance-scope": { + "list-of-applicable-pattern-instances": "string" + }, + "measurement": { + "list-of-resiliency-requirement-measurement": "string" + }, + + + "required": [ + "unique-id", + "description", + "requirement-type" + ] + + }, + + "$defs": { + "requirement-type-definition": { + "enum": [ + "Policy", + "Business", + "Implementation" + ] + }, + "criticality-rating": { + "enum": [ + "tier1", + "tier2", + "tier3" + ] + }, + "application-mode": { + "enum": [ + "Must have", + "Optional" + ] + }, + "criticality-definition": { + "application-mode": "#/$defs/application-mode", + "criticality-rating": "#/$defs/criticality-rating" + } + + } + +} diff --git a/calm/pattern/resiliency-domain-requirement-instantiation.json b/calm/pattern/resiliency-domain-requirement-instantiation.json new file mode 100644 index 00000000..23736686 --- /dev/null +++ b/calm/pattern/resiliency-domain-requirement-instantiation.json @@ -0,0 +1,8 @@ +{ + "unique-id": "1", + "description": "The system has a clear (stakeholder agreed) definition of the minimum acceptable level of service", + "requirement-type": "Policy", + "applicable-criticality-rating": [ ["tier1","Must have"],["tier2","Optional"]], + "entity-type-scope": "Imagine here a list calm entities like node, relationship, interfaces, systems", + "entity-instance-scope": "e.g. https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/pattern/api-gateway-instationation.json" +}