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

Make ControlServices comply with autostart server settings #705

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Enet4
Copy link
Collaborator

@Enet4 Enet4 commented Nov 13, 2024

  • do not start the service(s) if their respective autostart setting is set to false, a regression probably existing since Dicoogle 3.0.0
  • remove unused variable webServicesRunning in ControlServices
  • remove use of raw types in startStorage()
  • remove outdated TODO note
  • refactor ControlServices#startStorage() to return whether the service started (true) or was already running (false) and raise an exception on error
  • adjust ServicesServlet according to changes to ControlServices, and for the output to be more precise and informative

- do not start the service(s) if their respective autostart setting is set to false,
  a regression probably existing since Dicoogle 3.0.0
- remove unused variable `webServicesRunning` in ControlServices
- remove use of raw types in startStorage()
- remove outdated TODO note
- refactor ControlServices#startStorage() to return and raise exception
- adjust ServicesServlet according to changes to ControlServices
  and to be more informative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant