Fix Failed validating 'oneOf' in schema[1]['properties']['volumes']['items'] in compo... 36/117836/1
authorTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Mon, 15 Feb 2021 10:30:19 +0000 (11:30 +0100)
committerTomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Mon, 15 Feb 2021 10:30:19 +0000 (11:30 +0100)
Change-Id: Ic8030625397f2c0b93429fc79d3cdcdad51049f1
Issue-ID: DCAEGEN2-2627
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
mod/component-json-schemas/component-specification/dcae-cli-v2/component-spec-schema.json [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 56dbf3a..4a3597a
             "type": "string"
           }
         }
-      }
+      },
+      "required": ["host", "container"]
     },
     "config_map_volume": {
       "type": "object",
             "type": "string"
           }
         }
-      }
+      },
+      "required": ["config_volume", "container"]
     },
     "docker_healthcheck_http": {
       "properties": {
       ]
     }
   }
-}
+}
\ No newline at end of file