Skip to content

chore: bump to josdk 5.3.1#291

Merged
csviri merged 1 commit intomainfrom
josdk5.3.1
Mar 18, 2026
Merged

chore: bump to josdk 5.3.1#291
csviri merged 1 commit intomainfrom
josdk5.3.1

Conversation

@csviri
Copy link
Contributor

@csviri csviri commented Mar 18, 2026

Signed-off-by: Attila Mészáros a_meszaros@apple.com

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 18, 2026
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 18, 2026
@csviri csviri requested a review from Copilot March 18, 2026 16:29
@csviri csviri merged commit b23305c into main Mar 18, 2026
2 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates this Spring Boot starter to use Java Operator SDK (JOSDK) 5.3.1, adjusting code to account for upstream API changes.

Changes:

  • Bump josdk.version from 5.2.3 to 5.3.1.
  • Replace ReconcilerUtils usages with ReconcilerUtilsInternal in starter code and tests.
  • Update sample YAML-loading helpers to import ReconcilerUtilsInternal.loadYaml.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pom.xml Bumps the managed JOSDK dependency version to 5.3.1.
starter/src/main/java/.../OperatorAutoConfiguration.java Switches reconciler name resolution to ReconcilerUtilsInternal for property lookup/registration.
starter/src/test/java/.../AutoConfigurationTest.java Updates test reconciler-name lookup to match the new JOSDK utility class.
samples/webpage/.../ServiceDependentResource.java Updates YAML loading import to ReconcilerUtilsInternal.loadYaml.
samples/webpage/.../DeploymentDependentResource.java Updates YAML loading import to ReconcilerUtilsInternal.loadYaml.
samples/webpage/.../Utils.java Updates YAML loading import to ReconcilerUtilsInternal.loadYaml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

public BiConsumer<Operator, Reconciler<?>> reconcilerRegisterer() {
return (operator, reconciler) -> {
var name = ReconcilerUtils.getNameFor(reconciler);
var name = ReconcilerUtilsInternal.getNameFor(reconciler);
Comment on lines +71 to +72
config.getReconcilers().get(ReconcilerUtilsInternal.getNameFor(TestReconciler.class))
.getRetry();
import io.javaoperatorsdk.operator.springboot.starter.sample.webpage.customresource.WebPage;

import static io.javaoperatorsdk.operator.ReconcilerUtils.loadYaml;
import static io.javaoperatorsdk.operator.ReconcilerUtilsInternal.loadYaml;
import io.javaoperatorsdk.operator.springboot.starter.sample.webpage.customresource.WebPage;

import static io.javaoperatorsdk.operator.ReconcilerUtils.loadYaml;
import static io.javaoperatorsdk.operator.ReconcilerUtilsInternal.loadYaml;
import io.javaoperatorsdk.operator.springboot.starter.sample.webpage.customresource.WebPageStatus;

import static io.javaoperatorsdk.operator.ReconcilerUtils.loadYaml;
import static io.javaoperatorsdk.operator.ReconcilerUtilsInternal.loadYaml;
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