Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main branch with Apache main branch #64

Merged
merged 15 commits into from
Oct 3, 2024

Conversation

rgdoliveira
Copy link
Member

@rgdoliveira rgdoliveira commented Oct 3, 2024

Related PRs:

This is MIDSTREAM if you want to send your PR to UPSTREAM use https://github.com/apache/incubator-kie-kogito-runtimes

Please make sure that your PR meets the following requirements:

  • You have read the contributors guide
  • Your code is properly formatted according to this configuration
  • Pull Request title is properly formatted: KOGITO-XYZ Subject
  • Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-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
How to replicate CI configuration locally?

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 to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool 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 details to get more information about it.

How to retest this PR or trigger a specific build:
  • for pull request checks
    Please add comment: Jenkins retest this

  • for a specific pull request check
    Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] tests

  • for quarkus branch checks
    Run checks against Quarkus current used branch
    Please add comment: Jenkins run quarkus-branch

  • for a quarkus branch specific check
    Run checks against Quarkus current used branch
    Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-branch

  • for quarkus main checks
    Run checks against Quarkus main branch
    Please add comment: Jenkins run quarkus-main

  • for a specific quarkus main check
    Run checks against Quarkus main branch
    Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-main

  • for quarkus lts checks
    Run checks against Quarkus lts branch
    Please add comment: Jenkins run quarkus-lts

  • for native checks
    Run native checks
    Please add comment: Jenkins run native

  • for a specific native check
    Run native checks
    Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.

If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

rgdoliveira and others added 15 commits October 3, 2024 09:02
…ocation (apache#3663)

* [incubator-kie-issues#1467] Deleting reproducible profile and its invocation

* [incubator-kie-issues#1467] Hardcoding reference to twin PR/pull-request-config.yaml

* [incubator-kie-issues#1467] Update hardcoded reference to twin PR/pull-request-config.yaml

* [incubator-kie-issues#1467] Update hardcoded reference to twin PR/pull-request-config.yaml

* [incubator-kie-issues#1467] Update hardcoded reference to twin PR/pull-request-config.yaml

* [incubator-kie-issues#1467] Update hardcoded reference to twin PR/pull-request-config.yaml

* [incubator-kie-issues#1467] Update hardcoded reference to twin PR/pull-request-config.yaml

* [incubator-kie-issues#1467] Restoring reference to pull-request-config.yaml

---------

Co-authored-by: Gabriele-Cardosi <[email protected]>
# Conflicts:
#	.github/workflows/pr-kogito-runtimes.yml
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.25.0 to 3.25.5.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](protocolbuffers/protobuf@v3.25.0...v3.25.5)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ache#3678)

* Dispose KieSession after rules execution when using ruleFlowGroup
…3679)

* [Fix apache#3677] Removing exception type from error message

* Update jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/WorkflowProcessInstanceImpl.java

Co-authored-by: Gonzalo Muñoz <[email protected]>

* [Fix apache#3677] Alternative approach

* [Fix apache#281] Adding specific exception handler

---------

Co-authored-by: Gonzalo Muñoz <[email protected]>
…ssKieSession (apache#3681)

* [KIE-1492] Allow KieRuntimeBuilder to also create and provide StatelessKieSession

* wip
… Kie Modules (apache#3672)

* incubator-kie-issues#1483: Create a common Kie Flyway initializer for Kie Modules

* - cleanup

* - cleanup

* - ddls

* - runtime configuration changes

* - changing script locations

* - Improved testing
- README.md

* - README.md
- Api improvements

* - minor changes
…3685)

* [incubator-kie-issues#1500] Add javadoc to kogito properties

* [incubator-kie-issues#1450] Include CI hack inside kie-addons-quarkus-process-dynamic-integration-tests pom to avoid io.quarkus.bootstrap.BootstrapException: Failed to create the application model for org.kie:kie-addons-quarkus-process-dynamic-integration-tests::jar:999-SNAPSHOT error

---------

Co-authored-by: Gabriele-Cardosi <[email protected]>
…ble modules based on only.reproducible flag - only for release build (apache#3687)

Co-authored-by: Gabriele-Cardosi <[email protected]>
# Conflicts:
#	.ci/jenkins/Jenkinsfile.deploy
…tionally deleted (apache#3671)

* [incubator-kie-issues#1473] WIP - Implemented transactional imports and annotations with optional removal. Add unit tests. Small refactoring to allow unit testing/ TDD

* [incubator-kie-issues#1473] Simplified following suggestions.
Now the annotation is conditionally add during code generation.

* [incubator-kie-issues#1473] Implemented KogitoContextTestUtils#restContextBuilders for rest-specific tests.
Enforced exclusion of "Java" context from processes' rest generation.

* [incubator-kie-issues#1473] Set log level to debug inside manageTransactional

* [incubator-kie-issues#1473] Add spring-tx dependency to jbpm-spring-boot-starter to be always available for springboot projects

* [incubator-kie-issues#1473] Add quarkus-narayana-jta dependency to kogito-quarkus-workflow-common to be always available for quarkus projects

* [incubator-kie-issues#1473] Add quarkus-narayana-jta-deployment dependency

* [incubator-kie-issues#1473] Introduce nasty workaround (delay) to avoid ARJUNA issues with nested threads

* [incubator-kie-issues#1473] Disabling transaction for sonataflow-quarkus-integration-test

* [incubator-kie-issues#1473] Conditionally add the thread sleep. Fix kogito.processes.transactionEnabled variable

* [incubator-kie-issues#1473] Importing new wait strategy.

* [incubator-kie-issues#1473] WIP - Experimenting Thread.join inside transaction (instead of Thread.sleep)

* [incubator-kie-issues#1473] WIP - fix formatting

* [incubator-kie-issues#1473] WIP - commented out conditionally excluded serverless transaction. Disable transaction workaround.

* [incubator-kie-issues#1473] WIP - commented out conditionally excluded serverless transaction. Disable transaction workaround.

* [incubator-kie-issues#1473] Disabling transaction for serverless

* [incubator-kie-issues#1473] Fix formatting

* [incubator-kie-issues#1473] Fix test

* [incubator-kie-issues#1473] Fixed as per PR suggestion. Using context.hasRest() instead of name.equals("Java") to check for rest endpoint creation. Implemented MockQuarkusKogitoBuildContext and MockSpringBootKogitoBuildContext to override the hasRest method during tests.

---------

Co-authored-by: Gabriele-Cardosi <[email protected]>
@rgdoliveira rgdoliveira merged commit c720f0c into kiegroup:main Oct 3, 2024
5 checks passed
@rgdoliveira rgdoliveira added the hacktoberfest-accepted Included in https://hacktoberfest.digitalocean.com/hacktoberfest-update event label Oct 3, 2024
@rgdoliveira rgdoliveira removed the hacktoberfest-accepted Included in https://hacktoberfest.digitalocean.com/hacktoberfest-update event label Oct 21, 2024
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.

9 participants