File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
core/src/main/python/wlsdeploy Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 284
284
DRIVER_PARAMS_NET_SSL_VERSION = 'oracle.net.ssl_version'
285
285
DRIVER_PARAMS_NET_TNS_ADMIN = 'oracle.net.tns_admin'
286
286
DRIVER_PARAMS_NET_FAN_ENABLED = 'oracle.jdbc.fanEnabled'
287
+ ATP_RCU_PREFIX = 'rcu_prefix'
288
+ ATP_RCU_SCHEMA_PASSWORD = 'rcu_schema_password'
289
+ ATP_TNS_ENTRY = 'tns.entry'
290
+
287
291
ENABLED = 'Enabled'
288
292
HARVESTED_ATTRIBUTE = 'HarvestedAttribute'
289
293
HARVESTED_INSTANCE = 'HarvestedInstance'
Original file line number Diff line number Diff line change 28
28
from wlsdeploy .aliases .model_constants import DRIVER_PARAMS_NET_SSL_VERSION
29
29
from wlsdeploy .aliases .model_constants import DRIVER_PARAMS_NET_TNS_ADMIN
30
30
from wlsdeploy .aliases .model_constants import DRIVER_PARAMS_NET_FAN_ENABLED
31
+ from wlsdeploy .aliases .model_constants import ATP_RCU_PREFIX
32
+ from wlsdeploy .aliases .model_constants import ATP_RCU_SCHEMA_PASSWORD
33
+ from wlsdeploy .aliases .model_constants import ATP_TNS_ENTRY
31
34
32
35
from wlsdeploy .aliases .model_constants import JDBC_DRIVER_PARAMS
33
36
from wlsdeploy .aliases .model_constants import JDBC_DRIVER_PARAMS_PROPERTIES
@@ -694,18 +697,15 @@ def __configure_fmw_infra_database(self):
694
697
try :
695
698
rcu_properties_map = variables .load_variables (props_file )
696
699
697
- print rcu_properties_map
698
- print '------'
699
-
700
700
# parse the tnsnames.ora file and retrieve the connection string
701
701
tns_admin = rcu_properties_map [DRIVER_PARAMS_NET_TNS_ADMIN ]
702
702
tns_names = variables .load_variables ( tns_admin + os .sep +
703
703
'tnsnames.ora' )
704
704
705
- rcu_database = tns_names [rcu_properties_map ['tns.entry' ]]
705
+ rcu_database = tns_names [rcu_properties_map [ATP_TNS_ENTRY ]]
706
706
707
- rcu_prefix = rcu_properties_map ['rcu_prefix' ]
708
- rcu_schema_pwd = rcu_properties_map ['rcu_schema_password' ]
707
+ rcu_prefix = rcu_properties_map [ATP_RCU_PREFIX ]
708
+ rcu_schema_pwd = rcu_properties_map [ATP_RCU_SCHEMA_PASSWORD ]
709
709
710
710
keystore_pwd = rcu_properties_map [DRIVER_PARAMS_KEYSTOREPWD_PROPERTY ]
711
711
truststore_pwd = rcu_properties_map [DRIVER_PARAMS_TRUSTSTOREPWD_PROPERTY ]
You can’t perform that action at this time.
0 commit comments