From 9835c92771ae373ad417a576288662140bc36e8f Mon Sep 17 00:00:00 2001 From: Tomasz Pietruszkiewicz Date: Mon, 15 Feb 2021 11:30:19 +0100 Subject: Fix Failed validating 'oneOf' in schema[1]['properties']['volumes']['items'] in component spec schema Change-Id: Ic8030625397f2c0b93429fc79d3cdcdad51049f1 Issue-ID: DCAEGEN2-2627 Signed-off-by: Tomasz Pietruszkiewicz --- .../dcae-cli-v2/component-spec-schema.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json (limited to 'mod/component-json-schemas') 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 old mode 100644 new mode 100755 index 56dbf3a..4a3597a --- 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 @@ -904,7 +904,8 @@ "type": "string" } } - } + }, + "required": ["host", "container"] }, "config_map_volume": { "type": "object", @@ -924,7 +925,8 @@ "type": "string" } } - } + }, + "required": ["config_volume", "container"] }, "docker_healthcheck_http": { "properties": { @@ -987,4 +989,4 @@ ] } } -} +} \ No newline at end of file -- cgit 1.2.3-korg