jeejz opened a new pull request, #4178:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4178
Major dependency upgrades:
- Quarkus: 3.16.3 → 3.27.2
- Spring Boot: 3.4.1 → 3.5.10
- Spring Framework: 6.2.1 → 6.2.15
- AsyncAPI: 2.6.0 → 3.0.0
- Fabric8 Kubernetes Client: 7.1.0 → 7.3.1
Key changes:
1. AsyncAPI v3.0.0 Migration:
- Updated AsyncAPIInfoConverter to handle new v3 structure
- Operations now separate from channels
- Updated asyncAPI.yaml and callbackResults.yaml specs
- OperationAction enum (SEND/RECEIVE) replaces publish/subscribe
2. Fabric8 Kubernetes Client 7.3.1:
- KubernetesServer → KubernetesMockServer
- OpenShiftServer → OpenShiftMockServer
- before()/after() → init()/destroy()
- @WithKubernetesTestServer → @QuarkusTestResource
- Direct client injection via @Inject
3. Quarkus Configuration:
- Removed -AlegacyConfigRoot=true compiler argument (deprecated)
- Added quarkus-devtools-utilities dependency
- Added JavaDoc to SonataFlowOtelConfig
4. Kafka MockProducer:
- Added null key serializer parameter (required in new version)
All code changes include inline comments explaining the upgrade rationale.
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
Many thanks for submitting your Pull Request :heart:!
<!-- Please don't forget your Issue link -->
Closes/Fixes/Resolves
https://github.com/apache/incubator-kie-issues/issues/2204
<!-- Please provide a short description of what this PR does -->
**Dependency Changes for upgrading Spring boot to 3.5.10 and Quarkus to
3.27.2**
<!-- Link to related PRs: -->
https://github.com/apache/incubator-kie-drools/pull/6575
https://github.com/apache/incubator-kie-optaplanner/pull/3201
Please make sure that your PR meets the following requirements:
- [ ] You have read the [contributors guide](CONTRIBUTING.md)
- [ ] Your code is properly formatted according to [this
configuration](https://github.com/apache/incubator-kie-kogito-runtimes/tree/main/kogito-build/kogito-ide-config)
- [ ] Pull Request title is properly formatted: `Issue-XYZ Subject`
- [ ] Pull Request title contains the target branch if not targeting main:
`[0.9.x] Issue-XYZ Subject`
- [ ] Pull Request contains link to the JIRA issue
- [ ] Pull Request contains link to any dependent or related Pull Request
- [ ] Pull Request contains description of the issue
- [ ] Pull Request does not include fixes for issues other than the main
ticket
<details>
<summary>
How to replicate CI configuration locally?
</summary>
Build Chain tool does "simple" maven build(s), the builds are just Maven
commands, but because the repositories relates and depends on each other and
any change in API or class method could affect several of those repositories
there is a need to use [build-chain
tool](https://github.com/kiegroup/github-action-build-chain) to handle cross
repository builds and be sure that we always use latest version of the code for
each repository.
[build-chain tool](https://github.com/kiegroup/github-action-build-chain) is
a build tool which can be used on command line locally or in Github Actions
workflow(s), in case you need to change multiple repositories and send multiple
dependent pull requests related with a change you can easily reproduce the same
build by executing it on Github hosted environment or locally in your
development environment. See [local
execution](https://github.com/kiegroup/github-action-build-chain#local-execution)
details to get more information about it.
</details>
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]