diff options
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/api/schemas/cluster_status.json | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/spec/fixtures/api/schemas/cluster_status.json b/spec/fixtures/api/schemas/cluster_status.json index 1f255a17881..451ea50f0f9 100644 --- a/spec/fixtures/api/schemas/cluster_status.json +++ b/spec/fixtures/api/schemas/cluster_status.json @@ -5,7 +5,38 @@ ], "properties" : { "status": { "type": "string" }, - "status_reason": { "type": ["string", "null"] } + "status_reason": { "type": ["string", "null"] }, + "applications": { "$ref": "#/definitions/applications" } }, - "additionalProperties": false + "additionalProperties": false, + "definitions": { + "applications": { + "type": "object", + "additionalProperties": false, + "properties" : { + "helm": { "$ref": "#/definitions/app_status" }, + "runner": { "$ref": "#/definitions/app_status" }, + "ingress": { "$ref": "#/definitions/app_status" }, + "prometheus": { "$ref": "#/definitions/app_status" } + } + }, + "app_status": { + "type": "object", + "additionalProperties": false, + "properties" : { + "status": { + "type": { + "enum": [ + "installable", + "installing", + "installed", + "error" + ] + } + }, + "status_reason": { "type": ["string", "null"] } + }, + "required" : [ "status" ] + } + } } |