-
Notifications
You must be signed in to change notification settings - Fork 0
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
Changes to support executing EPP configurations #56
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cpelley
force-pushed
the
indep_logging_server
branch
from
September 5, 2024 11:38
054c1f0
to
f4e7ac4
Compare
cpelley
changed the title
independent logging server
Changes to support executing EPP configurations
Sep 24, 2024
cpelley
requested review from
PaulAbernethy,
SamGriffithsMO and
mo-robert-purvis
September 27, 2024 11:34
cpelley
force-pushed
the
indep_logging_server
branch
2 times, most recently
from
September 27, 2024 11:58
993478d
to
844d664
Compare
cpelley
force-pushed
the
indep_logging_server
branch
from
September 27, 2024 12:06
d104d48
to
dee59a4
Compare
mo-robert-purvis
approved these changes
Oct 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
More detailed explanation of changes
Running of scheduler now managed outside dagrunner execution (through
dagrunner-logger
script).ThreadingTCPServer
socket server was ever intended to be run within its own thread of the same python instance that the client attaches to the socket. TheThreadingTCPServer
creates a new thread for each client connection.Overhaul remote data polling plugin (final time hopefully).
Refactored logic around
plugin_executor
handling of thecall
parameter. This makes it a lot clearer how keyword arguments are passed along to the underlying 'plugin'. This change also means that an empty dictionary being defined to represent keyword arguments is no longer necessary (i.e. a technical implementation detail imposed on end users).Illustration of what this means (where 'kwargs' represents a dictionary of keyword arguments to pass):
For 'plugin' callables (functions etc.):
no kwargs:
kwargs passed to
callable_obj
:For callables, we check that we are given only 0 or 1 item under 'call' in addition to the callable_obj ref.
For plugin classes:
no kwargs:
kwargs passed for initialisation of
callable_obj
:kwargs passed to plugin object callable:
kwargs passed for initialisation and kwargs2 passed for object callable:
For classes, we check that we are given only 0, 1 or 2 items under 'call' in addition to the callable_obj ref.
Issues