summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-02-15 11:30:19 +0100
committerTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>2021-02-15 11:30:19 +0100
commit9835c92771ae373ad417a576288662140bc36e8f (patch)
tree7cd7c6442744aa6ca35d155fb26a8a4221d0233e
parent8499d0955ad0966975ca2c05fd695633a432f59a (diff)
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 <tomasz.pietruszkiewicz@nokia.com>
-rwxr-xr-x[-rw-r--r--]mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json8
1 files changed, 5 insertions, 3 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 56dbf3a..4a3597a 100644..100755
--- 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