Skip to content

Update Micronaut parent and add Jackson dependency management entries.#507

Merged
ThomasMichael1811 merged 3 commits into
mainfrom
hotfix/jackson_update
Jun 18, 2026
Merged

Update Micronaut parent and add Jackson dependency management entries.#507
ThomasMichael1811 merged 3 commits into
mainfrom
hotfix/jackson_update

Conversation

@ThomasMichael1811

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates dependency versions as part of a Jackson-related hotfix and adjusts Kubernetes ConfigMap lookups to use the client’s current namespace (instead of always using "default"), with corresponding test updates.

Changes:

  • Update K8sClient.getConfigMap() to query ConfigMaps in the current Kubernetes namespace and enrich error messages with namespace context.
  • Adjust K8sClientTest expectations to match the namespace used by the Fabric8 mock client.
  • Bump Micronaut parent and manage/pin Jackson versions; update Jenkins plugin versions.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/test/groovy/com/cloudogu/gitops/infrastructure/kubernetes/api/K8sClientTest.groovy Updates mocked ConfigMap namespace and request paths to match current-namespace behavior.
src/main/groovy/com/cloudogu/gitops/infrastructure/kubernetes/api/K8sClient.groovy Uses current namespace for ConfigMap reads and improves error context.
scripts/jenkins/plugins/plugins.txt Bumps selected Jenkins plugin versions.
pom.xml Updates Micronaut parent and adds Jackson dependency management entries.

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

*/
String getConfigMap(String mapName, String key) {
log.debug("Getting ConfigMap $mapName, key: $key")
String namespace = getCurrentNamespace()
Comment thread pom.xml
Comment on lines +82 to +97
<!-- Source: https://mvnrepository.com/artifact/tools.jackson.core/jackson-databind -->
<!-- used for com.github.victools:jsonschema-generator -->
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>3.2.0</version>
<scope>compile</scope>
</dependency>
<!-- Source: https://mvnrepository.com/artifact/tools.jackson.core/jackson-core -->
<!-- used for com.github.victools:jsonschema-generator -->
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>3.2.0</version>
<scope>compile</scope>
</dependency>
Comment thread pom.xml
Comment on lines +100 to +113
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.22.0</version>
<scope>compile</scope>
</dependency>
<!-- Source: https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
<!-- used for io-fabric8, gitlab4j, groovy-yaml and retrofit -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.22.0</version>
<scope>compile</scope>
</dependency>
@DerDaehne DerDaehne changed the base branch from develop to main June 18, 2026 11:25

@DerDaehne DerDaehne left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@DerDaehne DerDaehne changed the title Hotfix/jackson update Update Micronaut parent and add Jackson dependency management entries. Jun 18, 2026
@ThomasMichael1811 ThomasMichael1811 merged commit 25e8af7 into main Jun 18, 2026
2 of 3 checks passed
@ThomasMichael1811 ThomasMichael1811 deleted the hotfix/jackson_update branch June 18, 2026 11:28
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.

3 participants