@@ -162,22 +162,25 @@ def extract_weblogic_remote_console_extension(self):
162
162
if found_ext :
163
163
self ._upload_extracted_directory (WLSDeployArchive .WRC_EXTENSION_TARGET_DIR_NAME )
164
164
165
- def _add_warnings_for_remote_update_files (self , archive_name , file_paths , destination ):
166
- _logger .todo ('WLSDPLY-06044' , archive_name , ', ' .join (file_paths ), destination )
165
+ def _add_warnings_for_remote_update_files (self , archive_name , file_paths , destination , method_name ):
166
+ if file_paths is not None and len (file_paths ) > 0 :
167
+ _logger .todo ('WLSDPLY-06044' , archive_name , ', ' .join (file_paths ), destination ,
168
+ class_name = _class_name , method_name = method_name )
167
169
168
170
def extract_all_database_wallets (self ):
169
171
"""
170
172
Extract all the database wallets in the archive(s) to the target domain.
171
173
Use SSH if the domain is on a remote system.
172
174
"""
175
+ _method_name = 'extract_all_database_wallets'
173
176
archive_list = self .archive_helper
174
177
175
178
if archive_list :
176
179
if self .model_context .is_remote ():
177
180
wallet_paths = archive_list .get_all_database_wallet_paths ()
178
181
for wallet in wallet_paths :
179
182
remote_dir = self .model_context .get_domain_home ()
180
- self ._add_warnings_for_remote_update_files (wallet ['archive' ], wallet ['paths' ], remote_dir )
183
+ self ._add_warnings_for_remote_update_files (wallet ['archive' ], wallet ['paths' ], remote_dir , _method_name )
181
184
elif not self .model_context .is_ssh ():
182
185
archive_list .extract_all_database_wallets ()
183
186
else :
0 commit comments