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

Feature improve notification service generics #70

Merged
merged 5 commits into from
Apr 1, 2022

Conversation

agrancaric
Copy link
Collaborator

Basic information

  • nrich version:
    1.2.1
  • Module:
    nrich-notification, nrich-webmvc, nrich-logging

Additional information

Description

Summary

Added a separate class to represent a response notification without data, renamed existing class to end with Response suffix, renamed existing and added an additional interface in NotificationResolverService hierarchy that makes the usage easier.

Details

Added a separate class to represent a response notification without data, renamed existing class to end with Response suffix, renamed existing and added an additional interface in NotificationResolverService hierarchy that makes the usage easier.

Related issue

#68

Types of changes

  • Breaking change (fix, enhancement or feature that would cause existing functionality to change in backward-incompatible way)

Checklist

  • I have read the project's CONTRIBUTING document
  • I have checked my code with the project's static analysis tooling
  • I have formatted my code with the project's IDEA code-style configuration
  • I have checked my code for misspellings
  • I have organized my changes in easy-to-follow commits
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests pass.

@agrancaric agrancaric requested review from jsajlovic and jzrilic March 29, 2022 12:16
@agrancaric agrancaric self-assigned this Mar 29, 2022
@codecov-commenter
Copy link

codecov-commenter commented Mar 29, 2022

Codecov Report

Merging #70 (981f9c9) into master (8806bdd) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #70      +/-   ##
============================================
+ Coverage     95.85%   95.86%   +0.01%     
- Complexity     1002     1005       +3     
============================================
  Files           149      151       +2     
  Lines          2411     2418       +7     
  Branches        224      224              
============================================
+ Hits           2311     2318       +7     
  Misses           39       39              
  Partials         61       61              
Impacted Files Coverage Δ
...ation/api/service/NotificationResponseService.java 100.00% <ø> (ø)
...figuration/NrichNotificationAutoConfiguration.java 100.00% <ø> (ø)
...er/configuration/NrichWebMvcAutoConfiguration.java 100.00% <ø> (ø)
...NotificationErrorHandlingRestControllerAdvice.java 94.59% <ø> (ø)
...ication/api/response/NotificationDataResponse.java 100.00% <100.00%> (ø)
...n/api/service/BaseNotificationResponseService.java 100.00% <100.00%> (ø)
...ion/service/WebMvcNotificationResponseService.java 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8806bdd...981f9c9. Read the comment docs.

@agrancaric agrancaric force-pushed the feature_improveNotificationServiceGenerics branch 2 times, most recently from 8db34e7 to cd0e3c8 Compare March 29, 2022 12:20
@agrancaric agrancaric marked this pull request as draft March 29, 2022 12:36
@agrancaric agrancaric force-pushed the feature_improveNotificationServiceGenerics branch from eac8e73 to 61544ec Compare March 29, 2022 16:46
@agrancaric agrancaric marked this pull request as ready for review March 29, 2022 16:46
@agrancaric agrancaric force-pushed the feature_improveNotificationServiceGenerics branch from 61544ec to 21a4a1e Compare March 30, 2022 08:14
@agrancaric agrancaric requested a review from jzrilic March 31, 2022 12:27
@agrancaric agrancaric force-pushed the feature_improveNotificationServiceGenerics branch from 981f9c9 to 78fe7d6 Compare March 31, 2022 15:56
@jzrilic jzrilic merged commit 6782e90 into master Apr 1, 2022
@jzrilic jzrilic deleted the feature_improveNotificationServiceGenerics branch April 1, 2022 08:34
@agrancaric agrancaric linked an issue Apr 2, 2022 that may be closed by this pull request
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.

Fix generic parameters in nrich-notification
3 participants