Skip to content

test(integration): unskip java-cfenv JDBC mapping assertions - #1422

Merged
stokpop merged 1 commit into
cloudfoundry:mainfrom
stokpop:fix/unskip-cfenv-jdbc-mapping-1406
Sep 16, 2026
Merged

stokpop merged 1 commit into
cloudfoundry:mainfrom
stokpop:fix/unskip-cfenv-jdbc-mapping-1406

Conversation

@stokpop

@stokpop stokpop commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

java-cfenv-all 4.0.2 (already pinned in manifest.yml) fixes the spring.factories/classloader conflict that previously broke CfDataSourceEnvironmentPostProcessor on SB3+/SB4, so spring.datasource.* properties weren't being set from the bound postgres:// service URI.

Re-ran the SB4 java-cfenv JDBC mapping integration test locally (docker platform) with 4.0.2 and it passes, so removing the t.Skip.

Fixes #1406

java-cfenv-all 4.0.2 fixes the spring.factories/classloader conflict
that previously broke CfDataSourceEnvironmentPostProcessor on SB3+/SB4.
manifest.yml already pins 4.0.2. Re-ran the SB4 JDBC mapping test
locally against docker and it passes.

Fixes cloudfoundry#1406
@stokpop
stokpop merged commit 0793c17 into cloudfoundry:main Sep 16, 2026
1 check passed
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.

java-cfenv JDBC auto-config broken on Spring Boot 3+/4.x — spring.datasource.url never set

2 participants