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 18
18
# Jython tools don't require sys.path modification
19
19
20
20
# imports from local packages start here
21
+ from wlsdeploy .aliases .aliases import Aliases
21
22
from wlsdeploy .aliases .wlst_modes import WlstModes
22
23
from wlsdeploy .exception import exception_helper
24
+ from wlsdeploy .exception .expection_types import ExceptionType
23
25
from wlsdeploy .logging .platform_logger import PlatformLogger
24
26
from wlsdeploy .tool .util import filter_helper
25
27
from wlsdeploy .tool .util import model_context_helper
@@ -107,7 +109,9 @@ def __perform_model_file_validation(model_file_name, model_context):
107
109
class_name = _class_name , method_name = _method_name )
108
110
109
111
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 )
111
115
variable_map = model_validator .load_variables (model_context .get_variable_file ())
112
116
model_dictionary = cla_helper .merge_model_files (model_file_name , variable_map )
113
117
You can’t perform that action at this time.
0 commit comments