Skip to content

Move code to namespace com.sap.cds, version adjustments - #39

Merged
lisajulia merged 15 commits into
mainfrom
small-fixes
Aug 31, 2026
Merged

Move code to namespace com.sap.cds, version adjustments#39
lisajulia merged 15 commits into
mainfrom
small-fixes

Conversation

@lisajulia

@lisajulia lisajulia commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Dependency Updates, Java 21 Migration & Test Fixes

Chore

🔧 Updated project dependencies to their latest versions, migrated from JDK 17 to JDK 21, upgraded to Spring Boot 4.x and CDS Services 5.x, and fixed test and package naming issues.

Changes

  • pom.xml & samples/bookshop/pom.xml: Bumped JDK version from 17 to 21, cds.services.version to 5.0.0, spring.boot.version to 4.1.0, maven-compiler-plugin to 3.14.0, and maven-surefire-plugin to 3.5.6. Updated the enforcer plugin's requireJavaVersion rule to use [21,) instead of the property variable.
  • samples/bookshop/app/index.html: Pinned SAPUI5 script URLs to a specific version (1.148.2) instead of using the unversioned latest endpoint.
  • samples/bookshop/srv/pom.xml: Added spring-boot-starter-webmvc-test as a test dependency.
  • samples/bookshop/srv/src/test/java/customer/bookshop/ApplicationTest.java: Removed unnecessary @AutoConfigureMockMvc import and annotation.
  • samples/bookshop/srv/src/test/java/customer/bookshop/IntegrationTest.java: Updated @AutoConfigureMockMvc import to the new Spring Boot 4.x package org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc.
  • srv/src/main/java/com/sap/cds/feature/emoji/EmojiHandler.java: Renamed/moved from sap.capire.emoji_plugin to com.sap.cds.feature.emoji package; cleaned up duplicate imports.
  • srv/src/main/java/com/sap/cds/feature/emoji/EmojiHandlerRuntimeConfiguration.java: Updated package declaration from sap.capire.emoji_plugin to com.sap.cds.feature.emoji.
  • srv/src/main/resources/META-INF/services/com.sap.cds.services.runtime.CdsRuntimeConfiguration: Updated the service registration entry to reflect the new fully-qualified class name com.sap.cds.feature.emoji.EmojiHandlerRuntimeConfiguration.
  • 🔄 Regenerate and Update Summary
PR Bot Information

Version: 1.29.54

  • Correlation ID: e385ce90-a2ba-11f1-8376-8b9aac03b0a9
  • LLM: anthropic--claude-4.6-sonnet
  • Summary Prompt: Default Prompt
  • File Content Strategy: Full file content
  • Output Template: Default Template
  • Event Trigger: pull_request.opened

@lisajulia lisajulia changed the title Small fixes Move code to namespace com.sap.cds, version adjustments Aug 28, 2026
@lisajulia lisajulia added the no changelog Pull requests that don't need a changelog entry label Aug 28, 2026

@hyperspace-pr-bot hyperspace-pr-bot Bot 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.

The PR makes straightforward upgrades (JDK 17→21, CDS 4→5, Spring Boot 3→4, package rename) but the migration to Spring Boot 4.x's restructured MockMvc test support introduces a likely build-breaking issue: the declared artifact spring-boot-starter-webmvc-test does not appear to be a valid Spring Boot artifact, and the paired import change in IntegrationTest.java will fail to compile if the artifact coordinates are wrong. These two related issues are the most critical items to resolve before merging.

PR Bot Information

Version: 1.29.54

  • Correlation ID: e385ce90-a2ba-11f1-8376-8b9aac03b0a9
  • Event Trigger: pull_request.opened
  • LLM: anthropic--claude-4.6-sonnet
  • File Content Strategy: Full file content

Comment thread pom.xml
Comment thread samples/bookshop/srv/pom.xml
@lisajulia

Copy link
Copy Markdown
Contributor Author

This closes #18, #20, #27, #28, #29, #31,#32

@lisajulia lisajulia removed the no changelog Pull requests that don't need a changelog entry label Aug 28, 2026
Comment thread package.json Outdated
Comment thread CHANGELOG.md Outdated
Comment thread samples/bookshop/app/index.html Outdated
lisajulia and others added 12 commits August 31, 2026 10:14
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@sap/eslint-plugin-cds](https://cap.cloud.sap/) from 4.1.0 to 4.1.1.

---
updated-dependencies:
- dependency-name: "@sap/eslint-plugin-cds"
  dependency-version: 4.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.14.1 to 3.15.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](apache/maven-compiler-plugin@maven-compiler-plugin-3.14.1...maven-compiler-plugin-3.15.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
  dependency-version: 3.15.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@sap/cds-dk](https://cap.cloud.sap/) from 9.4.2 to 9.7.1.

---
updated-dependencies:
- dependency-name: "@sap/cds-dk"
  dependency-version: 9.7.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.1 to 10.0.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.1...v10.0.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@lisajulia lisajulia added the no changelog Pull requests that don't need a changelog entry label Aug 31, 2026

@Schmarvinius Schmarvinius 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.

only this

Comment thread samples/bookshop/package.json Outdated
Comment thread package.json Outdated
@lisajulia
lisajulia merged commit 8315fa5 into main Aug 31, 2026
8 checks passed
@lisajulia
lisajulia deleted the small-fixes branch August 31, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog Pull requests that don't need a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants