-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FISH-7454 Add timeout option for domain commands #6428
Conversation
Jenkins test please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments.
Also, what about:
- StopDomainsCommand
- StopAllDomansCommand
- com.sun.enterprise.v3.admin.StopDomainCommand
- com.sun.enterprise.v3.admin.RestartDomainCommand
- StartDomainsCommand
- RestartDomainsCommand
...in/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/cli/StartDomainCommand.java
Outdated
Show resolved
Hide resolved
...min/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/cli/StopDomainCommand.java
Outdated
Show resolved
Hide resolved
...min/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/cli/StopDomainCommand.java
Outdated
Show resolved
Hide resolved
...admin/server-mgmt/src/main/manpages/com/sun/enterprise/admin/servermgmt/cli/restart-domain.1
Outdated
Show resolved
Hide resolved
...s/admin/server-mgmt/src/main/manpages/com/sun/enterprise/admin/servermgmt/cli/start-domain.1
Outdated
Show resolved
Hide resolved
...us/admin/server-mgmt/src/main/manpages/com/sun/enterprise/admin/servermgmt/cli/stop-domain.1
Outdated
Show resolved
Hide resolved
.../server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/cli/RestartDomainCommand.java
Outdated
Show resolved
Hide resolved
...min/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/cli/StopDomainCommand.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like the defaults should be:
- Start - 600 seconds
- Stop - 60 seconds
- Restart - 600 seconds (currently 60)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should command should have the same setup as the start-deployment-group
and start-cluster
commands where there are two timeout parameters:
timeout
- overall timeout for the commanddomainTimeout
- timeout for each individual domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should command should have the same setup as the start-deployment-group
and start-cluster
commands where there are two timeout parameters:
timeout
- overall timeout for the commanddomainTimeout
- timeout for each individual domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should command should have the same setup as the stop-deployment-group
and stop-cluster
commands where there are two timeout parameters:
timeout
- overall timeout for the commanddomainTimeout
- timeout for each individual domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should command should have the same setup as the stop-deployment-group
and stop-cluster
commands where there are two timeout parameters:
timeout
- overall timeout for the commanddomainTimeout
- timeout for each individual domain
Description
Commands
Testing
Testing Performed
Manual testing
Testing Environment
Ubuntu 22.04.2 LTS, maven 3.8.6 zulu jdk 11
Documentation
payara/Payara-Documentation#325