-
Notifications
You must be signed in to change notification settings - Fork 30
refactor/query-workers #528
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
Merged
Merged
Changes from all commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
ae891b2
add files that we'll need for this refactor
bgunnar5 3254380
add MerlinBaseFactory class
bgunnar5 1e48dea
refactor MerlinBackendFactory to use MerlinBaseFactory
bgunnar5 1edf5ba
add tests for MerlinBaseFactory and fix backend tests
bgunnar5 0134cd3
convert monitor factory to use new MerlinBaseFactory
bgunnar5 1c0088f
remove comment and update MonitorFactory docstring
bgunnar5 b8c9e19
update MerlinStatusRendererFactory to use MerlinBaseFactory and fix T…
bgunnar5 88cda38
add tests for the status renderer factory
bgunnar5 1a9cff2
update CHANGELOG
bgunnar5 f2efe91
run fix-style
bgunnar5 bfbfe03
fix issue with typehint that breaks in python 3.8
bgunnar5 9a5e257
mocked more items to try to fix broken tests on github
bgunnar5 4128bf8
create MerlinWorker and CeleryWorker classes to handle the launching …
bgunnar5 5d554ec
implement worker-handler related classes
bgunnar5 45afd64
add worker factory class and small cleanup to the rest of the worker …
bgunnar5 edead13
remove functions that are now in the new worker files
bgunnar5 7a50198
link the new worker classes to the actual launching of workers
bgunnar5 e51018d
resolve merge conflicts
bgunnar5 60ee2c2
fix regex in test
bgunnar5 c5ba679
remove watchdog files and run fix-style
bgunnar5 17ae613
fix tests that broke after refactor
bgunnar5 889541e
run fix-style
bgunnar5 4e1e1fb
update CHANGELOG
bgunnar5 b7caa85
refactored how the database command is initially processed
bgunnar5 b08f358
add filtering logic to the entity managers
bgunnar5 2e12115
add support for database-level filtering
bgunnar5 595df60
move get_plural_of_entity and get_singular_of_entity to utils.py
bgunnar5 b4bab5e
fix database command tests
bgunnar5 37feee9
fix broken tests for entity manager
bgunnar5 64f23a2
run fix-style and update CHANGELOG
bgunnar5 14b6ce0
add tests for new backend filtering
bgunnar5 7eb7529
add tests for new cli utils functions
bgunnar5 29151e6
fix typo in cli/utils.py
bgunnar5 0e747e9
run fix-style
bgunnar5 24042da
add filter options to the command line page
bgunnar5 c7949f3
resolve conflicts
bgunnar5 50743c5
resolve conflicts
bgunnar5 6daae0f
mocked more items to try to fix broken tests on github
bgunnar5 dd5d19d
create MerlinWorker and CeleryWorker classes to handle the launching …
bgunnar5 032405c
implement worker-handler related classes
bgunnar5 cc327aa
add worker factory class and small cleanup to the rest of the worker …
bgunnar5 15a3386
remove functions that are now in the new worker files
bgunnar5 c4cbe13
link the new worker classes to the actual launching of workers
bgunnar5 d2d324b
add files that we'll need for this refactor
bgunnar5 9a81f88
fix regex in test
bgunnar5 caddb71
remove watchdog files and run fix-style
bgunnar5 547e3c5
fix tests that broke after refactor
bgunnar5 8b212eb
run fix-style
bgunnar5 fcc6b8e
update CHANGELOG
bgunnar5 4d84bd8
run fix-style
bgunnar5 be71c82
fix worker-related factory classes
bgunnar5 534769e
add tests for new workers files
bgunnar5 272a0a7
change imports for Celery worker and handler in tests
bgunnar5 4d5efd4
run fix-style
bgunnar5 799d667
attempt to fix broken unit tests
bgunnar5 bfe02a2
fix style
bgunnar5 a214e56
pull latest changes from develop
bgunnar5 51db25c
add mocked merlin db to broken test
bgunnar5 45e7e64
run fix-style
bgunnar5 0a4de9c
fix susbcriptable error in test
bgunnar5 fa2d6f5
merge latest changes from develop
bgunnar5 dd3d390
Merge branch 'feature/filter-db-queries' into refactor/query-workers
bgunnar5 f6865c7
first pass at adding new worker formatter classes
bgunnar5 4d9d31e
link new formatters to new query-workers refactor
bgunnar5 413c39d
remove _discover_builtins method that's not used and annoying
bgunnar5 c420d5e
change database to only store base name of queue
bgunnar5 0d47eaa
get filters working for query-workers command
bgunnar5 64ac2c8
finalize worker formatters
bgunnar5 7a1b3a8
add console as class attribute for formmatters and fix pylint issues
bgunnar5 dfdf7d9
more pylint fixes
bgunnar5 add1927
add attributes section to json formatter
bgunnar5 74fcd1d
fix broken tests
bgunnar5 3defbaa
update CHANGELOG
bgunnar5 e1033d7
updated the query-workers docs page
bgunnar5 cac4d2f
update the query-workers CLI docs
bgunnar5 65e5c09
pull latest changes from develop-2.0
bgunnar5 2fb872d
fix one more merge problem
bgunnar5 0320158
add query-workers tests to celery worker handler test file
bgunnar5 82772b4
add tests for rich formatter
bgunnar5 d4c7e46
add tests for all formatter modules
bgunnar5 f070fc9
run fix-style
bgunnar5 a873e58
fix broken test
bgunnar5 4c90c69
remove query-workers integration tests
bgunnar5 f645267
fix issue with tests
bgunnar5 16d4e42
run fix style
bgunnar5 68b4486
pull latest changes from develop-2.0
bgunnar5 c22a9e7
fix issue with pid and use WorkerStatus enum properly
bgunnar5 dd00638
add functionality to compare db data against live celery data
bgunnar5 94b7539
pull in garbage collection update
bgunnar5 c8f3c7b
run fix style and fix tests
bgunnar5 be5be8c
move function to CeleryWorkerHandler and add/fix tests
bgunnar5 3a42d0a
run fix-style
bgunnar5 407e882
pull latest changes from develop-2.0
bgunnar5 0461e1e
integrate new queue-info code with latest changes
bgunnar5 0c4c9be
add ability to query workers from local db
bgunnar5 eede467
update docs to add new local-db option
bgunnar5 4c6cac7
remove accidental double reload_data call
bgunnar5 02f6276
fix bug when loading status of a worker
bgunnar5 695da66
fix two unit tests related to latest changes
bgunnar5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Binary file removed
BIN
-27.4 KB
docs/assets/images/monitoring/queues_and_workers/connected-workers.png
Binary file not shown.
Binary file removed
BIN
-19.3 KB
docs/assets/images/monitoring/queues_and_workers/no-connected-workers.png
Binary file not shown.
Binary file added
BIN
+55.5 KB
...ssets/images/monitoring/queues_and_workers/query-workers-queues-all-workers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+51.1 KB
docs/assets/images/monitoring/queues_and_workers/query-workers-queues-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+26.7 KB
(200%)
.../assets/images/monitoring/queues_and_workers/query-workers-spec-all-workers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+31.6 KB
(210%)
docs/assets/images/monitoring/queues_and_workers/query-workers-spec-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.7 KB
...es/monitoring/queues_and_workers/query-workers-worker-entities-do-not-exist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+136 KB
...ts/images/monitoring/queues_and_workers/query-workers-worker-entities-exist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+52.3 KB
docs/assets/images/monitoring/queues_and_workers/query-workers-workers-option.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-26.4 KB
docs/assets/images/monitoring/queues_and_workers/queues-example-all-workers.png
Binary file not shown.
Binary file removed
BIN
-23.6 KB
...assets/images/monitoring/queues_and_workers/queues-example-filtered-workers.png
Binary file not shown.
Binary file removed
BIN
-24 KB
docs/assets/images/monitoring/queues_and_workers/workers-option-with-regex.png
Binary file not shown.
Binary file removed
BIN
-24.5 KB
...ssets/images/monitoring/queues_and_workers/workers-option-with-worker-names.png
Binary file not shown.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.