Repository navigation
Dw 5.x update #25
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
phaneesh
wants to merge
10
commits into
appform-io:dw_5.x
Choose a base branch
from
phaneesh:dw_5.x_update
base: dw_5.x
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
Dw 5.x update #25
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
bad8707
docs: initialize project (Java 21 upgrade)
phaneesh e07f3aa
docs: phase 1 plans (Java 21 upgrade)
phaneesh a5b3dd4
build: upgrade to Java 21 (--release)
phaneesh 6c86067
refactor: apply Java 21 features (records, sealed RetryConfig, patter…
phaneesh ed9d5ce
perf: optimize dispatch hot path, drop Guava from main sources (test …
phaneesh da6a1da
docs: phase 1 complete
phaneesh f99e84c
[Upgrade] DropWizard 5.x compatibility and refinements.
phaneesh 8b19d82
[Review] Remove .planning directory.
phaneesh 1d06268
[Review] Initialize to empty to avoid null checks
phaneesh 1836b74
[Hygiene] Versions mirroring DW version to avoid confusion
phaneesh 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
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
16 changes: 6 additions & 10 deletions
16
memq-actor/src/main/java/io/appform/memq/actor/InternalMessage.java
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,11 @@ | ||
| package io.appform.memq.actor; | ||
|
|
||
| import lombok.Value; | ||
|
|
||
| import java.util.Map; | ||
|
|
||
|
|
||
| @Value | ||
| class InternalMessage<M extends Message> { | ||
| String id; | ||
| long validTill; | ||
| long publishedAt; | ||
| Map<String,Object> headers; | ||
| M message; | ||
| record InternalMessage<M extends Message>( | ||
| String id, | ||
| long validTill, | ||
| long publishedAt, | ||
| Map<String, Object> headers, | ||
| M message) { | ||
| } |
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
8 changes: 1 addition & 7 deletions
8
memq-actor/src/main/java/io/appform/memq/observer/ObserverMessageMeta.java
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,4 @@ | ||
| package io.appform.memq.observer; | ||
|
|
||
| import lombok.Value; | ||
|
|
||
| @Value | ||
| public class ObserverMessageMeta { | ||
| String id; | ||
| long validTill; | ||
| long publishedAt; | ||
| public record ObserverMessageMeta(String id, long validTill, long publishedAt) { | ||
| } |
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
4 changes: 2 additions & 2 deletions
4
...or/src/main/java/io/appform/memq/retry/config/CountLimitedExponentialWaitRetryConfig.java
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
2 changes: 1 addition & 1 deletion
2
memq-actor/src/main/java/io/appform/memq/retry/config/CountLimitedFixedWaitRetryConfig.java
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.
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.
Uh oh!
There was an error while loading. Please reload this page.