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

Add redis support #85

Merged
merged 22 commits into from
Aug 9, 2023
Merged

Conversation

sadcenter
Copy link
Collaborator

@sadcenter sadcenter commented Aug 8, 2023

Closes #3

Child tasks

  • Add jupiter extension, which injects redis server mock
  • Complete tests for RedisMessageBroker
  • Complete tests for RedisMessageListener
  • Complete tests for RedisRequestMessageListener

@sadcenter sadcenter linked an issue Aug 8, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #85 (dc628fd) into master (400c5db) will decrease coverage by 2.84%.
The diff coverage is 90.21%.

@@              Coverage Diff              @@
##              master      #85      +/-   ##
=============================================
- Coverage     100.00%   97.16%   -2.84%     
- Complexity       110      138      +28     
=============================================
  Files             24       30       +6     
  Lines            227      318      +91     
  Branches           2        4       +2     
=============================================
+ Hits             227      309      +82     
- Misses             0        8       +8     
- Partials           0        1       +1     
Files Changed Coverage Δ
...cory/message/packet/PacketProcessingException.java 100.00% <ø> (ø)
...ory/message/packet/PacketPublicationException.java 100.00% <ø> (ø)
...ava/moe/rafal/cory/message/RedisMessageBroker.java 82.00% <82.00%> (ø)
src/main/java/moe/rafal/cory/Packet.java 100.00% <100.00%> (ø)
...rafal/cory/message/MessageProcessingException.java 100.00% <100.00%> (ø)
...afal/cory/message/MessagePublicationException.java 100.00% <100.00%> (ø)
.../java/moe/rafal/cory/message/RedisBinaryCodec.java 100.00% <100.00%> (ø)
...a/moe/rafal/cory/message/RedisMessageListener.java 100.00% <100.00%> (ø)
...afal/cory/message/RedisRequestMessageListener.java 100.00% <100.00%> (ø)
...moe/rafal/cory/serdes/MessagePackPacketPacker.java 100.00% <100.00%> (ø)
... and 1 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

sadcenter and others added 20 commits August 8, 2023 18:18
…ificant bits, add null-safety improvements along with full test coverage of serdes package

* Optimize packaging of uuids, by operations on the most and least significant bits

* Add null-safety improvements along with full test coverage of serdes package

* Fix test coverage

* Fix tests coverage

* Fix tests coverage
…d not call closing procedure, because of unexpected exception

* Add dedicated exception, which is thrown by message broker if it could not call closing procedure, because of unexpected exception
…f ignoring exceptions. Use more strict access scopes, where it is possible
…broker

# Conflicts:
#	src/main/java/moe/rafal/cory/jacoco/coverage/ExcludeFromJacocoGeneratedReport.java
#	src/test/java/moe/rafal/cory/integration/EmbeddedNatsServerExtension.java
@rchomczyk rchomczyk changed the base branch from master to dev August 9, 2023 10:31
@rchomczyk rchomczyk merged this pull request into dev Aug 9, 2023
1 of 3 checks passed
@rchomczyk rchomczyk deleted the 3-add-support-for-use-of-redis-as-message-broker branch August 9, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for use of redis as message broker
2 participants