You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "AnnJoy23 (via GitHub)" <gi...@apache.org> on 2026/09/24 05:28:29 UTC
[PR] Upgrade Spring Boot from 4.0.8 to 4.1.1 [incubator-kie-examples]
AnnJoy23 opened a new pull request, #2249:
URL: https://github.com/apache/incubator-kie-examples/pull/2249
## Summary
Upgrades Spring Boot from `4.0.8` to `4.1.1` in Gradle examples, and fixes `onboarding-springboot` test failure caused by Spring Cloud Kubernetes trying to connect to a live cluster.
## Changes
- `gradle-examples/kogito-springboot-gradle-examples/dmn-springboot-gradle/gradle.properties`: `springBootVersion=4.0.8` → `4.1.1`
- `gradle-examples/kogito-springboot-gradle-examples/process-decisions-rules-springboot-gradle/gradle.properties`: `springBootVersion=4.0.8` → `4.1.1`
- `kogito-springboot-examples/onboarding-springboot/src/test/resources/application.properties`: Added `spring.cloud.kubernetes.discovery.enabled=false` to prevent live Kubernetes cluster connection during tests
## Notes
Maven examples inherit the Spring Boot version from `kogito-spring-boot-bom` — no explicit version changes needed there.
## Related PRs
- incubator-kie: https://github.com/apache/incubator-kie/pull/7128
- incubator-kie-tools: https://github.com/apache/incubator-kie-tools/pull/4021
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] Upgrade Spring Boot from 4.0.8 to 4.1.1 [incubator-kie-examples]
Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer merged PR #2249:
URL: https://github.com/apache/incubator-kie-examples/pull/2249
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] Upgrade Spring Boot from 4.0.8 to 4.1.1 [incubator-kie-examples]
Posted by "jomarko (via GitHub)" <gi...@apache.org>.
jomarko commented on code in PR #2249:
URL: https://github.com/apache/incubator-kie-examples/pull/2249#discussion_r4101617633
##########
kogito-springboot-examples/onboarding-springboot/src/test/resources/application.properties:
##########
@@ -20,4 +20,5 @@
server.port=8080
org.acme.kogito.onboarding.local=true
spring.main.cloud-platform=KUBERNETES
-spring.cloud.bootstrap.enabled=true
\ No newline at end of file
+spring.cloud.bootstrap.enabled=true
+spring.cloud.kubernetes.discovery.enabled=false
Review Comment:
why this is not needed in all springboot examples?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [PR] Upgrade Spring Boot from 4.0.8 to 4.1.1 [incubator-kie-examples]
Posted by "AnnJoy23 (via GitHub)" <gi...@apache.org>.
AnnJoy23 commented on code in PR #2249:
URL: https://github.com/apache/incubator-kie-examples/pull/2249#discussion_r4102355431
##########
kogito-springboot-examples/onboarding-springboot/src/test/resources/application.properties:
##########
@@ -20,4 +20,5 @@
server.port=8080
org.acme.kogito.onboarding.local=true
spring.main.cloud-platform=KUBERNETES
-spring.cloud.bootstrap.enabled=true
\ No newline at end of file
+spring.cloud.bootstrap.enabled=true
+spring.cloud.kubernetes.discovery.enabled=false
Review Comment:
Only onboarding-springboot needs spring.cloud.kubernetes.discovery.enabled=false in its test properties because it's the only example that pulls in kie-addons-springboot-kubernetes — which transitively brings Spring Cloud Kubernetes autoconfiguration onto the classpath. All other examples don't have those jars, so there's nothing to disable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org