feat: WP-0002 T03 selection decision, wait on purchase
Recommend Scaleway Multi-AZ nl-ams. Inventory stays proposed with description, decision, reef: refs, secret: handle, and consumers. Human approval required before ordered.
This commit is contained in:
parent
9d11d2a043
commit
f9af7518f5
6 changed files with 179 additions and 5 deletions
|
|
@ -12,6 +12,37 @@
|
|||
"financial_entity_id": {"type": ["string", "null"], "pattern": "^entity:[a-z0-9]+$"},
|
||||
"procuring_entity_id": {"type": ["string", "null"], "pattern": "^entity:[a-z0-9]+$"},
|
||||
"entity_gap": {"type": ["string", "null"]},
|
||||
"description": {"type": "string", "minLength": 1},
|
||||
"decision": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["status", "ref"],
|
||||
"properties": {
|
||||
"status": {"enum": ["recommended", "approved", "rejected"]},
|
||||
"chosen": {"type": ["string", "null"]},
|
||||
"rejected": {"type": "array", "items": {"type": "string"}},
|
||||
"approved_by": {"type": ["string", "null"]},
|
||||
"approved_on": {"type": ["string", "null"], "format": "date"},
|
||||
"ref": {"type": "string", "minLength": 1}
|
||||
}
|
||||
},
|
||||
"operational_refs": {
|
||||
"type": "array",
|
||||
"items": {"type": "string", "pattern": "^reef:"}
|
||||
},
|
||||
"credential_handles": {
|
||||
"type": "array",
|
||||
"items": {"type": "string", "pattern": "^secret:"}
|
||||
},
|
||||
"consumers": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["potential", "actual"],
|
||||
"properties": {
|
||||
"potential": {"type": "array", "items": {"type": "string"}},
|
||||
"actual": {"type": "array", "items": {"type": "string"}}
|
||||
}
|
||||
},
|
||||
"resource_class": {"enum": ["compute_instance", "storage", "network", "kubernetes_capacity", "database", "managed_service", "self_managed_service", "shared_platform_service", "license"]},
|
||||
"status": {"enum": ["proposed", "ordered", "commissioning", "active", "suspended", "retiring", "retired", "rejected"]},
|
||||
"management_model": {"enum": ["provider_managed", "self_managed", "shared_capacity"]},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue