Skip to content

Commit c3875da

Browse files
Issue#633 determining when to perform opss db (#635)
* Fix java.lang.Boolean issues for ActiveDirectoryAuthenticator * Expand the parmeters of what might be JRF domain
1 parent 2276e95 commit c3875da

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class DomainTypedef(object):
3232

3333
JRF_TEMPLATE_REGEX = "^(.*jrf_template[0-9._]*\\.jar)|(Oracle JRF WebServices Asynchronous services)$"
3434
RESTRICTED_JRF_TEMPLATE_REGEX = "^(Oracle Restricted JRF)$"
35+
JRF_SERVER_GROUP = 'JRF-MAN-SVR'
3536

3637
def __init__(self, program_name, domain_type):
3738
"""
@@ -108,13 +109,16 @@ def has_jrf_resources(self):
108109

109110
def is_jrf_domain_type(self):
110111
"""
111-
Determine if this is a JRF domain type by checking for the JRF extension template.
112+
Determine if this is a JRF domain type by checking for the JRF extension template or
113+
JRF SVR GrOUP.
112114
This returns False for the Restricted JRF domain type.
113115
:return: True if the JRF template is present
114116
"""
115117
for template in self.get_extension_templates():
116118
if re.match(self.JRF_TEMPLATE_REGEX, template):
117119
return True
120+
if self.JRF_SERVER_GROUP in self.get_server_groups_to_target():
121+
return True
118122
return False
119123

120124
def is_restricted_jrf_domain_type(self):

0 commit comments

Comments
 (0)