@@ -58,7 +58,7 @@ def deploy(self, is_restart_required=False):
58
58
:raises: DeployException: if an error occurs
59
59
"""
60
60
_method_name = 'deploy'
61
- self .logger .entering (self ._parent_name , self ._parent_type ,
61
+ self .logger .entering (self ._parent_name , self ._parent_type , is_restart_required ,
62
62
class_name = self ._class_name , method_name = _method_name )
63
63
64
64
# Make copies of the model dictionary since we are going
@@ -1229,6 +1229,12 @@ def __start_all_apps(self, deployed_app_list, base_location, is_restart_required
1229
1229
self .logger .entering (deployed_app_list , str_helper .to_string (base_location ), is_restart_required ,
1230
1230
class_name = self ._class_name , method_name = _method_name )
1231
1231
1232
+ if is_restart_required :
1233
+ for app in deployed_app_list :
1234
+ self .logger .notification ('WLSDPLY-09800' , app , class_name = self ._class_name , method_name = _method_name )
1235
+ self .logger .exiting (class_name = self ._class_name , method_name = _method_name )
1236
+ return
1237
+
1232
1238
temp_app_dict = OrderedDict ()
1233
1239
location = LocationContext (base_location ).append_location (APPLICATION )
1234
1240
token_name = self .aliases .get_name_token (location )
@@ -1246,10 +1252,7 @@ def __start_all_apps(self, deployed_app_list, base_location, is_restart_required
1246
1252
1247
1253
start_order = self .__get_deployment_ordering (temp_app_dict )
1248
1254
for app in start_order :
1249
- if is_restart_required :
1250
- self .logger .notification ('WLSDPLY-09800' , app , class_name = self ._class_name , method_name = _method_name )
1251
- else :
1252
- self .__start_app (app )
1255
+ self .__start_app (app )
1253
1256
1254
1257
self .logger .exiting (class_name = self ._class_name , method_name = _method_name )
1255
1258
0 commit comments