@@ -193,6 +193,8 @@ def _create_security_provider_mbeans(self, type_name, model_nodes, base_location
193
193
for model_name in model_nodes :
194
194
model_node = model_nodes [model_name ]
195
195
196
+ # Need to create the node first ?
197
+ self .logger .fine ('Adding the provider {0} at location {1}' , model_name , str (location ))
196
198
if model_node is None :
197
199
# The node is empty so nothing to do... move to the next named node.
198
200
continue
@@ -478,19 +480,19 @@ def _delete_existing_providers(self, location):
478
480
self .logger .entering (location .get_folder_path (), class_name = self .__class_name , method_name = _method_name )
479
481
480
482
list_path = self .alias_helper .get_wlst_list_path (location )
481
- self .logger .finer ('Look for providers at location {0}' , list_path )
482
483
existing_folder_names = self ._get_existing_folders (list_path )
483
484
wlst_base_provider_type = self .alias_helper .get_wlst_mbean_type (location )
484
485
if len (existing_folder_names ) == 0 :
485
- self .logger .finer ('No default providers installed for {0} at {1}' , wlst_base_provider_type , list_path )
486
+ self .logger .finer ('WLSDPLY-12136' , wlst_base_provider_type , list_path , class_name = self .__class_name ,
487
+ method_name = _method_name )
486
488
else :
487
489
create_path = self .alias_helper .get_wlst_create_path (location )
488
490
self .wlst_helper .cd (create_path )
489
491
for existing_folder_name in existing_folder_names :
490
492
try :
491
493
self .wlst_helper .delete (existing_folder_name , wlst_base_provider_type )
492
- self .logger .finer ('Removed default provider {0} from provider {1} at location {2}' ,
493
- existing_folder_name , wlst_base_provider_type , create_path )
494
+ self .logger .finer ('WLSDPLY-12135' , existing_folder_name , wlst_base_provider_type , create_path ,
495
+ class_name = self . __class_name , method_name = _method_name )
494
496
except BundleAwareException , bae :
495
497
ex = exception_helper .create_exception (self ._exception_type , 'WLSDPLY-12134' , existing_folder_name ,
496
498
self .wls_helper .get_weblogic_version (),
0 commit comments