-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feat/fastapi plugin #3
Merged
thiarthur
merged 18 commits into
thiarthur:master
from
angeloalvarez:feat/fastapi-plugin
Jul 28, 2024
Merged
Feat/fastapi plugin #3
thiarthur
merged 18 commits into
thiarthur:master
from
angeloalvarez:feat/fastapi-plugin
Jul 28, 2024
+594
−33
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
…asses Added a .coveragerc file to exclude coverage reporting for methods in abstract classes that are not yet implemented. This helps in getting accurate coverage reports for the implemented code. The new configuration ensures that coverage metrics reflect the actual tested code and do not get skewed by unimplemented abstract methods.
Added `.idea/`, `mypy_cache`, and `pytest_cache` to `.gitignore` to exclude IDE settings and cache files from mypy and pytest tools. This helps keep the repository clean and prevents unnecessary files from being tracked. Ensuring that these files are ignored helps to avoid committing personal IDE settings and temporary cache files that are not relevant to the project's source code.
…tion Added docstrings to the methods in the latest integration implementation to improve code documentation and readability. Each method now has a clear description of its purpose, parameters, and return values.
Added detailed usage documentation for the FastAPI integration plugin. The new documentation includes: - Installation instructions for the required dependencies. - Initialization steps for setting up FastAPI and Eolic. - Setup method to integrate Eolic with FastAPI.
Corrected a typo in the documentation where "::" was replaced with ":" for better readability and accuracy.
Updated the example to clarify that any event with the name `my-event` emitted from another app with an Eolic instance containing a `url` remote target and address `http://host/my-custom-event-route` will trigger the `my_event_handler` handler.
…into feat/fastapi-plugin
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.
Creates Integration and FastAPIIntegration
Description
Creates an interface that allows Eolic to receive remote events easily.
The first version implements FastAPI, but it also allows Eolic to integrate with other frameworks in the future.
Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Unit Tests:
tests/integrations/test_base.py
.tests/integrations/test_fastapi.py
.pytest
to ensure all tests pass.Manual Testing:
Ran the example services to ensure that the notification service event handler would be triggered.
Checklist