Skip to content

Commit 382139f

Browse files
Checked in discover code with validation commented out
1 parent e04878e commit 382139f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

core/src/main/python/discover.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -428,14 +428,14 @@ def __check_and_customize_model(model, model_context, aliases):
428428
inject_variables_keyword_file()
429429
if inserted:
430430
model = Model(variable_model)
431-
# try:
432-
# validator = Validator(model_context, wlst_mode=__wlst_mode, aliases=aliases)
433-
#
434-
# # no variables are generated by the discover tool
435-
# validator.validate_in_tool_mode(model.get_model(), variables_file_name=variable_file_name,
436-
# archive_file_name=model_context.get_archive_file_name())
437-
# except ValidateException, ex:
438-
# __logger.warning('WLSDPLY-06015', ex.getLocalizedMessage(), class_name=_class_name, method_name=_method_name)
431+
try:
432+
validator = Validator(model_context, wlst_mode=__wlst_mode, aliases=aliases)
433+
434+
# no variables are generated by the discover tool
435+
validator.validate_in_tool_mode(model.get_model(), variables_file_name=variable_file_name,
436+
archive_file_name=model_context.get_archive_file_name())
437+
except ValidateException, ex:
438+
__logger.warning('WLSDPLY-06015', ex.getLocalizedMessage(), class_name=_class_name, method_name=_method_name)
439439
return model
440440

441441

0 commit comments

Comments
 (0)