Skip to content

Conversation

@CarolynRountree
Copy link
Contributor

Added a tool.properties file to the install image. This contains the timeout values (with values as discussed) which are configurable. The properties in this file are added to the model_context. If the file is not found or a property not found, the same predetermined value is set internally by model_context. A call to wlst_helper for one of these commands will look up the timeout value in the model_context and pass to the command.

The documentation for this change will be in a separate branch. Work in progress.

undeploy.timeout=180000
start.application.timeout=180000
stop.application.timeout=180000
set.server.groups.timeout=30000 No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add newline at the end of the file (more portable)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

class_name=self.__class_name, method_name=_method_name)
self.wlst_helper.set_server_groups(server_name, server_groups)
self.wlst_helper.set_server_groups(server_name, server_groups,
self.model_context.get_model_config().get_set_server_grps_timeout())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get_set_server_grps_timeout no method, s/b get_server_grps_timeout() ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty. Done

@jshum2479 jshum2479 self-requested a review September 23, 2020 18:58
@ddsharpe ddsharpe merged commit 95011ca into master Sep 24, 2020
@ddsharpe ddsharpe deleted the WDT-476-timeouts branch September 24, 2020 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants