Skip to content

Commit 8c1e2ad

Browse files
ISSUE#168 fix for the single unpredictable change to security configuration
1 parent c714c90 commit 8c1e2ad

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

core/src/main/python/wlsdeploy/tool/discover/discoverer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,6 @@ def add_to_model_if_not_empty(dictionary, entry_name, entry_value):
663663
:param entry_value: to add to dictionary
664664
:return: True if the value was not empty and added to the dictionary
665665
"""
666-
_logger.info('name {0} and value {1}', entry_name, entry_value)
667666
if entry_value and len(entry_value):
668667
dictionary[entry_name] = entry_value
669668
return True

core/src/main/python/wlsdeploy/tool/discover/topology_discoverer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def discover_security_configuration(self):
290290
security_configuration = self._find_singleton_name_in_folder(location)
291291
if security_configuration is not None:
292292
_logger.info('WLSDPLY-06622', class_name=_class_name, method_name=_method_name)
293+
location.add_name_token(self._alias_helper.get_name_token(location), security_configuration)
293294
self._populate_model_parameters(result, location)
294295
try:
295296
self._discover_subfolders(result, location)

core/src/main/python/wlsdeploy/util/weblogic_helper.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ def get_default_security_realm_name(self):
130130
"""
131131
return 'myrealm'
132132

133+
def is_version_in_12c(self):
134+
"""
135+
Is the weblogic version a 12c version?
136+
:return: True if the version is 12c
137+
"""
138+
return self.is_weblogic_version_or_above('12.1.2')
139+
133140
# This method should be deleted once all of the old code is converted to the new model.
134141
def get_wlst_exception_content(self, message):
135142
"""

0 commit comments

Comments
 (0)