DEV - Event driven External data ingestion and analysis starting - #5300
Merged
Merged
Conversation
--------- Co-authored-by: Rasmus Burge <80392398+RasmusBurge-CG@users.noreply.github.com> Co-authored-by: Sebastian Diaz <juan.sebastian.diaz.boada@scilifelab.se> Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se> Co-authored-by: Moe Darrah <41540288+moedarrah@users.noreply.github.com> Co-authored-by: kedhammar <alfred.kedhammar@scilifelab.se> Co-authored-by: Alfred Kedhammar <89784800+kedhammar@users.noreply.github.com>
diitaz93
commented
Sep 7, 2026
* WIP * fix type hints * Add TODOs * WIP * TODO * add statusdb to order * add passing function * Work on submitter * WIP * implement tests for submit with new functionality * WIP * add tests * Fix typehint for Order external_samples (#5296) * wip red * add app_config settings for NATS * Work on adding NatsConfig in the app_config * wip red * rename nats env variables * update renaming * Change order of publishing of events * red wip * Fix failing tests * Change logging --------- Co-authored-by: Moe Darrah <41540288+moedarrah@users.noreply.github.com> Co-authored-by: kedhammar <alfred.kedhammar@scilifelab.se> Co-authored-by: islean <isak.ohlsson.angnell@gmail.com> Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se> Co-authored-by: Isak Ohlsson Ångnell <40887124+islean@users.noreply.github.com>
* Start standardising names * Rework the field names * Start on event names * WIP * Green tests * return hint --------- Co-authored-by: Linnéa Löfdahl <linnea.lofdahl@scilifelab.se> Co-authored-by: Moe Darrah <41540288+moedarrah@users.noreply.github.com> Co-authored-by: Sebastian Diaz <juan.sebastian.diaz.boada@scilifelab.se>
diitaz93
marked this pull request as ready for review
September 9, 2026 13:41
islean
reviewed
Sep 9, 2026
islean
reviewed
Sep 9, 2026
islean
reviewed
Sep 9, 2026
* Rename publish_command to get_publish_command * Rename publish to publish_event
|
Contributor
|
Deployed to stage: Getting version of deploy scripts... done.
Log deploy... done.
cg, version 88.8.0
[12:06] [hiseq.clinical@hasta:/home/proj/stage/bin/miniconda3/envs] [S_base] $Deployed to prod: Log deploy... done.
cg, version 88.8.0
[12:09] [hiseq.clinical@hasta:/home/proj/stage/bin/miniconda3/envs] [P_base] $ |
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
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.



Description
Provide support to message publishing using nats-py. Currently used in the new
external_sample_transferred_handlerand in the order storing service.Added
external_sample_transferred_handlerthat adds the transferred files to HK and publishes an event using the new event_publisher method to start an analysisChanged
Fixed
cg/services/events/constants.pytests/services/orders/validation_servicetotests/services/orders/validationHow to prepare for test
uspaxaHow to test
Expected test outcome
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan