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

[ENH] Set up federation prototype and CI workflows #9

Merged
merged 7 commits into from
Oct 24, 2023
Merged

[ENH] Set up federation prototype and CI workflows #9

merged 7 commits into from
Oct 24, 2023

Conversation

alyssadai
Copy link
Contributor

@alyssadai alyssadai commented Oct 24, 2023

Merging all changes from the feature branch dev.

Checklist

  • PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see https://neurobagel.org/contributing/pull_requests for more info)
  • PR links to GitHub issue with mention Closes #XXXX
  • Tests pass
  • Checks pass

For new features:

  • Tests have been added

For bug fixes:

  • There is at least one test that would fail under the original bug conditions.

rmanaem and others added 7 commits September 28, 2023 10:43
* set up route and crud function for basic federation request

Still the same

* Yay, federation!

Co-authored-by: Alyssa Dai <alyssa.ydai@gmail.com>
Co-authored-by: rmanaem <rmanaem@protonmail.ch>
* Changed router prefix and tag to `query`

* Cleaned the good stuff

Co-authored-by: Sebastian Urchs <surchs@users.noreply.github.com>
Co-authored-by: Alyssa Dai <alyssa.ydai@gmail.com>

* Updated docstring for `get` function of `crud.py`

Co-authored-by: Alyssa Dai <alyssa.dai@mail.mcgill.ca>

---------

Co-authored-by: Sebastian Urchs <surchs@users.noreply.github.com>
Co-authored-by: Alyssa Dai <alyssa.ydai@gmail.com>
Co-authored-by: Alyssa Dai <alyssa.dai@mail.mcgill.ca>
* Turned NEUROBAGEL_NODES to an env var

* Added dependabot.yaml config file

* Added codespell.yaml workflow file

* Added lint.yaml workflow file

* Added build_docker.yaml workflow file
@alyssadai alyssadai changed the title [ENH] Set up federation prototype [ENH] Set up federation prototype and CI workflows Oct 24, 2023
@alyssadai alyssadai self-assigned this Oct 24, 2023
@surchs surchs self-requested a review October 24, 2023 16:57
Copy link
Contributor

@surchs surchs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good to me @alyssadai. One comment/question and then 🧑‍🍳


# Automatically start uvicorn server on execution of main.py
if __name__ == "__main__":
uvicorn.run("app.main:app", port=8000, reload=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does reload get ignored in prod? or should we remove that here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It gets ignored because of the Dockerfile entrypoint! This is the same as what we have for the node APIs.

@alyssadai alyssadai merged commit 009ec9c into main Oct 24, 2023
3 checks passed
@alyssadai alyssadai deleted the dev branch November 3, 2023 19:55
@surchs
Copy link
Contributor

surchs commented Apr 11, 2024

🚀 PR was released in v0.1.0 🚀

@surchs surchs added the released This issue/pull request has been released. label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants