Skip to content

Commit

Permalink
add initial resiliency domain specification - not yet inline with dom…
Browse files Browse the repository at this point in the history
…ain spec
  • Loading branch information
develontopia committed Aug 14, 2024
1 parent 812dd32 commit b45e5a5
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
72 changes: 72 additions & 0 deletions calm/draft/2024-08/meta/resiliency_domain.json
Original file line number Diff line number Diff line change
@@ -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"
}

}

}
8 changes: 8 additions & 0 deletions calm/pattern/resiliency-domain-requirement-instantiation.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit b45e5a5

Please sign in to comment.