4848from wlsdeploy .util .weblogic_helper import WebLogicHelper
4949from wlsdeploy .tool .create import atp_helper
5050from wlsdeploy .tool .create import ssl_helper
51- from wlsdeploy .aliases .model_constants import DOMAIN_INFO
52- from wlsdeploy .aliases .model_constants import DRIVER_PARAMS_NET_TNS_ADMIN
5351
5452wlst_helper .wlst_functions = globals ()
5553
@@ -255,12 +253,13 @@ def validate_rcu_args_and_model(model_context, model, archive_helper, aliases):
255253 __logger .severe ('WLSDPLY-12408' , model_context .get_domain_type (), CommandLineArgUtil .RCU_DB_SWITCH ,
256254 CommandLineArgUtil .RCU_PREFIX_SWITCH )
257255 cla_helper .clean_up_temp_files ()
258- tool_exit .end (model_context , CommandLineArgUtil . PROG_ERROR_EXIT_CODE )
256+ tool_exit .end (model_context , ExitCode . ERROR )
259257
260258 return has_atpdbinfo , has_ssldbinfo
261259
262260
263261def _validate_atp_wallet_in_archive (archive_helper , is_regular_db , has_tns_admin , model , model_context ):
262+ _method_name = '_validate_atp_wallet_in_archive'
264263 if archive_helper and not is_regular_db :
265264 # 1. If it does not have the oracle.net.tns_admin specified, then extract to domain/atpwallet
266265 # 2. If it is plain old regular oracle db, do nothing
@@ -274,7 +273,7 @@ def _validate_atp_wallet_in_archive(archive_helper, is_regular_db, has_tns_admin
274273 else :
275274 __logger .severe ('WLSDPLY-12411' , error = None , class_name = _class_name , method_name = _method_name )
276275 cla_helper .clean_up_temp_files ()
277- tool_exit .end (model_context , CommandLineArgUtil . PROG_ERROR_EXIT_CODE )
276+ tool_exit .end (model_context , ExitCode . ERROR )
278277
279278 if not is_regular_db :
280279 System .setProperty ('oracle.jdbc.fanEnabled' , 'false' )
0 commit comments