-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/ans spec compliance #34
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
Open
busehalis-sap
wants to merge
27
commits into
main
Choose a base branch
from
fix/ans-spec-compliance
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
6943929
fix: use null-safe check for production mode to default to local mode
busehalis-sap 2090b0d
feat: filter locales per event to exclude framework-only locales and …
busehalis-sap 842a0b6
refactor: rename NotificationBuilderTest to NotificationAssemblerTest…
busehalis-sap 938ffb9
refactor: replace System.out.println with logger.info in LocalNotific…
busehalis-sap 0119525
feat: add Translations to NotificationType payload with required fiel…
busehalis-sap de22798
refactor: replace UPDATE with delete+create strategy for Notification…
busehalis-sap 7b39260
docs: update CHANGELOG with ANS spec compliance changes and missing e…
busehalis-sap 036b2c2
chore: apply spotless formatting
busehalis-sap f96ffca
test: add unit tests for NotificationTypeAssembler
busehalis-sap 3218fc5
chore: apply spotless formatting to NotificationTypeAssemblerTest
busehalis-sap 29d3208
fix: use @notification.template.publicTitle for DisplayName in Notifi…
busehalis-sap 50f751f
chore: apply spotless formatting
busehalis-sap 8590d10
refactor: replace delete+create with PUT update strategy for Notifica…
busehalis-sap 1a0b71c
Revert "refactor: replace delete+create with PUT update strategy for …
busehalis-sap a98815b
docs: update CHANGELOG to remove implementation details
busehalis-sap b991a77
refactor: update LocalNotificationTypeAutoProvisionerHandler to log T…
busehalis-sap f6e714d
fix: remove DisplayName from NotificationTemplate translation as it i…
busehalis-sap 669a921
refactor: improve local mode logging for NotificationTemplate provisi…
busehalis-sap e32fc1e
chore: apply spotless formatting
busehalis-sap 5b76e02
test: remove DisplayName assertion from NotificationTemplateProvision…
busehalis-sap 48f09f3
refactor: improve local mode logging for LocalHandler with box-style …
busehalis-sap 9688fbd
chore: apply spotless formatting
busehalis-sap 7a6ebe3
fix: map Locale.ROOT ('und'=undefined) to 'en' in getAvailableLocales…
busehalis-sap 26d45f3
fix: improve 400 error message to mention ANS field length limits
busehalis-sap 2f0d052
refactor: switch NotificationType re-provisioning from delete+create …
busehalis-sap 939ea29
test: update NotificationTypeProvisioningTest to verify PATCH keeps I…
busehalis-sap 3fd9463
fix: prevent infinite loop in NotificationTemplate re-provisioning by…
busehalis-sap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Is this check not needed anymore?
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.
The default value from ANS is PRIVATE when no visibility is set. I updated the extractVisibility method to handle this explicitly: if the @notification.customizable annotation is absent, it now returns "PRIVATE" directly instead of null. So the method always returns either "PUBLIC" or "PRIVATE", making the null check here unnecessary.