Skip to content

Commit c407614

Browse files
author
Johnny
committed
Merge remote-tracking branch 'origin/atptest' into atptest
# Conflicts: # core/src/main/python/create.py # core/src/main/python/wlsdeploy/tool/create/domain_creator.py
2 parents 004ac3c + 8b073f9 commit c407614

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

core/src/main/python/create.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def __process_args(args):
9090
"""
9191
cla_util = CommandLineArgUtil(_program_name, __required_arguments, __optional_arguments)
9292
required_arg_map, optional_arg_map = cla_util.process_args(args, True)
93-
9493
__verify_required_args_present(required_arg_map)
9594
__process_java_home_arg(optional_arg_map)
9695
__process_domain_location_args(optional_arg_map)

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,7 @@ def __configure_fmw_infra_database(self):
871871
svc_table_ds_name = self.wls_helper.get_jrf_service_table_datasource_name()
872872
if token_name is not None:
873873
location.add_name_token(token_name, svc_table_ds_name)
874+
<<<<<<< HEAD
874875

875876
location.append_location(JDBC_RESOURCE)
876877
location.append_location(JDBC_DRIVER_PARAMS)
@@ -894,11 +895,36 @@ def __configure_fmw_infra_database(self):
894895
location.append_location(JDBC_DRIVER_PARAMS_PROPERTIES)
895896
token_name = self.alias_helper.get_name_token(location)
896897

898+
=======
899+
900+
location.append_location(JDBC_RESOURCE)
901+
location.append_location(JDBC_DRIVER_PARAMS)
902+
wlst_path = self.alias_helper.get_wlst_attributes_path(location)
903+
self.wlst_helper.cd(wlst_path)
904+
905+
svc_table_driver_name = self.wls_helper.get_stb_data_source_jdbc_driver_name()
906+
wlst_name, wlst_value = \
907+
self.alias_helper.get_wlst_attribute_name_and_value(location, DRIVER_NAME, svc_table_driver_name)
908+
self.wlst_helper.set_if_needed(wlst_name, wlst_value, JDBC_DRIVER_PARAMS, svc_table_ds_name)
909+
910+
wlst_name, wlst_value = \
911+
self.alias_helper.get_wlst_attribute_name_and_value(location, URL, fmw_database)
912+
self.wlst_helper.set_if_needed(wlst_name, wlst_value, JDBC_DRIVER_PARAMS, svc_table_ds_name)
913+
914+
wlst_name, wlst_value = \
915+
self.alias_helper.get_wlst_attribute_name_and_value(location, PASSWORD_ENCRYPTED,
916+
rcu_schema_pwd, masked=True)
917+
self.wlst_helper.set_if_needed(wlst_name, wlst_value, JDBC_DRIVER_PARAMS, svc_table_ds_name, masked=True)
918+
919+
location.append_location(JDBC_DRIVER_PARAMS_PROPERTIES)
920+
token_name = self.alias_helper.get_name_token(location)
921+
>>>>>>> origin/atptest
897922
if token_name is not None:
898923
location.add_name_token(token_name, DRIVER_PARAMS_USER_PROPERTY)
899924

900925
stb_user = self.wls_helper.get_stb_user_name(rcu_prefix)
901926
self.logger.fine('WLSDPLY-12222', stb_user, class_name=self.__class_name, method_name=_method_name)
927+
<<<<<<< HEAD
902928
wlst_path = self.alias_helper.get_wlst_attributes_path(location)
903929
self.wlst_helper.cd(wlst_path)
904930
wlst_name, wlst_value = \
@@ -910,6 +936,18 @@ def __configure_fmw_infra_database(self):
910936
if self.wls_helper.is_database_defaults_supported():
911937
self.wlst_helper.get_database_defaults()
912938

939+
=======
940+
941+
wlst_path = self.alias_helper.get_wlst_attributes_path(location)
942+
self.wlst_helper.cd(wlst_path)
943+
wlst_name, wlst_value = \
944+
self.alias_helper.get_wlst_attribute_name_and_value(location, DRIVER_PARAMS_PROPERTY_VALUE, stb_user)
945+
self.wlst_helper.set_if_needed(wlst_name, wlst_value,
946+
JDBC_DRIVER_PARAMS_PROPERTIES, DRIVER_PARAMS_USER_PROPERTY)
947+
948+
self.logger.info('WLSDPLY-12223', class_name=self.__class_name, method_name=_method_name)
949+
self.wlst_helper.get_database_defaults()
950+
>>>>>>> origin/atptest
913951

914952
self.logger.exiting(class_name=self.__class_name, method_name=_method_name)
915953
return

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class CommandLineArgUtil(object):
6666
VARIABLE_INJECTOR_FILE_SWITCH = '-variable_injector_file'
6767
VARIABLE_KEYWORDS_FILE_SWITCH = '-variable_keywords_file'
6868
VARIABLE_PROPERTIES_FILE_SWITCH = '-variable_properties_file'
69+
6970
# a slot to stash the parsed domain typedef dictionary
7071
DOMAIN_TYPEDEF = 'domain_typedef'
7172
# a slot to stash the archive file object
@@ -969,6 +970,7 @@ def _validate_variable_properties_file_arg(self, value):
969970
raise ex
970971
return variables.getAbsolutePath()
971972

973+
972974
###########################################################################
973975
# Helper methods #
974976
###########################################################################

0 commit comments

Comments
 (0)