-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/mangement functionality #21
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
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #21 +/- ##
=====================================
Coverage 0% 0%
=====================================
Files 8 9 +1
Lines 172 184 +12
Branches 15 18 +3
=====================================
- Misses 172 184 +12
Continue to review full report at Codecov.
|
bhermann
left a comment
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.
This PR introduces an endpoint that allows anyone to stop the web application.
This is critical and allows a very easy denial-of-service attack.
This functionality should be protected with an API key at least.
Also, while sys.exit(1) is effective, it has two problems: 1) return code 1 conveys that the exit was because of a fault, 2) it does not gracefully shut down the actor system, thus, terminating open connections, etc.
Please adapt the current solution.
|
Please clarify the relation of the PR and PR #22. I am confused which one is current as both make quite similar changes. |
|
As far as i can see, this PR is fully contained in #22 and should therefore be closed. Since the management functionality added in this PR is actually needed for the implementation of the new Instance Registry API (see #22) it does not make sense to have a dedicated PR for this in my opinion. @sami-cseseu do you agree ? If so, please close this PR. |
Added stop, version functionality for Delphi management