Skip to content

Commit 859da00

Browse files
validate should take multiple variable files (#925)
1 parent 788d10d commit 859da00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/python/wlsdeploy/tool/validate/validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def load_variables(self, variables_file_name):
264264
if variables_file_name is not None:
265265
self._logger.info('WLSDPLY-05004', variables_file_name, class_name=_class_name,
266266
method_name=_method_name)
267-
return variables.load_variables(variables_file_name)
267+
return variables.load_variables(variables_file_name, allow_multiple_files=True)
268268
return {}
269269
except VariableException, ve:
270270
ex = exception_helper.create_validate_exception('WLSDPLY-20004', 'validateModel',

documentation/1.9/content/userguide/tools/validate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The output of the tool will look something like this:
6969
7070
Use the [Model Help Tool]({{< relref "/userguide/tools/model_help.md" >}}) to determine the valid list of attributes and folders at this model location.
7171
72-
If the model contains variable definitions and the variable file is specified, the Validate Model Tool will validate that all variable references in the model are defined in the variable file. For example, invoking the tool as shown here:
72+
If the model contains variable definitions and the variable file or files is specified, the Validate Model Tool will validate that all variable references in the model are defined in the variable files. For example, invoking the tool as shown here:
7373
7474
$ weblogic-deploy\bin\validateModel.cmd -oracle_home c:\wls12213 -model_file InvalidDemoDomain.yaml -variable_file InvalidDemoDomain.properties
7575

0 commit comments

Comments
 (0)