forked from openwallet-foundation/acapy-plugins
-
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
🎉 NATS Plugin 🚧 #666
Merged
Merged
🎉 NATS Plugin 🚧 #666
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
Signed-off-by: ff137 <[email protected]>
Copied from redis_events plugin, and replaced redis with nats-py (and json with orjson) Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
ff137
force-pushed
the
feat/nats_events
branch
from
September 18, 2024 14:08
fa707e3
to
f9da7ae
Compare
Signed-off-by: ff137 <[email protected]>
henrymsiska
reviewed
Sep 19, 2024
henrymsiska
reviewed
Sep 19, 2024
henrymsiska
reviewed
Sep 19, 2024
henrymsiska
reviewed
Sep 19, 2024
henrymsiska
reviewed
Sep 19, 2024
henrymsiska
reviewed
Sep 19, 2024
Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
henrymsiska
approved these changes
Sep 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
ff137
force-pushed
the
feat/nats_events
branch
from
September 20, 2024 09:12
43e0c4c
to
09637e6
Compare
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
ff137
force-pushed
the
feat/nats_events
branch
from
September 23, 2024 13:01
b22116a
to
7cb4328
Compare
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
Signed-off-by: ff137 <[email protected]>
ff137
pushed a commit
that referenced
this pull request
Oct 22, 2024
Bumps [google-api-python-client](https://github.com/googleapis/google-api-python-client) from 2.133.0 to 2.134.0. - [Release notes](https://github.com/googleapis/google-api-python-client/releases) - [Commits](googleapis/google-api-python-client@v2.133.0...v2.134.0) --- updated-dependencies: - dependency-name: google-api-python-client dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ff137
added a commit
that referenced
this pull request
Oct 22, 2024
* ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * 🚀 take on NATS plugin Copied from redis_events plugin, and replaced redis with nats-py (and json with orjson) Signed-off-by: ff137 <[email protected]> * ✅ basic unit tests for events Signed-off-by: ff137 <[email protected]> * 👷 skip nats_events integration testing Signed-off-by: ff137 <[email protected]> * ✨ read `NATS_CREDS_FILE` from env vars Signed-off-by: ff137 <[email protected]> * Update nats_events/README.md Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> * 🎨 rename nats topic to subject Signed-off-by: ff137 <[email protected]> * 🎨 replace f-string interpolation in logs Signed-off-by: ff137 <[email protected]> * ✨ use JetStream. Define streams on startup Signed-off-by: ff137 <[email protected]> * ✨ bind and re-use JetStream context Signed-off-by: ff137 <[email protected]> * ✨ handle jetstream publish ack Signed-off-by: ff137 <[email protected]> * 🎨 remove use of `cast` Signed-off-by: ff137 <[email protected]> * 🎨 more clear setup of jetstream context, instead of just nats Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * 🎨 update NATS subject map to use `.`-pattern Signed-off-by: ff137 <[email protected]> * Update nats_events/README.md Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> * 🙈 don't ignore vscode settings Signed-off-by: ff137 <[email protected]> * 🔧 vscode cspell settings Signed-off-by: ff137 <[email protected]> * 🎨 Signed-off-by: ff137 <[email protected]> * 🚧 add some verbose logging for testing Signed-off-by: ff137 <[email protected]> * 🎨 update method for nats connection args Signed-off-by: ff137 <[email protected]> * 🚧 debug timeout error for defining stream, change stream name Signed-off-by: ff137 <[email protected]> * 🚧 debug on_startup connecting to jetstream Signed-off-by: ff137 <[email protected]> * 🚧 test replacing . in name with _ Signed-off-by: ff137 <[email protected]> * ✨ publish with retry -- correctly handle PubAck Signed-off-by: ff137 <[email protected]> * 🎨 log payload and no longer only write `with-state` records Signed-off-by: ff137 <[email protected]> * 🎨 fix payload log type Signed-off-by: ff137 <[email protected]> * 🎨 log levels Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * ✨ handle OutboundMessage type (make it serialisable) Signed-off-by: ff137 <[email protected]> * 🎨 retry should log error instead of raising exception Signed-off-by: ff137 <[email protected]> * 🎨 handle optional target types Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * 🎨 add words to cspell list Signed-off-by: ff137 <[email protected]> * 🚧 remove define stream Signed-off-by: ff137 <[email protected]> * 🎨 define one stream with many subjects Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: ff137 <[email protected]>
ff137
added a commit
that referenced
this pull request
Oct 22, 2024
* 🎉 NATS Plugin 🚧 (#666) * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * 🚀 take on NATS plugin Copied from redis_events plugin, and replaced redis with nats-py (and json with orjson) Signed-off-by: ff137 <[email protected]> * ✅ basic unit tests for events Signed-off-by: ff137 <[email protected]> * 👷 skip nats_events integration testing Signed-off-by: ff137 <[email protected]> * ✨ read `NATS_CREDS_FILE` from env vars Signed-off-by: ff137 <[email protected]> * Update nats_events/README.md Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> * 🎨 rename nats topic to subject Signed-off-by: ff137 <[email protected]> * 🎨 replace f-string interpolation in logs Signed-off-by: ff137 <[email protected]> * ✨ use JetStream. Define streams on startup Signed-off-by: ff137 <[email protected]> * ✨ bind and re-use JetStream context Signed-off-by: ff137 <[email protected]> * ✨ handle jetstream publish ack Signed-off-by: ff137 <[email protected]> * 🎨 remove use of `cast` Signed-off-by: ff137 <[email protected]> * 🎨 more clear setup of jetstream context, instead of just nats Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * 🎨 update NATS subject map to use `.`-pattern Signed-off-by: ff137 <[email protected]> * Update nats_events/README.md Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> * 🙈 don't ignore vscode settings Signed-off-by: ff137 <[email protected]> * 🔧 vscode cspell settings Signed-off-by: ff137 <[email protected]> * 🎨 Signed-off-by: ff137 <[email protected]> * 🚧 add some verbose logging for testing Signed-off-by: ff137 <[email protected]> * 🎨 update method for nats connection args Signed-off-by: ff137 <[email protected]> * 🚧 debug timeout error for defining stream, change stream name Signed-off-by: ff137 <[email protected]> * 🚧 debug on_startup connecting to jetstream Signed-off-by: ff137 <[email protected]> * 🚧 test replacing . in name with _ Signed-off-by: ff137 <[email protected]> * ✨ publish with retry -- correctly handle PubAck Signed-off-by: ff137 <[email protected]> * 🎨 log payload and no longer only write `with-state` records Signed-off-by: ff137 <[email protected]> * 🎨 fix payload log type Signed-off-by: ff137 <[email protected]> * 🎨 log levels Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * ✨ handle OutboundMessage type (make it serialisable) Signed-off-by: ff137 <[email protected]> * 🎨 retry should log error instead of raising exception Signed-off-by: ff137 <[email protected]> * 🎨 handle optional target types Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * 🎨 add words to cspell list Signed-off-by: ff137 <[email protected]> * 🚧 remove define stream Signed-off-by: ff137 <[email protected]> * 🎨 define one stream with many subjects Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: ff137 <[email protected]> * 🎨 nats_events: update log levels (#733) * 🎨 Update log levels Signed-off-by: ff137 <[email protected]> * ⬆️ Upgrade uvicorn Signed-off-by: ff137 <[email protected]> * ⬆️ Upgrade fastapi-slim Signed-off-by: ff137 <[email protected]> * ⬆️ Upgrade pytest-asyncio Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * 🐛 trace -> debug Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> * Skip-nats-outbound-messages (#734) * ⚡ skip outbound message types, temporarily for performance reasons Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> * ⬆️ Update dependencies Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock file Signed-off-by: ff137 <[email protected]> * ⏪ Revert changes to other lock files Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> Co-authored-by: Henry Msiska <[email protected]>
ff137
added a commit
that referenced
this pull request
Nov 12, 2024
* 🎉 NATS Plugin 🚧 (#666) * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * 🚀 take on NATS plugin Copied from redis_events plugin, and replaced redis with nats-py (and json with orjson) Signed-off-by: ff137 <[email protected]> * ✅ basic unit tests for events Signed-off-by: ff137 <[email protected]> * 👷 skip nats_events integration testing Signed-off-by: ff137 <[email protected]> * ✨ read `NATS_CREDS_FILE` from env vars Signed-off-by: ff137 <[email protected]> * Update nats_events/README.md Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> * 🎨 rename nats topic to subject Signed-off-by: ff137 <[email protected]> * 🎨 replace f-string interpolation in logs Signed-off-by: ff137 <[email protected]> * ✨ use JetStream. Define streams on startup Signed-off-by: ff137 <[email protected]> * ✨ bind and re-use JetStream context Signed-off-by: ff137 <[email protected]> * ✨ handle jetstream publish ack Signed-off-by: ff137 <[email protected]> * 🎨 remove use of `cast` Signed-off-by: ff137 <[email protected]> * 🎨 more clear setup of jetstream context, instead of just nats Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * 🎨 update NATS subject map to use `.`-pattern Signed-off-by: ff137 <[email protected]> * Update nats_events/README.md Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> * 🙈 don't ignore vscode settings Signed-off-by: ff137 <[email protected]> * 🔧 vscode cspell settings Signed-off-by: ff137 <[email protected]> * 🎨 Signed-off-by: ff137 <[email protected]> * 🚧 add some verbose logging for testing Signed-off-by: ff137 <[email protected]> * 🎨 update method for nats connection args Signed-off-by: ff137 <[email protected]> * 🚧 debug timeout error for defining stream, change stream name Signed-off-by: ff137 <[email protected]> * 🚧 debug on_startup connecting to jetstream Signed-off-by: ff137 <[email protected]> * 🚧 test replacing . in name with _ Signed-off-by: ff137 <[email protected]> * ✨ publish with retry -- correctly handle PubAck Signed-off-by: ff137 <[email protected]> * 🎨 log payload and no longer only write `with-state` records Signed-off-by: ff137 <[email protected]> * 🎨 fix payload log type Signed-off-by: ff137 <[email protected]> * 🎨 log levels Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * ✨ handle OutboundMessage type (make it serialisable) Signed-off-by: ff137 <[email protected]> * 🎨 retry should log error instead of raising exception Signed-off-by: ff137 <[email protected]> * 🎨 handle optional target types Signed-off-by: ff137 <[email protected]> * ✅ fix tests Signed-off-by: ff137 <[email protected]> * 🎨 add words to cspell list Signed-off-by: ff137 <[email protected]> * 🚧 remove define stream Signed-off-by: ff137 <[email protected]> * 🎨 define one stream with many subjects Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> Co-authored-by: Henry Msiska <[email protected]> Signed-off-by: ff137 <[email protected]> * 🎨 nats_events: update log levels (#733) * 🎨 Update log levels Signed-off-by: ff137 <[email protected]> * ⬆️ Upgrade uvicorn Signed-off-by: ff137 <[email protected]> * ⬆️ Upgrade fastapi-slim Signed-off-by: ff137 <[email protected]> * ⬆️ Upgrade pytest-asyncio Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> * 🐛 trace -> debug Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> * Skip-nats-outbound-messages (#734) * ⚡ skip outbound message types, temporarily for performance reasons Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock files Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> * ⬆️ Update dependencies Signed-off-by: ff137 <[email protected]> * ⬆️ Update lock file Signed-off-by: ff137 <[email protected]> * ⏪ Revert changes to other lock files Signed-off-by: ff137 <[email protected]> --------- Signed-off-by: ff137 <[email protected]> Signed-off-by: Mourits de Beer <[email protected]> Co-authored-by: Henry Msiska <[email protected]>
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.
Copied from redis_events plugin, and replaced redis with nats-py (and json with orjson)