Add ALD Transition Console preview and Astra lab build workflow
This commit is contained in:
1 parent
f330a3c00a
commit
e5c6a2fc0e
199 files changed
+9866
No files matched your search
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"$id": "urn:ald-transition:plan",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": 1
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 36,
|
||||
"format": "uuid"
|
||||
},
|
||||
"revision": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 2147483647
|
||||
},
|
||||
"inventory_digest": {
|
||||
"type": "string",
|
||||
"maxLength": 4096,
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"policy_digest": {
|
||||
"type": "string",
|
||||
"maxLength": 4096,
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"mapping_digest": {
|
||||
"type": "string",
|
||||
"maxLength": 4096,
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"affected_hosts": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"graph": {
|
||||
"type": "array",
|
||||
"maxItems": 1024,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"operation": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"adapter_id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"adapter_version": {
|
||||
"type": "string",
|
||||
"maxLength": 64
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
},
|
||||
"typed_parameters": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"preconditions": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"effects": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"cancellation_class": {
|
||||
"enum": [
|
||||
"READ_ONLY_TERMINATE",
|
||||
"SAFE_BOUNDARY",
|
||||
"NOT_CANCELLABLE"
|
||||
]
|
||||
},
|
||||
"recovery_class": {
|
||||
"enum": [
|
||||
"NONE",
|
||||
"RECONCILE",
|
||||
"REBOOT_REQUIRED",
|
||||
"RESTORE_BACKUP",
|
||||
"MANUAL"
|
||||
]
|
||||
},
|
||||
"postconditions": {
|
||||
"type": "array",
|
||||
"maxItems": 10000,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"adapter_id",
|
||||
"adapter_version",
|
||||
"target_id",
|
||||
"typed_parameters",
|
||||
"preconditions",
|
||||
"effects",
|
||||
"cancellation_class",
|
||||
"recovery_class",
|
||||
"postconditions"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"dependencies": {
|
||||
"type": "array",
|
||||
"maxItems": 1024,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"maxLength": 128
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"operation",
|
||||
"dependencies"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"error_policy": {
|
||||
"enum": [
|
||||
"STOP_ON_ERROR",
|
||||
"CONTINUE_INDEPENDENT",
|
||||
"PAUSE_FOR_DECISION"
|
||||
]
|
||||
},
|
||||
"downtime": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"duration_minutes": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"minimum": 0
|
||||
},
|
||||
"impact_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"recovery_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
},
|
||||
"point_of_no_return_ru": {
|
||||
"type": "string",
|
||||
"maxLength": 4096
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"duration_minutes",
|
||||
"impact_ru",
|
||||
"recovery_ru",
|
||||
"point_of_no_return_ru"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"authorization_state": {
|
||||
"enum": [
|
||||
"NOT_AUTHORIZED",
|
||||
"AUTHORIZED",
|
||||
"INVALIDATED"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"id",
|
||||
"revision",
|
||||
"inventory_digest",
|
||||
"policy_digest",
|
||||
"mapping_digest",
|
||||
"affected_hosts",
|
||||
"graph",
|
||||
"error_policy",
|
||||
"downtime",
|
||||
"authorization_state"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user