Skip to content

Skip RCUDBInfo processing if the domain type is not JRF #460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions core/src/main/python/wlsdeploy/tool/create/domain_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def __run_rcu(self):
java_home = self.model_context.get_java_home()

if RCU_DB_INFO in self.model.get_model_domain_info():

rcu_properties_map = self.model.get_model_domain_info()[RCU_DB_INFO]
rcu_db_info = RcuDbInfo(self.alias_helper, rcu_properties_map)

Expand Down Expand Up @@ -807,6 +808,10 @@ def __configure_fmw_infra_database(self):
_method_name = '__configure_fmw_infra_database'
self.logger.entering(class_name=self.__class_name, method_name=_method_name)

if not self._domain_typedef.is_jrf_domain_type():
self.logger.warning('WLSDPLY-12249')
return

has_atp = 0
# For ATP databases : we need to set all the property for each datasource
# load atp connection properties from properties file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,7 @@ WLSDPLY-12246=Adding custom extension template file {0} to domain
WLSDPLY-12247=WebLogic does not support targeting resources to dynamic servers. JRF product related resources \
will be targeted to the dynamic cluster using the applyJRF function.
WLSDPLY-12248=The server group(s) {0} will not be targeted to the Admin server or a configured manage server
WLSDPLY-12249=RCUDBInfo section is specified in the model but the domain type used is not JRF, RCU processing skipped

# domain_typedef.py
WLSDPLY-12300={0} got the domain type {1} but the domain type definition file {2} was not valid: {3}
Expand Down