File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1818# Jython tools don't require sys.path modification
1919
2020# imports from local packages start here
21+ from wlsdeploy .aliases .aliases import Aliases
2122from wlsdeploy .aliases .wlst_modes import WlstModes
2223from wlsdeploy .exception import exception_helper
24+ from wlsdeploy .exception .expection_types import ExceptionType
2325from wlsdeploy .logging .platform_logger import PlatformLogger
2426from wlsdeploy .tool .util import filter_helper
2527from wlsdeploy .tool .util import model_context_helper
@@ -107,7 +109,9 @@ def __perform_model_file_validation(model_file_name, model_context):
107109 class_name = _class_name , method_name = _method_name )
108110
109111 try :
110- model_validator = Validator (model_context , logger = __logger )
112+ wlst_mode = model_context .get_target_wlst_mode ()
113+ aliases = Aliases (model_context = model_context , wlst_mode = wlst_mode , exception_type = ExceptionType .VALIDATE )
114+ model_validator = Validator (model_context , aliases = aliases , logger = __logger )
111115 variable_map = model_validator .load_variables (model_context .get_variable_file ())
112116 model_dictionary = cla_helper .merge_model_files (model_file_name , variable_map )
113117
You can’t perform that action at this time.
0 commit comments