48
48
from wlsdeploy .util .weblogic_helper import WebLogicHelper
49
49
from wlsdeploy .tool .create import atp_helper
50
50
from 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
53
51
54
52
wlst_helper .wlst_functions = globals ()
55
53
@@ -255,12 +253,13 @@ def validate_rcu_args_and_model(model_context, model, archive_helper, aliases):
255
253
__logger .severe ('WLSDPLY-12408' , model_context .get_domain_type (), CommandLineArgUtil .RCU_DB_SWITCH ,
256
254
CommandLineArgUtil .RCU_PREFIX_SWITCH )
257
255
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 )
259
257
260
258
return has_atpdbinfo , has_ssldbinfo
261
259
262
260
263
261
def _validate_atp_wallet_in_archive (archive_helper , is_regular_db , has_tns_admin , model , model_context ):
262
+ _method_name = '_validate_atp_wallet_in_archive'
264
263
if archive_helper and not is_regular_db :
265
264
# 1. If it does not have the oracle.net.tns_admin specified, then extract to domain/atpwallet
266
265
# 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
274
273
else :
275
274
__logger .severe ('WLSDPLY-12411' , error = None , class_name = _class_name , method_name = _method_name )
276
275
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 )
278
277
279
278
if not is_regular_db :
280
279
System .setProperty ('oracle.jdbc.fanEnabled' , 'false' )
0 commit comments