@@ -189,12 +189,12 @@ def __validate_wls_credential_mappings_section(self, mappings_dict):
189189
190190 remote_resources_dict = dictionary_utils .get_dictionary_element (mappings_dict , REMOTE_RESOURCE )
191191 for mapping_name , mapping_dict in remote_resources_dict .iteritems ():
192- method = dictionary_utils . get_element (mapping_dict , METHOD )
192+ method = self . _get_validation_value (mapping_dict , METHOD )
193193 if method and method not in RESOURCE_METHODS :
194194 self ._logger .severe ('WLSDPLY-05313' , method , REMOTE_RESOURCE , mapping_name , METHOD ,
195195 ', ' .join (RESOURCE_METHODS ), class_name = _class_name , method_name = _method_name )
196196
197- protocol = dictionary_utils . get_element (mapping_dict , PROTOCOL )
197+ protocol = self . _get_validation_value (mapping_dict , PROTOCOL )
198198 if protocol and protocol not in RESOURCE_PROTOCOLS :
199199 self ._logger .severe ('WLSDPLY-05313' , protocol , REMOTE_RESOURCE , mapping_name , PROTOCOL ,
200200 ', ' .join (RESOURCE_PROTOCOLS ), class_name = _class_name , method_name = _method_name )
@@ -211,29 +211,29 @@ def __validate_rcu_db_info_section(self, info_dict):
211211 self ._check_deprecated_field (ATP_TEMPORARY_TABLESPACE , info_dict , RCU_DB_INFO , RCU_TEMP_TBLSPACE )
212212
213213 # deprecated DATABASE_TYPE, must be ORACLE, ATP, or SSL if specified
214- old_database_type = dictionary_utils . get_element (info_dict , DATABASE_TYPE )
214+ old_database_type = self . _get_validation_value (info_dict , DATABASE_TYPE )
215215 if old_database_type and old_database_type not in DEPRECATED_DB_TYPES :
216216 self ._logger .severe (
217217 'WLSDPLY-05302' , old_database_type , RCU_DB_INFO , DATABASE_TYPE ,
218218 ', ' .join (DEPRECATED_DB_TYPES ), class_name = _class_name , method_name = _method_name )
219219
220220 # RCU_DATABASE_TYPE must be one of allowed types if specified
221- database_type = dictionary_utils . get_element (info_dict , RCU_DATABASE_TYPE )
221+ database_type = self . _get_validation_value (info_dict , RCU_DATABASE_TYPE )
222222 if database_type and database_type not in ALL_DB_TYPES :
223223 self ._logger .severe (
224224 'WLSDPLY-05302' , database_type , RCU_DB_INFO , RCU_DATABASE_TYPE ,
225225 ', ' .join (ALL_DB_TYPES ), class_name = _class_name , method_name = _method_name )
226226
227227 # ORACLE_DATABASE_CONNECTION_TYPE must be one of allowed types if specified
228- connection_type = dictionary_utils . get_element (info_dict , ORACLE_DATABASE_CONNECTION_TYPE )
228+ connection_type = self . _get_validation_value (info_dict , ORACLE_DATABASE_CONNECTION_TYPE )
229229 if connection_type and connection_type not in ORACLE_DB_CONNECTION_TYPES :
230230 self ._logger .severe (
231231 'WLSDPLY-05302' , connection_type , RCU_DB_INFO , ORACLE_DATABASE_CONNECTION_TYPE ,
232232 ', ' .join (ORACLE_DB_CONNECTION_TYPES ), class_name = _class_name , method_name = _method_name )
233233
234234 # *StoreType must be one of allowed types if specified
235235 for type_field in [DRIVER_PARAMS_TRUSTSTORETYPE_PROPERTY , DRIVER_PARAMS_KEYSTORETYPE_PROPERTY ]:
236- type_value = dictionary_utils . get_element (info_dict , type_field )
236+ type_value = self . _get_validation_value (info_dict , type_field )
237237 if type_value and type_value .upper () not in STORE_TYPES :
238238 self ._logger .severe (
239239 'WLSDPLY-05302' , type_value , RCU_DB_INFO , type_field ,
0 commit comments