@@ -390,7 +390,8 @@ def get_wlst_attribute_name_and_value(self, location, model_attribute_name, mode
390390 else :
391391 wlst_attribute_name = attribute_info [WLST_NAME ]
392392
393- if self ._model_context and USES_PATH_TOKENS in attribute_info and string_utils .to_boolean (attribute_info [USES_PATH_TOKENS ]):
393+ if self ._model_context and USES_PATH_TOKENS in attribute_info and \
394+ string_utils .to_boolean (attribute_info [USES_PATH_TOKENS ]):
394395 model_attribute_value = self ._model_context .replace_token_string (model_attribute_value )
395396
396397 data_type = attribute_info [WLST_TYPE ]
@@ -524,34 +525,6 @@ def get_wlst_lsa_required_attribute_names(self, location):
524525
525526 return wlst_attribute_names
526527
527- def get_wlst_method_required_attribute_names (self , location ):
528- """
529- Get the list of attribute names that have special methods that will get the attribute
530- value using wlst.
531- :param location: the location
532- :return: map[string=string]: the map of attribute names and the get method to invoke
533- :raises: AliasException: if an error occurs due to a bad location or bad alias data
534- """
535- _method_name = 'get_wlst_method_required_attribute_names'
536-
537- wlst_attribute_names = dict ()
538-
539- module_folder = self ._alias_entries .get_dictionary_for_location (location )
540-
541- if ATTRIBUTES not in module_folder :
542- ex = exception_helper .create_alias_exception ('WLSDPLY-08400' , location .get_folder_path ())
543- self ._logger .throwing (ex , class_name = self ._class_name , method_name = _method_name )
544- raise ex
545-
546- for key , value in module_folder [ATTRIBUTES ].iteritems ():
547- if GET_METHOD in value and value [GET_METHOD ].startswith (METHOD ):
548- get_method_value_components = value [GET_METHOD ].split ('.' )
549- if len (get_method_value_components ) == 2 :
550- attr_get_method_name = get_method_value_components [1 ]
551- wlst_attribute_names [value [WLST_NAME ]] = attr_get_method_name
552-
553- return wlst_attribute_names
554-
555528 def get_wlst_get_returns_mbean_attribute_names_and_types (self , location ):
556529 """
557530 Get the dictionary of attribute names and types that have their get_mbean_type specified.
0 commit comments