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
@@ -688,18 +691,15 @@ def __configure_fmw_infra_database(self):
688
691
try :
689
692
rcu_properties_map = variables .load_variables (props_file )
690
693
691
- print rcu_properties_map
692
- print '------'
693
-
694
694
# parse the tnsnames.ora file and retrieve the connection string
695
695
tns_admin = rcu_properties_map [DRIVER_PARAMS_NET_TNS_ADMIN ]
696
696
tns_names = variables .load_variables ( tns_admin + os .sep +
697
697
'tnsnames.ora' )
698
698
699
- rcu_database = tns_names [rcu_properties_map ['tns.entry' ]]
699
+ rcu_database = tns_names [rcu_properties_map [ATP_TNS_ENTRY ]]
700
700
701
- rcu_prefix = rcu_properties_map ['rcu_prefix' ]
702
- rcu_schema_pwd = rcu_properties_map ['rcu_schema_password' ]
701
+ rcu_prefix = rcu_properties_map [ATP_RCU_PREFIX ]
702
+ rcu_schema_pwd = rcu_properties_map [ATP_RCU_SCHEMA_PASSWORD ]
703
703
704
704
keystore_pwd = rcu_properties_map [DRIVER_PARAMS_KEYSTOREPWD_PROPERTY ]
705
705
truststore_pwd = rcu_properties_map [DRIVER_PARAMS_TRUSTSTOREPWD_PROPERTY ]
You can’t perform that action at this time.
0 commit comments