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

sample: update native image for clustered local-drone-control-java #1031

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

pvlugter
Copy link
Contributor

@pvlugter pvlugter commented Oct 9, 2023

Update native image build for local-drone-control-java to support the clustered version and running in kubernetes. And some related small fixes.

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with possibly unnecessary JsonCreator for some of them

@@ -40,6 +40,7 @@ public static final class ReportPosition implements Command {
public final Position position;
public final ActorRef<Done> replyTo;

@JsonCreator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not important, but this should only be needed for single arg constructors

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, didn't realise. Just sprinkled when there was a failure for one of the messages. Have updated.

When retesting, discovered that some cross-cluster paths had not been exercised. Another missing CborSerializable and some native image reflect config needed. So that was useful.

@pvlugter pvlugter merged commit 6f13d3c into main Oct 9, 2023
19 checks passed
@pvlugter pvlugter deleted the native-image-clustered-local-drone-control-java branch October 9, 2023 23:12
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.

2 participants