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

Tweak spring boot properties to allow access to shutdown endpoint #664

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

labkey-tchad
Copy link
Member

Rationale

The Spring shutdown endpoint (localhost:$port/actuator/shutdown) is currently inaccessible because the request is sent to LabKey. If we set the servlet context-path to /actuator instead of / and set the management endpoint base path to / instead of /actuator, shutdown requests are handled correctly.
This might not be the correct longterm solution but being unable to shut down embedded LabKey is a big problem for wider use on TeamCity.

Related Pull Requests

  • N/A

Changes

  • Tweak spring boot properties to allow access to shutdown endpoint
  • Create pid file when starting embedded LabKeyServer

@labkey-tchad labkey-tchad merged commit 89052b4 into develop Jan 5, 2024
2 checks passed
@labkey-tchad labkey-tchad deleted the fb_embedded_testFixes branch January 5, 2024 23:57
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