diff options
author | rd772m <rd772m@att.com> | 2020-02-18 17:25:37 -0500 |
---|---|---|
committer | rd772m <rd772m@att.com> | 2020-02-18 17:34:28 -0500 |
commit | fc08a5916376cb6164bd4a6a3f8f2ee43fe85a5d (patch) | |
tree | 25b5d7d9709968396763331d36f24f6391b503ff /mod | |
parent | 534f8a3b979ae78a21ec3b7b8ffdb1cd3e425f1a (diff) |
spec validator schema updated
Issue-ID: DCAEGEN2-1643
Change-Id: I18d3fbf0c086e60b6c9f2f5fa084473701ac2172
Signed-off-by: rd772m <rd772m@att.com>
Diffstat (limited to 'mod')
-rw-r--r-- | mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json | 60 |
1 files changed, 59 insertions, 1 deletions
diff --git a/mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json b/mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json index 1f1f75e..0fd68ec 100644 --- a/mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json +++ b/mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json @@ -102,6 +102,36 @@ "items": { "$ref": "#/definitions/artifact" } + }, + "policy_info": { + "type": "object", + "properties": { + "policy": + { + "type": "array", + "items": + { + "type": "object", + "properties": + { + "node_label": + { + "type": "string" + }, + "policy_id": + { + "type": "string" + }, + "policy_model_id": + { + "type": "string" + } + }, + "required": ["node_label", "policy_model_id"] + } + } + }, + "additionalProperties": false } }, "required": [ @@ -740,7 +770,7 @@ "type": "string" } }, - "logging": { + "log_info": { "description": "Component specific details for logging", "type": "object", "properties": { @@ -755,6 +785,34 @@ }, "additionalProperties": false }, + "tls_info": { + "description": "Component information to use tls certificates", + "type": "object", + "properties": { + "cert_directory": { + "description": "The path in the container where the component certificates will be placed by the init container", + "type": "string" + }, + "use_tls": { + "description": "Boolean flag to determine if the application is using tls certificates", + "type": "boolean" + } + }, + "required": [ + "cert_directory","use_tls" + ], + "additionalProperties": false + }, + "databases": { + "description": "The databases the application is connecting to using the pgaas", + "type": "object", + "additionalProperties": { + "type": "string", + "enum": [ + "postgres" + ] + } + }, "policy": { "properties": { "trigger_type": { |