Skip to content
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

Merged
merged 4 commits into from
Oct 9, 2023

Conversation

kalinchan
Copy link
Member

@kalinchan kalinchan commented Oct 3, 2023

Description

Commands

  • start-domain
  • restart-domain
  • stop-domain
  • stop-domains
  • stop-all-domains
  • start-domains
  • restart-domains

Testing

Testing Performed

Manual testing

Testing Environment

Ubuntu 22.04.2 LTS, maven 3.8.6 zulu jdk 11

Documentation

payara/Payara-Documentation#325

@Pandrex247
Copy link
Member

Jenkins test please

Copy link
Member

@Pandrex247 Pandrex247 left a 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

Copy link
Member

@Pandrex247 Pandrex247 left a 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)

@kalinchan kalinchan requested a review from Pandrex247 October 6, 2023 11:38
Copy link
Member

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 command
  • domainTimeout - timeout for each individual domain

Copy link
Member

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 command
  • domainTimeout - timeout for each individual domain

Copy link
Member

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 command
  • domainTimeout - timeout for each individual domain

Copy link
Member

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 command
  • domainTimeout - timeout for each individual domain

@Pandrex247 Pandrex247 merged commit c6f0272 into payara:master Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants