Skip to content

Commit 7e92f25

Browse files
Cleaned up messages
1 parent fac6cf0 commit 7e92f25

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

core/src/main/python/wlsdeploy/tool/create/creator.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ def _create_security_provider_mbeans(self, type_name, model_nodes, base_location
193193
for model_name in model_nodes:
194194
model_node = model_nodes[model_name]
195195

196+
# Need to create the node first ?
197+
self.logger.fine('Adding the provider {0} at location {1}', model_name, str(location))
196198
if model_node is None:
197199
# The node is empty so nothing to do... move to the next named node.
198200
continue
@@ -478,19 +480,19 @@ def _delete_existing_providers(self, location):
478480
self.logger.entering(location.get_folder_path(), class_name=self.__class_name, method_name=_method_name)
479481

480482
list_path = self.alias_helper.get_wlst_list_path(location)
481-
self.logger.finer('Look for providers at location {0}', list_path)
482483
existing_folder_names = self._get_existing_folders(list_path)
483484
wlst_base_provider_type = self.alias_helper.get_wlst_mbean_type(location)
484485
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)
486488
else:
487489
create_path = self.alias_helper.get_wlst_create_path(location)
488490
self.wlst_helper.cd(create_path)
489491
for existing_folder_name in existing_folder_names:
490492
try:
491493
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)
494496
except BundleAwareException, bae:
495497
ex = exception_helper.create_exception(self._exception_type, 'WLSDPLY-12134', existing_folder_name,
496498
self.wls_helper.get_weblogic_version(),

core/src/main/resources/oracle/weblogic/deploy/messages/wlsdeploy_rb.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,7 @@ WLSDPLY-12133=Unable to convert "{0}" to value of type {1}
962962
WLSDPLY-12134=Unable to remove "{0}" in target domain release {1}. The remove is required to properly configure \
963963
the Realm Provider Type {2}. Consult the WebLogic Deploy Tool documentation for further information. : {3}
964964
WLSDPLY-12135=Removed Security provider {0} with Provider type {1} at location {2}
965+
WLSDPLY-12136=No default providers installed for {0} at {1}
965966

966967
# domain_creator.py
967968
WLSDPLY-12200={0} did not find the required {1} section in the model file {2}

0 commit comments

Comments
 (0)