Skip to content

Commit fffdb96

Browse files
Wdt add ohs to resource group template (#632)
* Fix java.lang.Boolean issues for ActiveDirectoryAuthenticator * Add system component and OHS to resource group template
1 parent 7801d6d commit fffdb96

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,12 @@ def _get_model_name(self, location, wlst_name):
528528
# The below call will throw an exception if the folder does not exist; need to have that
529529
# exception thrown. The get_model_subfolder_name does not throw an exception if the alias
530530
# does not exist. We do not want an exception if the folder is just not available for the version
531-
mbean_type = self._alias_helper.get_wlst_mbean_type(location)
531+
# Update 05/21/20 - does not make sense to stop discover because of missing alias definition.
532+
try:
533+
mbean_type = self._alias_helper.get_wlst_mbean_type(location)
534+
except DiscoverException, ae:
535+
_logger.warning('WLSDPLY-06156', str(location), class_name=_class_name, method_name=_method_name)
536+
mbean_type = None
532537
if mbean_type:
533538
model_name = self._alias_helper.get_model_subfolder_name(location, wlst_name)
534539
_logger.finest('WLSDPLY-06118', model_name, wlst_name, class_name=_class_name, method_name=_method_name)

core/src/main/resources/oracle/weblogic/deploy/aliases/category_modules/ResourceGroupTemplate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929
"Library",
3030
"MailSession",
3131
"MessagingBridge",
32+
"OHS",
3233
"PathService",
3334
"SAFAgent",
35+
"SystemComponent",
3436
"WLDFSystemResource"
3537
]
3638
}

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
@@ -533,6 +533,7 @@ WLSDPLY-06153=Attribute {0} for model folder at location {1} is not in the lsa m
533533
WLSDPLY-06154=Attribute {0} for model folder at location {1} is not in the lsa map and is not defined with get \
534534
to retrieve the attribute value
535535
WLSDPLY-06155=Attribute {0} value at location {1} replaced by token {2}
536+
WLSDPLY-06156=MBean not defined in alias definitions at location {0}. Will skip discovery of MBean folder.
536537

537538
# mbean_getter.py, attribute_getter.py specific to discover
538539
WLSDPLY-06200=Unable to get the Security Realm Provider name in version {0} with offline WLST. \

0 commit comments

Comments
 (0)