Skip to content

Spring4 - #8

Open
shroffk wants to merge 5 commits into
masterfrom
spring4
Open

shroffk wants to merge 5 commits into
masterfrom
spring4

Conversation

@shroffk

@shroffk shroffk commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Upgrading to spring4 and jdk25

Additionally fixing the delete calls to use the batch delete

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The Java 25 source/target settings conflict with JDK 21 in both CI workflows and Docker images, causing build failures and preventing the container runtime from loading Java 25 classes.

1 open issue
What changed in this PR

This PR upgrades Recceiver to Spring Boot 4.1 and JDK 25, and changes ChannelFinder cleanup to use batch deletion.

Changes:

  • Updates build settings, annotation imports, and hex utilities for the platform migration.
  • Adds configurable ChannelFinder HTTP timeouts, batch deletion, and deletion-enabled cleanup defaults.
  • Reuses virtual-thread factories and adds processor initialization and cleanup logging.
File Description
src/​test/​java/​org/​phoebus/​recceiver/​SimpleTest.java Replaces JAXB hex conversion with HexFormat.
src/​main/​resources/​application.properties Adds HTTP timeout configuration and enables deletion during cleanup.
src/​main/​java/​org/​phoebus/​recceiver/​spi/​RecSyncProcessorRegistry.java Logs processor loading through SPI.
src/​main/​java/​org/​phoebus/​recceiver/​spi/​cf/​ChannelFinderHttpStore.java Implements batch deletion and configurable request timeouts.
src/​main/​java/​org/​phoebus/​recceiver/​spi/​cf/​CFRecSyncProcessor.java Passes timeout configuration to the store and logs initialization and cleanup.
src/​main/​java/​org/​phoebus/​recceiver/​RecceiverApplication.java Uses Jakarta lifecycle annotations, forwards timeout settings, and shares a client-thread factory.
src/​main/​java/​org/​phoebus/​recceiver/​MessageProcessor.java Shares a virtual-thread factory for commit dispatch.
pom.xml Targets Java 25 and Spring Boot 4.1, updates dependencies, and pins the compiler plugin.

Review effort: Balanced

Comment thread pom.xml Resolved
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