instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__incubator-kie-kogito-examples__1332
apache/incubator-kie-kogito-examples
1,332
defect
d98882461d8c37af7eb78784f77ab520673b169d
89581eabf7307d9d83de00b2b518e4cd2e8e03f0
KOGITO-7612 - Implement gRPC streaming scenarios
JIRA: [KOGITO-7612](https://issues.redhat.com/browse/KOGITO-7612) PR set: * https://github.com/kiegroup/kogito-runtimes/pull/2342 * https://github.com/kiegroup/kogito-examples/pull/1332 Info: 1. Enhanced the testing gRPC service to handle streaming as well. 2. Added tests for the service itself. 3. Added int...
diff --git a/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/main/resources/application.properties b/serverless-workflow-examples/serverless-workflow-greeting-rpc-quarkus/serverless-workflow-greeting-client-rpc-quarkus/src/main/resources/applicat...
1
1
1
[{"id": "G0", "claim": "In jsongreetBiDiStream.sw.json the sayHello functionRef should pass the plain expression \".helloRequest\" as arguments - so that the arguments evaluate to a list of JSON nodes - instead of the nested {\"elements\": \".helloRequests\"} object it uses.", "category": "correctness", "verdict": "sup...
null
apache__incubator-kie-kogito-examples__1341
apache/incubator-kie-kogito-examples
1,341
defect
ba86811ae786159ba045d8f707d046e53e8e0161
ac42fdc8661811de260eeff16cb1505e8ca8d158
KOGITO-7453: Extend error handling example to show usage of error code
Extension of the serverless-workflow-error-quarkus example to show usage of different error definitions: ``` "errors": [ { "name": "odd number", "code": "java.lang.RuntimeException" }, { "name": "bad request", "code": "HTTP:400" } ], ```
diff --git a/serverless-workflow-examples/serverless-workflow-error-quarkus/README.md b/serverless-workflow-examples/serverless-workflow-error-quarkus/README.md index 45e1d025bd..a4b023a693 100644 --- a/serverless-workflow-examples/serverless-workflow-error-quarkus/README.md +++ b/serverless-workflow-examples/serverles...
5
5
2
[{"id": "G0", "claim": "Since the example is being changed, the first error's code could be the message string \"Odd situation\" instead of the full Java class name.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The BAD_REQUEST error message \"...
null
apache__incubator-kie-kogito-examples__1386
apache/incubator-kie-kogito-examples
1,386
defect
5bad15ccd882c3c71f7bc05dc8cf0dac2066da60
08806af55f821de5a1d16187c9cc377efe5ee326
[KOGITO-7865] Adding custom type through addon example
This example illustrate the addition of custom type and custom functions through an addon. We are assuming the workflow wants to communicate with an external service written with a custom RPC protocol, then we add a new custom type "rpc" and also a custom namepsace "rpc" with two flows using them
diff --git a/serverless-workflow-examples/serverless-workflow-custom-type/README.md b/serverless-workflow-examples/serverless-workflow-custom-type/README.md new file mode 100644 index 0000000000..fe070d1ce3 --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-custom-type/README.md @@ -0,0 +1,5 @@ +# Kog...
19
15
1
[{"id": "G0", "claim": "Once the guide exists, add a link back to it in the README.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Put a space before the opening brace in `RPCCustomTypeHandler extends WorkItemTypeHandler {`.", "category": "maintai...
null
apache__incubator-kie-kogito-examples__1889
apache/incubator-kie-kogito-examples
1,889
defect
c378f40fc619f4c8843ec809bcf0fa8915c6a2d6
527e6099cc893bee97d27925d48b1e9646235057
[incubator-kie-issues#847] Implemented kogito-examples with models from external jar
Fixes https://github.com/apache/incubator-kie-issues/issues/847 Requires https://github.com/apache/incubator-kie-kogito-runtimes/pull/3427 This PR implement a kogito examples where a dmn model is included in one jar, and consumed from a different one <details> <summary> How to replicate CI configuration loc...
diff --git a/kogito-quarkus-examples/dmn-resource-jar-quarkus-example/README.md b/kogito-quarkus-examples/dmn-resource-jar-quarkus-example/README.md new file mode 100644 index 0000000000..f12e74acd6 --- /dev/null +++ b/kogito-quarkus-examples/dmn-resource-jar-quarkus-example/README.md @@ -0,0 +1,141 @@ +# DMN + Quarkus...
1
1
0
[{"id": "G0", "claim": "The new examples' READMEs should update their prerequisite versions (Java 11+, Maven 3.8.6+) to match the versions being adopted for all kogito-examples readmes in PR #1885.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-kogito-examples__1895
apache/incubator-kie-kogito-examples
1,895
defect
03bad717a3d96b008fdf611a0cd0ec6243b396cb
15878d74c54e7b74b71c7e519b31dd4e22c5d987
[KOGITO-9454] Adding Java embedded flows to examples
Add embedded sonata workflow examples to be referenced from guide
diff --git a/serverless-workflow-examples/pom.xml b/serverless-workflow-examples/pom.xml index 0980443157..add587fafc 100644 --- a/serverless-workflow-examples/pom.xml +++ b/serverless-workflow-examples/pom.xml @@ -78,6 +78,7 @@ <module>serverless-workflow-timeouts-showcase-extended</module> <module>s...
4
2
0
[{"id": "G0", "claim": "If this executor will serve as an entry point for executing sonataflow workflows, its dependency (artifact/group) should be renamed to something like org.apache.kie.sonataflow:sonataflow-workflow-executor, or the feature should be folded into the existing sonataflow-quarkus module.", "category":...
null
apache__incubator-kie-kogito-examples__1999
apache/incubator-kie-kogito-examples
1,999
defect
00da2e095e3eca8e5ff74abfd4751ecbf1e96705
75e618383d8f1e6b53f0f84aa308b1397749b0b3
Add MongoDB correlation on Quarkus example
Fix https://github.com/apache/incubator-kie-kogito-examples/issues/1998
diff --git a/README.md b/README.md index 4cc8f4fb1d..0ac3377164 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,12 @@ A Serverless Workflow service that works as a Github bot application, which reac * [on Quarkus](serverless-workflow-examples/serverless-workflow-github-showcase) +## Serverless Workflow Corre...
2
1
1
[{"id": "G0", "claim": "GrafanaDockerComposeIT.java should be checked out at its previous version, since the pull request's only change to it (removing trailing whitespace) is not a real change.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
apache__incubator-kie-kogito-examples__2162
apache/incubator-kie-kogito-examples
2,162
defect
11e7ebee5da647ec0dc28f295b90c1f571375ceb
4fe90a9ec532175b35e2c3770465284652c3ea00
[incubator-kie-issues-2204] Quarkus upgrade 3.27.2 and Spring Boot to 3.5.10
Upgrade Quarkus platform and plugin from version 3.20.3 to 3.27.2 across all Kogito and Serverless Workflow examples. Additionally, upgrade Apache Camel Quarkus from 3.20.2 to 3.27.2 in the loanbroker-showcase module. Remove deprecated -AlegacyConfigRoot=true compiler arguments from serverless-workflow-custom-rpc an...
diff --git a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml index 0a6becaaa6..d1e3b11e5d 100644 --- a/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml +++ b/kogito-quarkus-examples/decisiontable-quarkus-example/pom.xml @@ -30,10...
4
3
1
[{"id": "G0", "claim": "The quarkus-hibernate-orm-panache and jakarta.persistence-api dependencies the PR adds to process-instance-migration-quarkus are unneeded, and the reviewer asks why they were added.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "g...
null
apache__incubator-kie-kogito-examples__273
apache/incubator-kie-kogito-examples
273
defect
85e292da234ee73c5a922302ec10b9deb267ade9
cc294ccd56586730c4cc3f0a386ee635a6f4600f
[KOGITO-2408] Spring Kafka default property should be `spring.kafka.bootstrap-servers`
https://issues.redhat.com/browse/KOGITO-2408 Removing old behavior of `kafka.bootstrap.servers`. We should use default behavior of the runtime (here Spring Boot) to avoid confusion on setup. Many thanks for submitting your Pull Request :heart:! Please make sure that your PR meets the following requirements: ...
diff --git a/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KafkaConsumerConfig.java b/process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KafkaConfig.java similarity index 61% rename from process-kafka-quickstart-springboot/src/main/java/org/kie/kogito/tests/KafkaConsumerConf...
1
1
0
[{"id": "G0", "claim": "The JIRA (KOGITO-2408) description still says to use kafka.bootstrap.servers while the PR moves the property to spring.kafka.bootstrap-servers, so the JIRA needs updating.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-kogito-examples__355
apache/incubator-kie-kogito-examples
355
defect
eb04022014286620d6df202187638cbb1dcfc9b4
97a3b0d20a58cf34f029eccaa93a5d271812493c
[KOGITO-3294] - Improving unit tests for Knative example
Signed-off-by: Ricardo Zanini <zanini@redhat.com> See: https://issues.redhat.com/browse/KOGITO-3294 Many thanks for submitting your Pull Request :heart:! Please make sure that your PR meets the following requirements: **WARNING! Please make sure you are opening your PR against `master` branch!** - [x] You...
diff --git a/process-knative-quickstart-quarkus/pom.xml b/process-knative-quickstart-quarkus/pom.xml index a82b506ce6..b3e6a5836e 100644 --- a/process-knative-quickstart-quarkus/pom.xml +++ b/process-knative-quickstart-quarkus/pom.xml @@ -16,6 +16,7 @@ <properties> <version.cloudevents>2.0.0-milestone1</versi...
2
1
0
[{"id": "G0", "claim": "The pull request changes the main application log level from INFO to DEBUG; it should stay at (or be lowered back to) INFO.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "The test application.properties hardcodes the sink URL...
null
apache__incubator-kie-kogito-examples__518
apache/incubator-kie-kogito-examples
518
defect
78cea175a423c785901f6160e95d8a1cbc0d354f
80ba61657ae638fa68a1f5b930aeca25ed873168
[KOGITO-3914] Fixing SW examples to match spec 0.5
Signed-off-by: Ricardo Zanini <zanini@redhat.com> Depends on: https://github.com/kiegroup/kogito-runtimes/pull/979 See: https://issues.redhat.com/browse/KOGITO-3914 Many thanks for submitting your Pull Request :heart:! Please make sure that your PR meets the following requirements: **WARNING! Please make ...
diff --git a/serverless-workflow-events-quarkus/src/main/resources/META-INF/resources/applicants.html b/serverless-workflow-events-quarkus/src/main/resources/META-INF/resources/applicants.html index 81a90635c6..9c80439fe3 100644 --- a/serverless-workflow-events-quarkus/src/main/resources/META-INF/resources/applicants.h...
2
1
1
[{"id": "G0", "claim": "The applicant example fails at runtime with \"XOR split could not find at least one valid outgoing connection for split VerifyNewApplicant\" even though the local tests pass.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Bec...
null
apache__incubator-kie-kogito-examples__859
apache/incubator-kie-kogito-examples
859
defect
0eb0de2c2fe41834e63793776304b1c91e3b41e0
14b5afdadaffd462b2608cdc28e3cd25439696f1
[KOGITO-3922] Adding error workflow example
Merge with https://github.com/kiegroup/kogito-runtimes/pull/1536
diff --git a/serverless-workflow-error-quarkus/README.md b/serverless-workflow-error-quarkus/README.md new file mode 100644 index 0000000000..d8727d912b --- /dev/null +++ b/serverless-workflow-error-quarkus/README.md @@ -0,0 +1,109 @@ +# Kogito Serverless Workflow - Greeting Example + +## Description + +This example co...
6
6
0
[{"id": "G0", "claim": "The README sentence 'The workflow starts with a' is left incomplete, so the description it promises is missing.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README link to the CNCF Serverless Workflow specification is...
null
apache__incubator-kie-kogito-examples__886
apache/incubator-kie-kogito-examples
886
defect
bb0d7f9d39021e1a4811750e1fb94eee05c37caa
428d1478302db76acafd9d31d435b8a468095216
KOGITO-5533: add examples of evaluation of rules via CloudEvents
* [Jira task](https://issues.redhat.com/browse/KOGITO-5533) PRs - https://github.com/kiegroup/kogito-runtimes/pull/1610 - https://github.com/kiegroup/kogito-examples/pull/886
diff --git a/pom.xml b/pom.xml index cc1402f419..be99599494 100755 --- a/pom.xml +++ b/pom.xml @@ -189,6 +189,8 @@ <module>process-usertasks-with-security-quarkus</module> <module>process-usertasks-with-security-springboot</module> <module>rules-quarkus-helloworld</module> + <module>ru...
2
2
1
[{"id": "G0", "claim": "The native test should use @QuarkusIntegrationTest instead of @NativeImageTest with a @QuarkusTest subclass.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please add tests also with a wrong input, wrong query, etc., similar to th...
null
apache__incubator-kie-kogito-examples__990
apache/incubator-kie-kogito-examples
990
defect
864828dee461fa1d2009e6ba334ab48018b217b7
4bae02746b5567f57c5803df7ff0db5b3ac95777
[KOGITO-6282] Removed dependency. Fixed tests
@danielezonca @evacchi @jiripetrlik See https://issues.redhat.com/browse/KOGITO-6282 Needed by https://github.com/kiegroup/kogito-runtimes/pull/1735
diff --git a/dmn-drools-quarkus-metrics/docker-compose.yml b/dmn-drools-quarkus-metrics/docker-compose.yml index 9743cfbd89..067d91aac6 100644 --- a/dmn-drools-quarkus-metrics/docker-compose.yml +++ b/dmn-drools-quarkus-metrics/docker-compose.yml @@ -18,6 +18,7 @@ services: - hello grafana: image: grafan...
3
1
0
[{"id": "G0", "claim": "Update the Kogito documentation (source in kie-docs) and add a note to the 1.15 release notes, because multiple doc occurrences reference /metrics and users must be told about the new endpoints and the SpringBoot properties.", "category": "documentation", "verdict": "uncertain", "priority": "P1"...
null
apache__incubator-kie-kogito-runtimes__3671
apache/incubator-kie-kogito-runtimes
3,671
defect
34389fe2c21eaa1ea6cc9b58120439884e427725
5b54d4eab14d1e9ececeb99af35b734b5b98e6a2
[incubator-kie-issues#1473] Introduce Transactional annotation, conditionally deleted
Fixes https://github.com/apache/incubator-kie-issues/issues/1473 Depends on https://github.com/apache/incubator-kie-drools/pull/6090 This PR: 1. define a property (`kogito.processes.transactionEnabled`) to conditionally enable transaction (default is true= enabled) 2. implement code to conditionally add tra...
diff --git a/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java b/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java index 6f5ba05f7a5..4bda3d0e4c2 100644 --- a/kogito-codegen-modules/kogito-codeg...
4
2
1
[{"id": "G0", "claim": "pibizza suggests the transaction-disabled test's import assertion be rewritten as assertThat(toTest.getImports()).filtering(importDeclaration -> importDeclaration.getName().toString().equals(transactionalImport)).isEmpty() instead of filter(...)+isEmpty().", "category": "testing", "verdict": "un...
null
apache__incubator-kie-kogito-runtimes__3672
apache/incubator-kie-kogito-runtimes
3,672
defect
34389fe2c21eaa1ea6cc9b58120439884e427725
8cfaa657db801d1add65e5f9919ba15b95fa361b
incubator-kie-issues#1483: Create a common Kie Flyway initializer for Kie Modules
Closes https://github.com/apache/incubator-kie-issues/issues/1483 Ensemble: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3672 https://github.com/apache/incubator-kie-kogito-apps/pull/2102 https://github.com/apache/incubator-kie-kogito-examples/pull/2014 <!-- Licensed to the Apache Software ...
diff --git a/addons/common/flyway/pom.xml b/addons/common/flyway/pom.xml new file mode 100644 index 00000000000..6a79414f19a --- /dev/null +++ b/addons/common/flyway/pom.xml @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more cont...
5
5
1
[{"id": "G0", "claim": "The per-database test subclasses should be replaced with a parametrized test instead of one hand-written subclass per database type.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Framework-specific classes (KieFlywayQuarkusRecor...
null
apache__incubator-kie-kogito-runtimes__3686
apache/incubator-kie-kogito-runtimes
3,686
defect
a01e6ea29cb11161a10af30bea99f42b22845188
c3e5883c6ab613e905fb60b331e61be9a13faf37
[incubator-kie-issues#1554] Fix Business Calendar Usage
Closes: https://github.com/apache/incubator-kie-issues/issues/1554 Added getBusinessCalendar method to the ProcessConfig and wired it in AbstractProcessConfig Modified BusinessCalendarImpl to make the actual BusinessCalendarImpl load the content of calendar.properties file in resources. Modified the ProcessConfig ...
diff --git a/jbpm/jbpm-flow/src/main/java/org/jbpm/process/core/timer/BusinessCalendar.java b/api/kogito-api/src/main/java/org/kie/kogito/calendar/BusinessCalendar.java old mode 100755 new mode 100644 similarity index 97% rename from jbpm/jbpm-flow/src/main/java/org/jbpm/process/core/timer/BusinessCalendar.java rename ...
11
8
3
[{"id": "G0", "claim": "The initCalendar() method added to ProcessRuntimeImpl is not needed anymore and the calendar initialisation should be moved to DummyKnowledgeRuntime.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The calendar.properties file adde...
null
apache__incubator-kie-kogito-runtimes__3707
apache/incubator-kie-kogito-runtimes
3,707
defect
626bbed46168d6129a24786178323eb21620b462
7ff40110092f171387c5c2d814be5739a0c67c4f
[incubator-kie-issues#1497] Using the getSerializableNodeInstances inside ProtobufProcessInstanceWriter
Fixes https://github.com/apache/incubator-kie-issues/issues/1497 Requires https://github.com/apache/incubator-kie-drools/pull/6116 <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 repo...
diff --git a/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/CompositeNodeInstance.java b/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/CompositeNodeInstance.java index 2612be7998b..1dbe2cfa3a3 100755 --- a/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/CompositeNodeInstance.ja...
2
2
1
[{"id": "G0", "claim": "Add a unit test that actually tests the protobuf serialization changes (the ProtobufProcessInstanceWriter switch to getSerializableNodeInstances) instead of leaving that changed behaviour covered only indirectly.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introd...
null
apache__incubator-kie-kogito-runtimes__3768
apache/incubator-kie-kogito-runtimes
3,768
defect
b8b74df59c2c54c34fb049ecb7bc341853842991
2b5dc82e10a4be5b51a844d00cb5d6962649a6fc
[Fix #3767] Supporting open api functions with File as parameter
Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3767
diff --git a/kogito-workitems/kogito-jackson-utils/src/main/java/org/kie/kogito/jackson/utils/CommonObjectModule.java b/kogito-workitems/kogito-jackson-utils/src/main/java/org/kie/kogito/jackson/utils/CommonObjectModule.java new file mode 100644 index 00000000000..9c14c09a21e --- /dev/null +++ b/kogito-workitems/kogito...
2
2
2
[{"id": "G0", "claim": "If the JSON object node is empty, `((ObjectNode) node).iterator().next()` throws a NoSuchElementException, so the reviewer suggests guarding with `node.size() > 0` in the isObject branch of fromNode.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
apache__incubator-kie-kogito-runtimes__3850
apache/incubator-kie-kogito-runtimes
3,850
defect
0c347c5b4e0c176c303f6899df4c8c857140aa3a
b2e6e20fd40f2993585da1b776cce662bea8c92a
[Incubator-kie-issues-1790] Enhancing business calendar flexibility
In order to allow customers extend the default BusinessCalendar functionality we should allow them to provide their custom calendar implementation (a java class implementing the BusinessCalendar.java interface) and configure the application to help wiring it in the workflow engine. closes: https://github.com/apache/...
diff --git a/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java b/kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java index 20c7189198a..27d15f38aeb 100644 --- a/kogito-codegen-modules/kogito-codeg...
5
5
4
[{"id": "G0", "claim": "Remove the new CustomBusinessCalendarProducer templates and, when a custom class is configured, modify the CompilationUnit of the original BusinessCalendarProducer template programmatically instead of adding per-variant templates.", "category": "design", "verdict": "supported", "priority": "P1",...
null
apache__incubator-kie-kogito-runtimes__3904
apache/incubator-kie-kogito-runtimes
3,904
defect
56aa9e17db88b29d189d0b2e8ec2555b942bafbd
225f556e5de6769e44ae18a7420fbe4bedaeb534
[Incubator-kie-issues-1932] Fix for node name being null for throw and catch link
Closes https://github.com/apache/incubator-kie-issues/issues/1932 Added default name for ThrowLink and CatchLink nodes <img width="1314" alt="Screenshot 2025-04-25 at 9 20 44 PM" src="https://github.com/user-attachments/assets/f910437d-9197-4c3a-8f00-f9d9ff78860b" />
diff --git a/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/canonical/AbstractVisitor.java b/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/canonical/AbstractVisitor.java index 65932b1d760..4e5d5226f83 100644 --- a/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/canonical/AbstractVisitor.java +++...
2
1
0
[{"id": "G0", "claim": "The blank-name guard in nodeAsserter could use StringUtils.isBlank instead of the hand-rolled null/trim/isEmpty check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test was missed by the pull request, though the revie...
null
apache__incubator-kie-kogito-runtimes__3928
apache/incubator-kie-kogito-runtimes
3,928
defect
8b0d3e861bc70428cdf3e38e8aecef75e8ff494c
1041b5628b4608b1a514158c88ac706de301b458
apache/incubator-kie-issues#1894: introduce OAUTH2 token exchange
<!-- 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"); yo...
diff --git a/.gitignore b/.gitignore index fa15842c86f..dbf0621888d 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,6 @@ target/ *.log # Apache RAT check excludes file -!.rat-excludes \ No newline at end of file +!.rat-excludes + +quarkus/integration-tests/integration-tests-quarkus-gradle/integration-tests-qu...
12
9
3
[{"id": "G0", "claim": "The OIDC dependencies added to the deployment (and runtime) poms must be set as `provided` since it is the user's responsibility to bring OIDC when needed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `KEY_CLOAK_` prefix of ...
null
apache__incubator-kie-kogito-runtimes__3937
apache/incubator-kie-kogito-runtimes
3,937
defect
cc5ee492adb6476cdbf805d3171c29ca0c3d3b36
bdb5419c1fc3af4ee152cfa15866996ed6d2bb4f
Issue-3936 Upgrade the REST custom functions to have visibility over the returned status code and headers
Implementation for the feature proposal https://github.com/apache/incubator-kie-kogito-runtimes/issues/3936.
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/src/main/java/org/kie/kogito/serverless/workflow/parser/types/RestTypeHandler.java b/kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/src/main/java/org/kie/kogito/serverless/workflow/parser/types/RestTypeHandler.java index a...
7
7
2
[{"id": "G0", "claim": "The hand-rolled extractJsonNodeValue conversion should be replaced by reusing the existing JsonObjectUtils conversion utility the reviewer pointed to.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The empty-parameter constructor ...
null
apache__incubator-kie-kogito-runtimes__3944
apache/incubator-kie-kogito-runtimes
3,944
defect
c1e86c1d51e701df6434963a32b1127712a86f49
eb39f82570c9820c9d5ebf8707cc00a4773b60b9
apache/incubator-kie-issues#1968 - Add IT to test header propagation for workflow triggered by CloudEvent
<!-- 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"); yo...
diff --git a/kogito-build/kogito-dependencies-bom/pom.xml b/kogito-build/kogito-dependencies-bom/pom.xml index 8dc36db0d3a..40bfcb98da7 100644 --- a/kogito-build/kogito-dependencies-bom/pom.xml +++ b/kogito-build/kogito-dependencies-bom/pom.xml @@ -51,7 +51,7 @@ <version.net.minidev.jsonsmart>2.4.10</version.net.m...
7
4
1
[{"id": "G0", "claim": "wireMockServer.resetAll() could be invoked when the mock is stopped so the mock server can be reused or used in parallel tests.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Additional unhappy-path tests should be added to test the...
null
apache__incubator-kie-kogito-runtimes__3949
apache/incubator-kie-kogito-runtimes
3,949
defect
102cabc629bae5a5031af247d6df1f07ba2cb5e6
c1f1756adc01853d2bb9ec80c22778bec8da6965
[incubator-kie-issues#1973] Adapt to benchmark-related refactoring
Fixes https://github.com/apache/incubator-kie-issues/issues/1973 Needed by: https://github.com/apache/incubator-kie-drools/pull/6367 Needed by: https://github.com/apache/incubator-kie-benchmarks/pull/294 @fjtirado FYI: I add a timeout inside `QuarkusEventThreadPoolTest` because, for some reason, that test hanged...
diff --git a/kogito-codegen-modules/kogito-codegen-decisions/src/main/java/org/kie/kogito/codegen/decision/DecisionCodegenUtils.java b/kogito-codegen-modules/kogito-codegen-decisions/src/main/java/org/kie/kogito/codegen/decision/DecisionCodegenUtils.java index 21543a3b14d..66d0d61a107 100644 --- a/kogito-codegen-module...
4
1
0
[{"id": "G0", "claim": "Remove the commented-out `//DecisionValidation.dmnValidateResources(...)` line left in loadModelsAndValidate.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Avoid the hardcoded 5-minute timeout in the test by extracting t...
null
apache__incubator-kie-kogito-runtimes__3960
apache/incubator-kie-kogito-runtimes
3,960
defect
8b0d3e861bc70428cdf3e38e8aecef75e8ff494c
959ef39bc5c49b50e3d05e31a9fbf96f2db2b2fd
[Fix #3959] Case sensitive check for excluded headers
Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3959
diff --git a/api/kogito-api/src/main/java/org/kie/kogito/internal/utils/CaseInsensitiveSet.java b/api/kogito-api/src/main/java/org/kie/kogito/internal/utils/CaseInsensitiveSet.java new file mode 100644 index 00000000000..b20900ab311 --- /dev/null +++ b/api/kogito-api/src/main/java/org/kie/kogito/internal/utils/CaseInse...
2
1
0
[{"id": "G0", "claim": "Add an assertion that the set contains the original mixed-case string: assertThat(set.contains(\"Content-Length\")).isTrue().", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changed excluded-headers filter in OpenApiWorkItemHa...
null
apache__incubator-kie-kogito-runtimes__3970
apache/incubator-kie-kogito-runtimes
3,970
defect
1edb4e2202f779a3da1677529e6a4265a78bc1e0
ce0f7ac943f32fcfe8e7416588c1dd851f78e560
[Fix #3969] Making sure log method is unique
Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3969
diff --git a/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/src/test/java/org/kie/kogito/serverless/workflow/executor/StaticFluentWorkflowApplicationTest.java b/kogito-serverless-workflow/kogito-serverless-workflow-executor-core/src/test/java/org/kie/kogito/serverless/workflow/executor/StaticFluent...
1
1
0
[{"id": "G0", "claim": "The @Deprecated annotations added by this pull request should carry a comment/javadoc note saying what to use instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-kogito-runtimes__3999
apache/incubator-kie-kogito-runtimes
3,999
defect
b42a86cfea863870325966669f96ba12c563db0b
0d8199b385c02d837b8f5827d1be20beaab3b2c9
[Fix #3998] Properly split between open api generated runtime/deployment
Fix https://github.com/apache/incubator-kie-kogito-runtimes/issues/3998
diff --git a/kogito-bom/pom.xml b/kogito-bom/pom.xml index c2abfcae10c..869d115e961 100755 --- a/kogito-bom/pom.xml +++ b/kogito-bom/pom.xml @@ -2133,7 +2133,7 @@ <version>${project.version}</version> <classifier>sources</classifier> </dependency> - <dependency> + <dependency> ...
4
2
1
[{"id": "G0", "claim": "The new <module> entry in kogito-serverless-workflow/pom.xml should be written on a single line like the previous module entries.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Unit tests for the pull request's changes st...
null
apache__incubator-kie-kogito-runtimes__4061
apache/incubator-kie-kogito-runtimes
4,061
defect
e11f3b528d1ac932a5a059688ae7d0cb4527115a
29270bdb4c4feb5ab162e842dead957749ffb0b6
Test subflow after sleep
Adding IT for #4060 <!-- 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 ...
diff --git a/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/SubProcessNodeInstance.java b/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/SubProcessNodeInstance.java index 5fb11748839..e24adf32291 100755 --- a/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/SubProcessNodeInstance...
1
1
0
[{"id": "G0", "claim": "The Thread.sleep(40000) added in tokenPropagations is redundant next to the waitForProcessCompletion call and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-kogito-runtimes__4101
apache/incubator-kie-kogito-runtimes
4,101
defect
40040142bc9b1b976a30b26434609210e6d221a5
4eedd7c03ef1a309808d0645ebd7bbc0b6c7f4e7
[incubator-kie-issues#2150] Implementing DMNAnnotated bean awareness on DMNContext population
Fixes https://github.com/apache/incubator-kie-issues/issues/2150 This PR introduce a workaround mechanism to preserve DMN-annotated beans during population of the DMN context. I'm involving people of both bpmn and swf because, IINW, those behavior has been introduced and approved byt swf guys, but the code is sue...
diff --git a/jbpm/jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/rule/DecisionRuleTypeEngineImpl.java b/jbpm/jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/rule/DecisionRuleTypeEngineImpl.java index 23220b2bf4a..19358ebcd92 100644 --- a/jbpm/jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/rule/DecisionRuleTypeEngineImpl.java +++ b/jbpm/jbpm...
3
2
2
[{"id": "G0", "claim": "In the S1 code, isDMNAnnotatedBean(Class) has inverted logic: JavaBackedType.of(clazz).equals(BuiltInType.UNKNOWN) is true for classes NOT recognized as Java-backed types, so non-DMN-annotated beans would be misidentified; the condition should be negated.", "category": "correctness", "verdict": ...
null
apache__incubator-kie-kogito-runtimes__4151
apache/incubator-kie-kogito-runtimes
4,151
defect
c8c9c6dbb51dcc91eb3b1df499c842735a0d51f7
fa3e834562eda687f674fa0b2f5a872df5663084
[incubator-kie-issues#1983] Adapt the configurations in our Quarkus extensions to use the new config mechanism
Closes https://github.com/apache/incubator-kie-issues/issues/1983 <!-- 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 ...
diff --git a/quarkus/addons/camel/deployment/pom.xml b/quarkus/addons/camel/deployment/pom.xml index 7555c881a49..84f09a17f3d 100644 --- a/quarkus/addons/camel/deployment/pom.xml +++ b/quarkus/addons/camel/deployment/pom.xml @@ -86,9 +86,6 @@ <version>${version.io.quarkus}</version> </path> ...
3
2
0
[{"id": "G0", "claim": "The method names for the error-propagate settings should stay as close as possible to their property names, using Errors rather than Events (e.g. for processinstances.errors.propagate, and likewise for processdefinitions.errors.propagate and usertasks.errors.propagate).", "category": "maintainab...
null
apache__incubator-kie-kogito-runtimes__4260
apache/incubator-kie-kogito-runtimes
4,260
defect
2b8f922afd683dd6759ec0d1841004b8b474b26e
ef69db060523619588d569a894dcb7372de1d9d3
[incubator-kie-issues#2164] Implement property retrieval from YAML files
Fixes https://github.com/apache/incubator-kie-issues/issues/2164 Depends on: https://github.com/apache/incubator-kie-drools/pull/6674 Needed by: https://github.com/apache/incubator-kie-kogito-examples/pull/2206 This PR: 1. modify property retrieval for quarkus environment 2. add properties retrieved from...
diff --git a/kogito-codegen-modules/kogito-codegen-api/src/main/java/org/kie/kogito/codegen/api/context/impl/AbstractKogitoBuildContext.java b/kogito-codegen-modules/kogito-codegen-api/src/main/java/org/kie/kogito/codegen/api/context/impl/AbstractKogitoBuildContext.java index 907b305f72b..af47398064a 100644 --- a/kogit...
5
5
3
[{"id": "G0", "claim": "Resolving application.yml/yaml via new File(url.getFile()) is fragile: URL-encoded or non-file: resources (e.g. jar:) can make YAML loading fail, so the URLs should be resolved via toURI()/Paths and an InputStream overload of loadYmlProperties considered.", "category": "correctness", "verdict": ...
null
apache__incubator-kie-kogito-runtimes__4270
apache/incubator-kie-kogito-runtimes
4,270
defect
6b455aa31c6ad6a0294163f51956a45b28e1b2cd
146170013114a0688f10243f0d05d32df222e7b8
[incubator-kie-issues#2288] - Springboot 4.0.x upgrade
Closes: https://github.com/apache/incubator-kie-issues/issues/2288 Related PRs - Drools: https://github.com/apache/incubator-kie-drools/pull/6686 - Optaplanner: https://github.com/apache/incubator-kie-optaplanner/pull/3221 - Kogito Apps: https://github.com/apache/incubator-kie-kogito-apps/pull/2331 - Kogito Exam...
diff --git a/kogito-build/kogito-dependencies-bom/pom.xml b/kogito-build/kogito-dependencies-bom/pom.xml index 43b67380d62..77ae852993c 100644 --- a/kogito-build/kogito-dependencies-bom/pom.xml +++ b/kogito-build/kogito-dependencies-bom/pom.xml @@ -42,16 +42,16 @@ <!-- this version property is used in plugins but ...
9
7
1
[{"id": "G0", "claim": "The junit jupiter and platform version management should be merged into a single managed version property in the BOM.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added version.io.serverlessworkflow property is unju...
null
apache__incubator-kie-optaplanner__1123
apache/incubator-kie-optaplanner
1,123
defect
9f2a831a64415e9f620d28bb72d2ae84e9e86d7a
feb666865082ff737d6d41ff59dfcb4c3fc2c57a
Add location to JAXB validation error
Slightly improves the validation message as requested in https://kie.zulipchat.com/#narrow/stream/232679-optaplanner/topic/XML.20mistake.20.3D.3E.20no.20line.20number. However, it's not possible to get the line number, as this information is available only if we use SAX as the underlying parser. In our case, we use ...
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/io/jaxb/GenericJaxbIO.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/io/jaxb/GenericJaxbIO.java index bf5243da3f1..cbde03bc1b4 100644 --- a/optaplanner-core/src/main/java/org/optaplanner/core/impl/io/jaxb/GenericJaxbIO.java +++ b/opt...
1
1
0
[{"id": "G0", "claim": "Use plain string concatenation instead of the StringBuilder in validationEventToString — equal or faster and reads better — and, once done, inline the method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__1202
apache/incubator-kie-optaplanner
1,202
defect
cc76c0e63f2cdc5c4d69223d9ed735f9accb4148
7fe7614171482d47886080511e63295e3679326f
PLANNER-2345: Allow @Inject ConstraintVerifier in tests in Quarkus
No new dependencies added to optaplanner-quarkus; it detects if ConstraintVerifier is on the classpath, and if so, create a Gizmo supplier of the ConstraintVerifier. <!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that ty...
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/pom.xml index e109fc12bab..1199d884926 100644 --- a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/pom.xml +++ b/optaplanner-quarkus-integration/optaplanne...
3
3
0
[{"id": "G0", "claim": "The comment added by this change misspells \"incompatible\" as \"incompatiable\" and should be corrected.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR should make sure Bavet is properly enabled when the config sa...
null
apache__incubator-kie-optaplanner__1228
apache/incubator-kie-optaplanner
1,228
defect
b491802389938877e65c65d7c87b37767dd84066
69aaa981d6fa34feac66bdc5e264131db3460db1
PLANNER-2337 NPE in NearbyDistanceMatrix
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA https://issues.redhat.com/browse/PLANNER-2337 <!-- Add a JIRA ticket link if it exists. --> <!-- Example: htt...
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/heuristic/selector/common/nearby/NearbyDistanceMatrix.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/heuristic/selector/common/nearby/NearbyDistanceMatrix.java index feafa6a30b4..e31094d3415 100644 --- a/optaplanner-core/src/main/jav...
4
3
0
[{"id": "G0", "claim": "NearbyDistanceMatrix should be made generic so the class is more self-documenting internally.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "getDestination should recurse instead of refreshing the destinations array in place, prov...
null
apache__incubator-kie-optaplanner__1254
apache/incubator-kie-optaplanner
1,254
defect
65b8440357e086f8c85db4f6db52dd52442cef95
f455ac03ce401caf70096e13cad016721f587c3f
PLANNER-2389 Upgrade Quarkus to 1.13
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA https://issues.redhat.com/browse/PLANNER-2389 <!-- Add a JIRA ticket link if it exists. --> <!-- Example: htt...
diff --git a/build/optaplanner-build-parent/pom.xml b/build/optaplanner-build-parent/pom.xml index 5baef9b9541..2f4d5db0e68 100644 --- a/build/optaplanner-build-parent/pom.xml +++ b/build/optaplanner-build-parent/pom.xml @@ -32,7 +32,7 @@ <version.com.fasterxml.jackson.core>2.12.1</version.com.fasterxml.jackson.co...
1
1
1
[{"id": "G0", "claim": "The many other dependencies versioned in this POM may be overriding the versions coming from master and may also need to be bumped alongside the Quarkus upgrade; the author should check whether they do.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
apache__incubator-kie-optaplanner__1275
apache/incubator-kie-optaplanner
1,275
defect
e14bcfd3de033f2c7dc5a9a1fd0b212893eb365e
9d9d728e5593ac5820eaa498aec63b7b10a7db26
PLANNER-2387: Make moveThreadCount and parallelSolverCount runtime configs
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> https://issues.redhat.com/browse/PLANNER-2387 ### Reference...
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/OptaPlannerProcessor.java b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/OptaPlannerProcessor.java index 21d753d96ff..07cb0f3338...
4
3
0
[{"id": "G0", "claim": "The new moveThreadCount field should be placed before the termination field in SolverRuntimeConfig, because in SolverConfig.java they appear in that order.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test only asserts the r...
null
apache__incubator-kie-optaplanner__1539
apache/incubator-kie-optaplanner
1,539
defect
0a80e00a64975c3c53b8afa56870feb6cfc6a2d7
7d17005fd37bf8532345ada3a73198d648242a12
Make Dev UI tests use id selectors
Should close https://github.com/quarkusio/quarkus/issues/11563 Made the selectors looks for particular id instead of path, so changes to the dev ui base template should not affect this test. <!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to ...
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-templates/constraints.html b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/resources/dev-templates/constraints.html index 4a301c48961..bcf8b2a57ca 100644 --- a/optaplanner-quarkus-integration/opt...
1
1
1
[{"id": "G0", "claim": "The Dev UI element IDs added by this pull request (constraints, model, solver-config) should be prefixed with `optaplanner-`, since without certainty of sole control over the page another extension could introduce a duplicate ID.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
apache__incubator-kie-optaplanner__1568
apache/incubator-kie-optaplanner
1,568
defect
07c6fd188f4861c63e54dabb4fa421f9b0cd4781
3dffea6f3304996bd5961a4bd4e29b2ea57ad79a
PLANNER-2528: Update break when interval cluster start changes
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> https://issues.redhat.com/browse/PLANNER-2528 ### Referenced ...
diff --git a/optaplanner-examples/src/main/java/org/optaplanner/examples/common/experimental/impl/ConsecutiveIntervalInfoImpl.java b/optaplanner-examples/src/main/java/org/optaplanner/examples/common/experimental/impl/ConsecutiveIntervalInfoImpl.java index 7a89cde50b3..9cbd69a147e 100644 --- a/optaplanner-examples/src/...
1
1
1
[{"id": "G0", "claim": "Since this is a bugfix in complex code, a test for the bug should be added to guard against regressions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__1665
apache/incubator-kie-optaplanner
1,665
defect
67de55800204a544fd239d9c3fff33434861ff23
a91756bc404d35fe74a688476648ff3d362ad9d4
Reduce mutability in Phase related code
The goal of this PR is to make it easier to understand and reason about the Phases code. Declaring fields `final` and eliminating the corresponding setters reduces the effort of searching for the places from where the field can be changed. With `final`, the intention is clear: the value is determined during object cons...
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/constructionheuristic/DefaultConstructionHeuristicPhase.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/constructionheuristic/DefaultConstructionHeuristicPhase.java index 80ae52871f8..17ac1ff5eed 100644 --- a/optaplanner-core/src/main...
4
1
0
[{"id": "G0", "claim": "The method that returns a copy of the policy could instead be named and used as `clonerBuilder().build()` rather than `buildClone()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new builder pattern may be unnecessa...
null
apache__incubator-kie-optaplanner__1731
apache/incubator-kie-optaplanner
1,731
defect
881a9d890bc94c061cb6c97b5c42669e1e6e326a
ca436bc9c18de0beced7075c5da4ee93a2b3070d
KOGITO-6413 Review Quarkus runtime extensions Maven setup according t…
…o guide Assembly: - https://github.com/kiegroup/optaplanner/pull/1731 - https://github.com/kiegroup/kogito-runtimes/pull/1788
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/OptaPlannerProcessor.java b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/OptaPlannerProcessor.java index 0e9150e2e96..8e228c3ca6...
1
1
1
[{"id": "G0", "claim": "The new capability name should drop the \"engine\" prefix, using \"org.kie.kogito.rules\" instead of \"org.kie.kogito.engine.rules\", as previously agreed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__1751
apache/incubator-kie-optaplanner
1,751
defect
6bfc19983d66173a2ec5489b973e8d96283f6fbc
e1aa16e9fd4f0689f2d711fbd28c8d75e4e00e69
PLANNER-2508 Add externalized index supply
I paid a lot of attention to keep high level of code style consistency between external supplies and listeners and with the existing code. Some changes on the older code (before this PR) reflect that. ### Question 1: uniqueness requirement Can we afford to require unique entity events in the inverse/index listene...
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/variable/index/ExternalizedIndexVariableSupply.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/variable/index/ExternalizedIndexVariableSupply.java new file mode 100644 index 00000000000..ca402e3b516 --- /dev/null +++ b/o...
4
2
1
[{"id": "G0", "claim": "The new solving test and the one above it may deserve a better place, such as a separate test class, but no suitable existing package has been found.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use a new IdentityHashMa...
null
apache__incubator-kie-optaplanner__1766
apache/incubator-kie-optaplanner
1,766
defect
c9d9ef3c88232c0a67cd8eb18afb682fb59793b5
f1aad2202f4a63b527896fd7f6b742cb7ec39163
PLANNER-2625: Do not fail fast if termination is configured per benchmark
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> https://issues.redhat.com/browse/PLANNER-2625 ### Referenced ...
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/src/test/java/org/optaplanner/benchmark/quarkus/OptaPlannerBenchmarkProcessorMissingSpentLimitPerBenchmarkTest.java b/optaplanner-quarkus-integration/optaplanner-quarkus-benchmark/deployment/src/test/java/org/optaplanner/benchmark/qua...
5
4
2
[{"id": "G0", "claim": "The test benchmark name should be 'First Fit and Local Search without Termination' instead of 'no Termination', for consistency and a more readable error message.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR shou...
null
apache__incubator-kie-optaplanner__1769
apache/incubator-kie-optaplanner
1,769
defect
fc561547cfa503f91ad9fb90a43e9e4bd5ea1f20
96b9bf25966d5a00c333b0560d97d60de1af4204
PLANNER-2303 Fix problem scale for list variable
### JIRA https://issues.redhat.com/browse/PLANNER-2303 The formula is `v^2 / e + v`. It's designed so that it gives the same problem scale with the list variable as with the chained basic variable. I can't see any good meaning behind it. Nevertheless, I can live with this being merged provided that we replace the...
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/entity/descriptor/EntityDescriptor.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/entity/descriptor/EntityDescriptor.java index f3690c13568..32fc9317fb8 100644 --- a/optaplanner-core/src/main/java/org/optaplanner/core/i...
1
1
0
[{"id": "G0", "claim": "Optionally add a // TODO comment with a URL to the Jira issue about renaming \"problem scale\" to \"search space size\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__1807
apache/incubator-kie-optaplanner
1,807
defect
fb2395c33ed9d6b63954e2a040429e494f835926
528d0055e5506c3bce18d11c52c6d5bd16621e44
PLANNER-2628 Implement consumer threads
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA https://issues.redhat.com/browse/PLANNER-2628 <!-- Add a JIRA ticket link if it exists. --> <!-- Example: htt...
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/solver/DefaultSolverJob.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/solver/DefaultSolverJob.java index 2c1d4d7c6ef..3693dcf008e 100644 --- a/optaplanner-core/src/main/java/org/optaplanner/core/impl/solver/DefaultSolverJob.java +++...
3
2
1
[{"id": "G0", "claim": "The close() method should set the consumer reference (consumerExecutor in S1, consumerSupport after the S2 refactor) to null instead of keeping the stale reference around.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Passing the...
null
apache__incubator-kie-optaplanner__1823
apache/incubator-kie-optaplanner
1,823
defect
3fdb361bb0edf843b9051d4de5609487a19a03bf
1fba21c34131d18e17cdda4fb1581f37de75bf87
PLANNER-2661: Add check for @PlanningListVariable to isFieldDeepCloned check
This fixes a bug where planning list variables are not deep planning cloned if their element type is not a Planning Entity or Planning Deep Cloned. Fields on test domain object were made public to allow the test to work on Gizmo <!-- Thank you for submitting this pull request. Please provide all relevant in...
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/solution/cloner/DeepCloningUtils.java b/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/solution/cloner/DeepCloningUtils.java index 2c6c9b5d96a..70d13bdd0ca 100644 --- a/optaplanner-core/src/main/java/org/optaplanner/core/impl/...
1
1
0
[{"id": "G0", "claim": "Making the fields public in the externalized test data classes is not needed — avoid public fields and add a setter instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__1854
apache/incubator-kie-optaplanner
1,854
defect
8ef196252291d00cdf6a033ea3ade9927a919fbf
a1016cb89f723ed000540874f081acaeaab65107
Clean up variable listener support
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> <!-- Example: https://issues.redhat.com/browse/PLANNER-1234 --> ...
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/variable/listener/support/EntityAddedNotification.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/variable/listener/support/EntityAddedNotification.java new file mode 100644 index 00000000000..08542b2...
4
1
0
[{"id": "G0", "claim": "The NotifiableRegistry API forces callers to maintain its internal consistency from the outside (registering each source, appending to the list, keeping nextGlobalOrder in sync, and calling sort() externally); registrations should be batched so that no external sort() call is needed.", "category...
null
apache__incubator-kie-optaplanner__1861
apache/incubator-kie-optaplanner
1,861
defect
42cacd58000f6dc6ba44daec2400d704523f5a40
cd34be758076df5a7f688895ecb5f3d8c63bae1d
Also scan EntityScan packages for Score Directors (Spring Boot)
If a user have a multi-module Spring Boot project, typically the modules are siblings of the main app module package (i.e. they are not a subpackage of the main app module). The old approach only check the main app packages, which would fail for a multi-module project where all the Solver classes are in its own mo...
diff --git a/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/main/java/org/optaplanner/spring/boot/autoconfigure/OptaPlannerAutoConfiguration.java b/optaplanner-spring-integration/optaplanner-spring-boot-autoconfigure/src/main/java/org/optaplanner/spring/boot/autoconfigure/OptaPlannerAutoConfig...
3
2
2
[{"id": "G0", "claim": "Sort the aggregated packages/candidates so the iteration order is consistent, since inconsistency could possibly cause flaky tests.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR still contains a comment saying EntityS...
null
apache__incubator-kie-optaplanner__1887
apache/incubator-kie-optaplanner
1,887
defect
97cc022df6312e618ec562991ed09d73cdc6f9ab
a929586c4cfe753f0e34c30314211e9473dd4286
PLANNER-2672 Return CompletableFuture for a problem change
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> TODO: - [x] check and update documentation ### JIRA https://issues.redhat.com/browse/PLANNER-2672 <!-- Add a JIRA tic...
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/api/solver/SolverJob.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/api/solver/SolverJob.java index 6574a28ab0a..d8e45b51894 100644 --- a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/api/solver/SolverJob.ja...
10
8
1
[{"id": "G0", "claim": "The new @return Javadoc line in SolverJob#addProblemChange should not duplicate the return type already shown by the signature and should read '@return completes after the best solution containing this change has been consumed.'", "category": "documentation", "verdict": "supported", "priority": ...
null
apache__incubator-kie-optaplanner__1908
apache/incubator-kie-optaplanner
1,908
defect
ac6152fd90a59b0ebe8cacf64ca3d34061220c7c
dc0b98557375ea2d37b72c593ca2a1a805d52af5
Clean up shadow variables' corruption detection
Refactoring maps into classes. AbstractScoreDirector is easier to read because the low level stuff has moved away. The low level stuff (iteration, connecting shadow variable descriptors with entities) is also easier to understand because it's modeled using classes, not maps. It's more testable. The test discovers...
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/variable/listener/support/VariableListenerSupport.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/variable/listener/support/VariableListenerSupport.java index dffc7b2493b..c3824d918f8 100644 --- a/cor...
2
2
1
[{"id": "G0", "claim": "The shadow-variable corruption-detection code added by this pull request should be the responsibility of VariableListenerSupport rather than AbstractScoreDirector, which the reviewer says was too bloated to get this responsibility.", "category": "design", "verdict": "supported", "priority": "P1"...
null
apache__incubator-kie-optaplanner__1996
apache/incubator-kie-optaplanner
1,996
defect
f50c214cfdf14df790ff26d141b3e4cdb2cff2f6
c747712ba4cb4c5bb1d55787366bfbd934efe31b
PLANNER-2730 Create a turtle test job with CS-B
The goal is to have two turtle test jobs: one with ConstraintStreams-Drools and the other one with ConstraintStreams-Bavet. <!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. -->...
diff --git a/.ci/jenkins/Jenkinsfile.turtle b/.ci/jenkins/Jenkinsfile.turtle index a2c47ae9870..0ec9d5be277 100644 --- a/.ci/jenkins/Jenkinsfile.turtle +++ b/.ci/jenkins/Jenkinsfile.turtle @@ -42,6 +42,7 @@ pipeline { .withProperty('full') .withProperty('runTurt...
4
3
1
[{"id": "G0", "claim": "CS_TYPE should be injected as an environment variable rather than a build parameter, since nobody will change it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The csType-related identifiers (Jenkinsfile property and getCsType ge...
null
apache__incubator-kie-optaplanner__2010
apache/incubator-kie-optaplanner
2,010
defect
797e70305ff9d2f9a72101776877af0cc817c57c
559276cca1259f358a2a26f94e655b991c60a034
PLANNER-2734: Make Solution Cloner clone implementations of entity interfaces
IndexView.getAllKnownSubclasses() does not get implementations for interfaces, causing a bug in the generated SolutionCloner where implementations of an interface PlanningEntity were not cloned. To fix it, IndexView.getAllKnownImplementors() need to be used instead for interfaces. <!-- Thank you for submitting ...
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/GizmoMemberAccessorEntityEnhancer.java b/optaplanner-quarkus-integration/optaplanner-quarkus/deployment/src/main/java/org/optaplanner/quarkus/deployment/GizmoMemberAccessorEntityEnhancer.java ind...
1
1
0
[{"id": "G0", "claim": "The new if/else that picks getAllKnownImplementors for interfaces and getAllKnownSubclasses otherwise needs an explanatory comment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__2092
apache/incubator-kie-optaplanner
2,092
defect
809c5939ffd7fc0e8d70148560216c6c341842d9
f060f139ddf760360d49e5ce6586022bcc7eeb41
PLANNER-2757 Use the CS impl that is available
If they explicitly specify a constraintStreamImplType, then it should fail fast if it's not on the classpath Otherwise if only one is on the classpath, use that one. If both are on the classpath, use - for now - drools.
diff --git a/core/optaplanner-constraint-drl/src/main/java/org/optaplanner/constraint/drl/DrlScoreDirectorFactoryService.java b/core/optaplanner-constraint-drl/src/main/java/org/optaplanner/constraint/drl/DrlScoreDirectorFactoryService.java index 75894e2863a..9cc4f2fe1c1 100644 --- a/core/optaplanner-constraint-drl/src...
4
2
1
[{"id": "G0", "claim": "The pull request removes the public method isDroolsAlphaNetworkCompilationEnabled() from ScoreDirectorFactoryConfig, which is a backward-incompatible API change; rsynek asks whether it can just be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
apache__incubator-kie-optaplanner__2150
apache/incubator-kie-optaplanner
2,150
defect
fd6196c84de7614ed6a0bff12a1ea3372ebe3f6c
197ac57256714dfbba77df2a2f50790966fa1c4b
PLANNER-2778 Partitioned search does not emit BSE after a ProblemChange
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA https://issues.redhat.com/browse/PLANNER-2778 <!-- Add a JIRA ticket link if it exists. --> <!-- Example: htt...
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/solver/DefaultSolver.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/solver/DefaultSolver.java index 0861be49a9f..75dbac9fc4e 100644 --- a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/solver/D...
3
3
1
[{"id": "G0", "claim": "If the new test fails before reaching its last statements (e.g. the await times out or the assertion fails), the executor running the solver is never shut down.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The multi-line execut...
null
apache__incubator-kie-optaplanner__2154
apache/incubator-kie-optaplanner
2,154
defect
936ac89c7576469dd827ec2cf9273be111fdc193
103bd26c30f51353cff39189a9d2065a6a503bf7
PLANNER-2777 SolutionCloner support for primitives
Also fixes bugs and mutual incompatibilities between cloner implementations that were identified during implementing the feature.
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/solution/cloner/BooleanFieldCloner.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/solution/cloner/BooleanFieldCloner.java new file mode 100644 index 00000000000..5324e5273bc --- /dev/null +++ b/core/...
1
1
0
[{"id": "G0", "claim": "The pattern of calling FieldCloner.failOnRead, which always throws, followed by a return value that can never be reached, is odd; FieldCloner.failOnRead should instead return an exception that the caller then throws.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "int...
null
apache__incubator-kie-optaplanner__2182
apache/incubator-kie-optaplanner
2,182
defect
aaf589548af3b45fe3602884387caefe50b40f01
b9c52195175c2491508fac3f311c35a7cbadcd32
PLANNER-2798 Allow multiple entities with chained variables
### JIRA https://issues.redhat.com/browse/PLANNER-2798 ### Checklist - [ ] Documentation updated if applicable. - [ ] Upgrade recipe provided if applicable. <details> <summary> How to replicate CI configuration locally? </summary> Build Chain tool does "simple" maven build(s), the builds are just Maven...
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/entity/descriptor/EntityDescriptor.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/entity/descriptor/EntityDescriptor.java index b13e94474fa..f52b84886cb 100644 --- a/core/optaplanner-core-impl/src/ma...
2
1
0
[{"id": "G1", "claim": "Add a line about this change to the release notes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The pre-existing assignability check in getEntityListByEntityClass was reversed (entityMemberAccessor.getType().isAssignableF...
null
apache__incubator-kie-optaplanner__2184
apache/incubator-kie-optaplanner
2,184
defect
56a1dc627055844c4f9d3ddbaff89acd477c0b01
506dcc76831e6db5018f6f31a5bacddae8710f7b
PLANNER-2801 Fix flaky test by not sharing maps across threads
The other change in DefaultSingleConstraintAssertion is there just to clean up the code while I was investigating it. It has no relation to the bug, which is solely in the test.
diff --git a/optaplanner-examples/src/test/java/org/optaplanner/examples/nurserostering/score/NurseRosteringConstraintProviderTest.java b/optaplanner-examples/src/test/java/org/optaplanner/examples/nurserostering/score/NurseRosteringConstraintProviderTest.java index d0a499c5018..23b0a1fe8de 100644 --- a/optaplanner-exa...
2
2
0
[{"id": "G0", "claim": "The repeated `contract.getContractLineList().get(0)` expression in NurseRosteringConstraintProviderTest could be extracted into a method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The commented-out lines of code in...
null
apache__incubator-kie-optaplanner__2188
apache/incubator-kie-optaplanner
2,188
defect
52508801119b19f03fc4cfc3e92b3aced9d1bdc9
4a79b22147dc15f2ae9bb3a03b110632e84455b7
PLANNER-2770 Release the optaplanner-operator
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA https://issues.redhat.com/browse/PLANNER-2770 <!-- Add a JIRA ticket link if it exists. --> <!-- Example: htt...
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy index 117316642eb..36fa9800e57 100644 --- a/.ci/jenkins/Jenkinsfile.deploy +++ b/.ci/jenkins/Jenkinsfile.deploy @@ -10,6 +10,8 @@ optaplannerRepository = 'optaplanner' quickstartsRepository = 'optaplanner-quickstarts' vehicleRoutingRepositor...
9
8
5
[{"id": "G0", "claim": "The main and release branch entries that the pull request removed from .ci/jenkins/config/main.yaml must be put back before merging.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test-environment overrides in .ci/jenkins...
null
apache__incubator-kie-optaplanner__2243
apache/incubator-kie-optaplanner
2,243
defect
cd212ad21cf9c70ee919e6b4286d86967c6374b1
f2e48eb33b499cef447503b85173c5ad3b772e1f
PLANNER-2831 Disable CS-B in a productized profile
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> <!-- Example: https://issues.redhat.com/browse/PLANNER-1234 --> ...
diff --git a/core/optaplanner-core-impl/src/test/java/org/optaplanner/core/impl/testutil/DisabledInProductization.java b/core/optaplanner-core-impl/src/test/java/org/optaplanner/core/impl/testutil/DisabledInProductization.java new file mode 100644 index 00000000000..15a97e7ec3f --- /dev/null +++ b/core/optaplanner-core...
2
1
0
[{"id": "G0", "claim": "The `System.out.println(System.getProperties());` line inside the new solverPropertiesBavet test looks like a leftover from testing and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the goal is to c...
null
apache__incubator-kie-optaplanner__2378
apache/incubator-kie-optaplanner
2,378
defect
1f7784e98d24e9f2e77b64e0ab7f57baad0e3421
08fe9c4269b32456f99e26eecc38883209f35a99
PLANNER-2002: Add Substitute_LambdaBeanPropertyMemberAccessor
The missing context for why Substitute_MemberAccessorFactory was created: LambdaBeanPropertyMemberAccessor generate classes at runtime (via LambdaMetafactory), which is not supported by GraalVM. Thus, if a getter method is annotated for member access, a LambdaBeanPropertyMemberAccessor is created, which will try to cr...
diff --git a/optaplanner-quarkus-integration/optaplanner-quarkus/pom.xml b/optaplanner-quarkus-integration/optaplanner-quarkus/pom.xml index 9d2d85fdb70..6636948eb61 100644 --- a/optaplanner-quarkus-integration/optaplanner-quarkus/pom.xml +++ b/optaplanner-quarkus-integration/optaplanner-quarkus/pom.xml @@ -17,6 +17,7 ...
1
1
0
[{"id": "G0", "claim": "The GetterFunctionDelegator and SetterFunctionDelegator classes should be renamed to say what they are (a delegation Function / BiConsumer) and be declared with the generic types Function<Object, Object> and BiConsumer<Object, Object> instead of raw types so the raw-type warnings go away.", "cat...
null
apache__incubator-kie-optaplanner__2499
apache/incubator-kie-optaplanner
2,499
defect
3ddedca816578de65d5bf3d3b449044f698eec5e
eb47df38f6f0f6d6878277ddf05cb7ad7efc6d20
Fixed: solutionFileIOClass is not assignable with implementation
As discussed in kie-zulipchat, this PR fixes a regression (dating back to 2020) which prevented the solutionFileIOClass from being assigned with implementations of org.optaplanner.persistence.common.api.domain.solution.SolutionFileIO. To prevent future regressions of this feature, a unit test was added as part of PR...
diff --git a/optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/config/ProblemBenchmarksConfig.java b/optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/config/ProblemBenchmarksConfig.java index a98b048bf2b..7670de32c1c 100644 --- a/optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/con...
1
1
0
[{"id": "G0", "claim": "The new assignCustomSolutionIO test should make an assertion (e.g. check the getter) instead of only calling the setter.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__2546
apache/incubator-kie-optaplanner
2,546
defect
44f5501a784d96cf0fa5e8fcc977d80b85730b73
8afbbad7a52a7a379fca53f166f0b1e53203b6db
PLANNER-2898 Use PECS principle in Constraint Collectors
Signed-off-by: Lukáš Petrovický <lukas@petrovicky.net> <!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> <!-- E...
diff --git a/core/optaplanner-core-impl/src/build/revapi-config.json b/core/optaplanner-core-impl/src/build/revapi-config.json index c3c0efdcf5f..46dc0ee337c 100644 --- a/core/optaplanner-core-impl/src/build/revapi-config.json +++ b/core/optaplanner-core-impl/src/build/revapi-config.json @@ -332,6 +332,654 @@ ...
1
1
0
[{"id": "G0", "claim": "The same explanatory comment block about LocalDateTime is duplicated in minComparableQuad and the duplicate should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__2609
apache/incubator-kie-optaplanner
2,609
defect
88557c8742f7892634420e8c8a4398f849679ee8
859f9a5b14c49c08d070b22353f67705c6ff0751
PLANNER-2905 Fix BigDecimal handling in ConstraintVerifier
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> <!-- Example: https://issues.redhat.com/browse/PLANNER-1234 --> ...
diff --git a/core/optaplanner-core-impl/src/build/revapi-config.json b/core/optaplanner-core-impl/src/build/revapi-config.json index cc72d13a5d1..204551af1e4 100644 --- a/core/optaplanner-core-impl/src/build/revapi-config.json +++ b/core/optaplanner-core-impl/src/build/revapi-config.json @@ -998,6 +998,12 @@ ...
1
1
0
[{"id": "G0", "claim": "Rename the new testdata class TestdataConstraintVerifierEntity to TestdataConstraintVerifierFirstEntity so readers immediately realize there is also a second one.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__2675
apache/incubator-kie-optaplanner
2,675
defect
bc0830ce2cb2bd8e1f892002948b2390fd81ff63
3b23be641503ab0fc820f145af7c167f378a317d
PLANNER-2161 Add missing with methods
- adds the missing `with()` methods - enables proper `with()` method chaining on the `Config` classes hierarchy <!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIR...
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/config/AbstractConfig.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/config/AbstractConfig.java index 75b82add8b9..a2830d63652 100644 --- a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/config/AbstractConfig...
1
1
0
[{"id": "G0", "claim": "The need for the newly added self() helper is doubted, and if it is kept the with() methods should at least use it consistently instead of mixing self() and this.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__2690
apache/incubator-kie-optaplanner
2,690
defect
8a7cecdf11679f0e86933179ff044af3776a6188
51e0ad6720e5dd28b4d002bb49afdd471024f4a4
Clean up Gizmo accessors
This PR cleans up the logic in Gizmo accessors, removing instanceof checks during read and write operations. This should make the code read better.
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/common/accessor/gizmo/GizmoFieldHandler.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/domain/common/accessor/gizmo/GizmoFieldHandler.java new file mode 100644 index 00000000000..5f6638a7c5c --- /dev/null +...
2
1
1
[{"id": "G0", "claim": "Force `canBeWritten` to true in the Quarkus-only `GizmoMemberDescriptor` constructor so final fields stay writable after Quarkus strips `final`, which would also let the `try...catch` be removed from `GizmoFieldHandler.writeMemberValue` so a write known to fail is not attempted (or at least expl...
null
apache__incubator-kie-optaplanner__2707
apache/incubator-kie-optaplanner
2,707
defect
4ad6d82fe17b46c37b8c86993de7a8db78f6b9c6
8c49cb599b5b50a92e3ccbea718bfadb58a9a0a4
Avoid unnecessary generics in the KOpt code
<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 ...
diff --git a/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/heuristic/selector/move/generic/list/kopt/FlipSublistAction.java b/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/heuristic/selector/move/generic/list/kopt/FlipSublistAction.java index b14bd613b5b..cc871034aca 100644 ---...
1
1
0
[{"id": "G0", "claim": "Keep enough generic type variables in the KOpt code so that naked `Object` types do not appear, instead of stripping generics down to raw or Object types.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__2749
apache/incubator-kie-optaplanner
2,749
defect
ce0be0cab744cda1c7cccbad6ece12cbebe4435e
c2098e3004b7f0c41d2f9c008bb2d8f926cfa657
Prepare the migration to Quarkus 3.0.0.Final
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> <!-- Example: https://issues.redhat.com/browse/PLANNER-1234 --> ...
diff --git a/build/8-to-9-migration/optaplanner-quarkus3.yaml b/build/8-to-9-migration/optaplanner-quarkus3.yaml index b33d4711b6b..2921ce20b83 100644 --- a/build/8-to-9-migration/optaplanner-quarkus3.yaml +++ b/build/8-to-9-migration/optaplanner-quarkus3.yaml @@ -15,6 +15,9 @@ recipeList: - org.openrewrite.maven.Ch...
2
1
0
[{"id": "G0", "claim": "Add a comment to the devui-integration-test pom.xml explaining why the dev.ui.root property is necessary.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Hardcoding the Quarkus version in the version.io.quarkus property of o...
null
apache__incubator-kie-optaplanner__3064
apache/incubator-kie-optaplanner
3,064
defect
e0919a52bf920b16f303d55fbeb46f88f32092ec
29f9cec4a03c03cc0867ee8ac0b767c75078056f
Replace QuarkusTest and Hibernate with OpenJPA
Same as https://github.com/apache/incubator-kie-drools/pull/5764 but for OptaPlanner. The goal is to get rid of a transitive dependency on Hibernate, which is now licensed under LGPL 2.1, which is unwanted for ASF releases. <details> <summary> How to replicate CI configuration locally? </summary> Build Chain t...
diff --git a/build/optaplanner-build-parent/pom.xml b/build/optaplanner-build-parent/pom.xml index 81b6aafdbc1..a671c6e8af6 100644 --- a/build/optaplanner-build-parent/pom.xml +++ b/build/optaplanner-build-parent/pom.xml @@ -49,6 +49,8 @@ <version.io.quarkus>3.2.10.Final</version.io.quarkus> <version.org.apac...
1
1
0
[{"id": "G0", "claim": "Use H2 instead of adding the Derby dependency, since H2 is already used everywhere and seems to work fine with OpenJPA.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__444
apache/incubator-kie-optaplanner
444
defect
7b37f842565ab9e6922bea7c0cdf9e21aa1dc1b0
f887a72f3c5050eb43aac26fa25becf7cca4ad14
PLANNER-1286 Make tests pass on JDK 11
@ge0ffrey for the web examples, I saw no failures/warning from the enforcer plugin as your comment there suggested. So I guess we are fine there with the general javaee-api dependency.
diff --git a/optaplanner-examples/src/main/java/org/optaplanner/examples/curriculumcourse/domain/Lecture.java b/optaplanner-examples/src/main/java/org/optaplanner/examples/curriculumcourse/domain/Lecture.java index 55faec04cdb..ee4449266d6 100644 --- a/optaplanner-examples/src/main/java/org/optaplanner/examples/curricu...
1
1
1
[{"id": "G0", "claim": "Changing setPinned to take Boolean instead of boolean is a pain because users will want to use a primitive boolean, and a ticket must be created for the JDK 11 LambdaMetafactory issue behind it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__incubator-kie-optaplanner__755
apache/incubator-kie-optaplanner
755
defect
b43af9b791d993b62d580f5c1a31b62b16982af4
83164a3674e6c25f2ed5eb5a7f8cafa9aaa8781b
PLANNER-1953 Cover machine reassignment CSP by tests
Does NOT fully fix the CS provider - see the constraints throwing `UnsupportedOperationException`.
diff --git a/optaplanner-examples/src/main/java/org/optaplanner/examples/machinereassignment/domain/MrBalancePenalty.java b/optaplanner-examples/src/main/java/org/optaplanner/examples/machinereassignment/domain/MrBalancePenalty.java index 8371031ea49..b7e5343463e 100644 --- a/optaplanner-examples/src/main/java/org/opta...
3
3
1
[{"id": "G0", "claim": "Remove the commented-out code blocks this pull request adds to MachineReassignmentConstraintProvider.java (the alternative balanceCost, serviceConflict and serviceLocationSpread implementations and the debug printouts) rather than merging them.", "category": "maintainability", "verdict": "suppor...
null
apache__incubator-kie-optaplanner__865
apache/incubator-kie-optaplanner
865
defect
d230dda31d31df85ea827ed01acf4f43f56799e9
83a13331d007733cf9e0ee81292d1f25719c8678
PLANNER-2078: Add Overlaps Joiners
Also refactored the Joiners test to remove static field imports to make it clear what type the constants refer to. TODO: Other temporal/interval joiners (contains, consecutive) TODO: TriJoiner, QuadJoiner, PentaJoiner versions
diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/api/score/stream/Joiners.java b/optaplanner-core/src/main/java/org/optaplanner/core/api/score/stream/Joiners.java index 56e91fdf259..c05602ac780 100644 --- a/optaplanner-core/src/main/java/org/optaplanner/core/api/score/stream/Joiners.java +++ b/optaplann...
8
6
0
[{"id": "G0", "claim": "Extract the interval joiner implementations out of the public Joiners class into their own class, with their own test class covering all the boundary conditions, while keeping the factory methods in Joiners.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int...
null
apache__incubator-kie-optaplanner__872
apache/incubator-kie-optaplanner
872
defect
ed61375f66cb2a8ea888b9acf9759524b081fa14
8a77adbe40cd58339450dc3ec51b8258fbb4dd2e
Planner-1823 Add ConstraintProvider for Patient Admission Scheduling example
Created constraints based on drl rules http://github.com/dupliaka/optaplanner/blob/8a77adbe40cd58339450dc3ec51b8258fbb4dd2e/optaplanner-examples/src/main/resources/org/optaplanner/examples/pas/solver/patientAdmissionScheduleConstraints.drl#L1-L1 Previously all of the constraints were defined via a set of rules decl...
diff --git a/optaplanner-examples/src/main/java/org/optaplanner/examples/pas/solver/score/PatientAdmissionMoveConstraintProvider.java b/optaplanner-examples/src/main/java/org/optaplanner/examples/pas/solver/score/PatientAdmissionMoveConstraintProvider.java new file mode 100644 index 00000000000..c1d6613fe4f --- /dev/nu...
10
8
2
[{"id": "G0", "claim": "The commented-out <initializingScoreTrend>ONLY_DOWN</initializingScoreTrend> in the example solver config should not be commented, since it is a property of the construction heuristic and has no relation to the DRL-vs-constraint-streams choice.", "category": "maintainability", "verdict": "suppor...
null
apache__incubator-kie-optaplanner__938
apache/incubator-kie-optaplanner
938
defect
5eeb8b7a4d2d994879670bd70ee3bee89afed9b3
8fc4d458b7f3738a48b1a550b5b6a745f112b05a
PLANNER-1821 & PLANNER-1873: Add Constraint Provider for Coach Shuttle Gathering
<!-- Thank you for submitting this pull request. Please provide all relevant information as outlined below. Feel free to delete a section if that type of information is not available. --> ### JIRA <!-- Add a JIRA ticket link if it exists. --> https://issues.redhat.com/browse/PLANNER-1873 https://issues.re...
diff --git a/optaplanner-examples/src/main/java/org/optaplanner/examples/coachshuttlegathering/domain/Bus.java b/optaplanner-examples/src/main/java/org/optaplanner/examples/coachshuttlegathering/domain/Bus.java index 0e1f3f3d502..d27d4c635cb 100644 --- a/optaplanner-examples/src/main/java/org/optaplanner/examples/coach...
9
7
3
[{"id": "G0", "claim": "If it works, the @CustomShadowVariable declared separately on Coach and Shuttle might be moved to Bus using the union of their sources.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The listener helper methods should follow the nam...
null
apache__incubator-kie-tools__1579
apache/incubator-kie-tools
1,579
defect
d5b83a8f1febed30c54b5ec21b1c29f48f676a56
0e00191d9f725df68187935c1f72f69742342f5e
NO-ISSUE: Add option to set step value in the `uniforms-patternfly` NumField component
Fixes same issue as in https://github.com/vazco/uniforms/issues/855 Also added test for set step prop
diff --git a/packages/uniforms-patternfly/src/NumField.tsx b/packages/uniforms-patternfly/src/NumField.tsx index b778e1bcb2c..751e6ca9639 100644 --- a/packages/uniforms-patternfly/src/NumField.tsx +++ b/packages/uniforms-patternfly/src/NumField.tsx @@ -49,7 +49,7 @@ function NumField(props: NumFieldProps) { onCh...
2
2
1
[{"id": "G0", "claim": "Use `??` instead of `||` so that a falsy but explicitly set `step` (e.g. 0) is not silently replaced by the decimal/integer default.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test's title should follow the naming...
null
apache__incubator-kie-tools__2782
apache/incubator-kie-tools
2,782
defect
1f2a3e2d64fe28dee90a4bd7cdbb83627e26285f
8a1754d3299cf910277f82af521d2532fda79966
kie-issues#1634: Address copyright issues
This PR is not for adding license headers into files as no such file was marked as blocker from Apache KIE 10 release.
diff --git a/.rat-excludes b/.rat-excludes index 38c34505162..6e0e3c35c15 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -74,6 +74,8 @@ SingleEditorToolbar.test.tsx.snap chrome_sample.sw.yaml # packages/dashbuilder/dashbuilder-parent.iml dashbuilder-parent.iml +# packages/dashbuilder/appformer/uberfire-api/src/ma...
3
3
2
[{"id": "G0", "claim": "The XSD files (HFP.xsd, XSD.xsd, xml.xsd) are W3C documents under the W3C Software License (Category A), so the LICENSE entry wrongly attributing them as GPL should be corrected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__incubator-kie-tools__2971
apache/incubator-kie-tools
2,971
defect
11d80dba991a8708e8f7d4ce01207d76f79e77b4
81348dbe0d260bf52d146333a2ea52a6ab676d80
NO-ISSUE: Rename DMN Runner 'Execution' to 'Evaluation'
This is small additional change related to new feature of DMN Runner evaluation highligts that was implemented as set of tickets PRs: - https://github.com/apache/incubator-kie-issues/issues/1527 - https://github.com/apache/incubator-kie-issues/issues/1547 - https://github.com/apache/incubator-kie-issues/issues/1595 ...
diff --git a/packages/dmn-editor/src/DmnEditor.tsx b/packages/dmn-editor/src/DmnEditor.tsx index 455c6629782..9a42f2838de 100644 --- a/packages/dmn-editor/src/DmnEditor.tsx +++ b/packages/dmn-editor/src/DmnEditor.tsx @@ -134,7 +134,7 @@ export type DmnEditorProps = { */ externalModelsByNamespace?: ExternalModels...
1
1
1
[{"id": "G0", "claim": "The PR forgot to update the German locale file de.ts; update its translation entry to match the execution-to-evaluation rename (or remove the `execution` entry so it falls back to en.ts).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__incubator-kie-tools__3440
apache/incubator-kie-tools
3,440
defect
cae1c6fe2d21f8e37bb255ac1bc7d1bace4ea753
117abce32c3e808d4a335bee84a8cb4fd1d749bf
kie-issues#2244: KIE Sandbox: DMN Runner Outputs table stealing the focus from Inputs table
Closes: https://github.com/apache/incubator-kie-issues/issues/2244 This PR prevents the `focus()` call when the activeElement is not from the current component hierarchy. ### Before https://github.com/user-attachments/assets/2bd24ce0-7286-43ab-8c11-35d9cfc963e5 ### After https://github.com/user-attac...
diff --git a/packages/boxed-expression-component/src/selection/BeeTableSelectionContext.tsx b/packages/boxed-expression-component/src/selection/BeeTableSelectionContext.tsx index 56744e90f23..1ebab272b2a 100644 --- a/packages/boxed-expression-component/src/selection/BeeTableSelectionContext.tsx +++ b/packages/boxed-exp...
1
1
0
[{"id": "G0", "claim": "This PR touches selection logic that is exercised by the existing keyboard e2e specs but lacks tests for it, so those keyboard-navigation tests should be added (not postponing the task any further).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__incubator-seata__6269
apache/incubator-seata
6,269
defect
3351fcf85986093bde5e6c208b723910c558d10b
3a850d8f80313cf04bb5f7df4a3f24b1401042cc
refactor: standardize Seata Exception
<!-- Please make sure you have read and understood the contributing guidelines --> - [x] I have registered the PR [changes](../changes). ### Ⅰ. Describe what this PR did standardize Seata Exception ### Ⅱ. Does this pull request fix one issue? <!-- If that, add "fixes #xxx" below in the next line, for examp...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 62c5dead0f5..f6278b3ff6e 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -63,6 +63,9 @@ Add changes here for all PR submitted to the 2.x branch. - [[#6264](https://github.com/apache/incubator-seata/pull/6264)] fix jib-maven-plugin build fai...
1
1
0
[{"id": "G0", "claim": "A test case can be added to show the specific exception logging style once CI is pipelined.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-seata__7484
apache/incubator-seata
7,484
defect
159e316a50bd9b7130e6e1b5a5f383bdef00456a
9b7378239b30fc248bb4cdb424aeeced1d4f4351
optimize: remove client id metric
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 05f180cee57..c2d6485886c 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -63,6 +63,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7450](https://github.com/apache/incubator-seata/pull/7450)] Apply Spotless to the entire c...
1
1
1
[{"id": "G0", "claim": "The codecov/patch check reports 0.00% of diff hit (target 60.31%), i.e. none of the lines this pull request changes are covered by tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__incubator-seata__7492
apache/incubator-seata
7,492
defect
db734185210958e4e0e41a0ca1fc037917ab5b58
e948bfee9410c45696d66683395a86d73ea1340b
feature : Upgrade HTTP client in common module to support HTTP/2
<!-- 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...
diff --git a/core/src/main/java/org/apache/seata/core/protocol/Version.java b/core/src/main/java/org/apache/seata/core/protocol/Version.java index 58676d84869..b2bf4e52d4a 100644 --- a/core/src/main/java/org/apache/seata/core/protocol/Version.java +++ b/core/src/main/java/org/apache/seata/core/protocol/Version.java @@ ...
10
8
5
[{"id": "G0", "claim": "The call to Version.getCurrent() fails because no such method exists; add a public static getCurrent() in Version.java or access the CURRENT field through an existing API.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Return...
null
apache__incubator-seata__7503
apache/incubator-seata
7,503
defect
db734185210958e4e0e41a0ca1fc037917ab5b58
671dc4c27e2c06877a3340bb3086db062174d0a7
feature: support fory serializer and fory undolog parser
<!-- 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...
diff --git a/all/pom.xml b/all/pom.xml index 1622a398861..1ae1370a01e 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -267,6 +267,11 @@ <artifactId>seata-serializer-fury</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.apac...
3
3
3
[{"id": "G0", "claim": "Fory is just Fury after the rename, so the PR should not add a standalone parallel Fory implementation: the Fury serialization implementation should be made mutually compatible with Fory, keeping the seata-serializer-fury module as a wrapper that depends on and delegates to the seata-serializer-...
null
apache__incubator-seata__7509
apache/incubator-seata
7,509
defect
a18e999b2bc351c3603ec13ae5445ae8c6d6b45c
485b0b1319baa525c9cf8659e533ad3f3d7afae9
feature: Reuse connection to merge branch transactions
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index c2a5e50befb..200a615f463 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -23,6 +23,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7261](https://github.com/apache/incubator-seata/pull/7261)] enforce account initialization...
6
5
1
[{"id": "G0", "claim": "All comments written in Chinese should be updated to English.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "integration-tx-api should not rely on Spring but instead follow the existing proxy approach and use byte-buddy for...
null
apache__incubator-seata__7536
apache/incubator-seata
7,536
defect
104b85674d76af18b8b7f76578f93a6b48ac24ee
dc396f07103c8ca865f89945dd31c3fe44b8b720
optimize: optimize druid 1.2.12 ci
<!-- 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...
diff --git a/.github/workflows/test-druid.yml b/.github/workflows/test-druid.yml index 8538ad45361..110345acd84 100644 --- a/.github/workflows/test-druid.yml +++ b/.github/workflows/test-druid.yml @@ -88,7 +88,7 @@ jobs: - name: "Test with Maven and Druid ${{ matrix.druid }}" run: | if [ "${{...
1
1
0
[{"id": "G0", "claim": "The unit test should be skipped with @EnabledIfSystemProperty(named = \"druid.version\", matches = \"1.2.12\") instead of the PR's env-var-based isEnableDruidTest()/@EnabledIf mechanism.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-seata__7551
apache/incubator-seata
7,551
defect
608785fa859b8901b5c7e3e8e558c89f96b508cf
9a811a155d19a9bfb98f8499e1615709de7c83bf
optimize: add support for DM Database in XAUtils class
<!-- 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...
diff --git a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/util/XAUtils.java b/rm-datasource/src/main/java/org/apache/seata/rm/datasource/util/XAUtils.java index 9a3a775bca4..12e332d91a8 100644 --- a/rm-datasource/src/main/java/org/apache/seata/rm/datasource/util/XAUtils.java +++ b/rm-datasource/src/main/j...
4
4
0
[{"id": "G0", "claim": "The PR should be registered in changes/zh-cn/2.x.md and changes/en-us/2.x.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the Chinese comments.", "category": "maintainability", "verdict": "supported", "priority": ...
null
apache__incubator-seata__7578
apache/incubator-seata
7,578
defect
26d7c15c15bc1e2c3846b55513bd1cb94bf3710d
c993ad450a0e803d692234e58fc505a166767cc9
optimize: zstd decompression is changed from jni to ZstdInputStream
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 27aa56d535d..7f1add0791f 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -39,6 +39,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7478](https://github.com/apache/incubator-seata/pull/7484)] optimize: remove client id met...
1
1
0
[{"id": "G0", "claim": "The magic number '4 * 1024 * 1024' in the OOM test should be extracted to a constant (MAX_COMPRESSED_SIZE) to improve readability and maintainability, as it is used multiple times in the test method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
apache__incubator-seata__7584
apache/incubator-seata
7,584
defect
1d5c55ac1c89c1ab883ccf75d5f4f95688384d9f
37c2f50d0e983cfeb4dd8e4f82cd8ea407a33a61
test: deflake ConsulConfigurationTest#testInitSeataConfig (#7584)
- [x] I have read the [CONTRIBUTING.md](https://github.com/apache/incubator-seata/blob/2.x/CONTRIBUTING.md) guidelines. - [ ] I have registered the PR [changes](https://github.com/apache/incubator-seata/tree/2.x/changes). (N/A for this PR: test-only, no user-facing change) ### Ⅰ. Describe what this PR did Def...
diff --git a/config/seata-config-consul/src/test/java/org/apache/seata/config/consul/ConsulConfigurationTest.java b/config/seata-config-consul/src/test/java/org/apache/seata/config/consul/ConsulConfigurationTest.java index 2589ff7c6a0..652a437f594 100644 --- a/config/seata-config-consul/src/test/java/org/apache/seata/c...
1
1
0
[{"id": "G0", "claim": "The PR should be registered with an entry in both changes/en-us/2.x.md and changes/zh-cn/2.x.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-seata__7610
apache/incubator-seata
7,610
defect
a880678b646a1e35a9b163d79ec5fff0f1de38a1
be4e047fb84343a04c0acae4a2e1afab14fa74e8
test: Enable Nacos integration tests when nacosCaseEnabled is true
<!-- 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...
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 675528b4e34..184d8b4a9c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,7 +81,7 @@ jobs: if: matrix.java == '8' run: | ./mvnw -T 4C clean test \ - -Dpmd.skip=false...
1
1
1
[{"id": "G0", "claim": "Run 'mvn spotless:apply' to fix the spotless formatting violations in the changed test files.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__incubator-seata__7672
apache/incubator-seata
7,672
defect
a977730fc2647046fbf65427297a52f47e1d4825
8fa904e7882397c20f6a4674e678a2964fcc10fb
test: add unit tests for the `seata-common` module
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index d30c2bd7d6a..1de7329a200 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -68,6 +68,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7580](https://github.com/seata/seata/pull/7580)] fix the exception caused by the disorder...
1
1
1
[{"id": "G0", "claim": "The changelog entry added for this pull request should link to the complete pull request URL instead of the empty placeholder link.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__incubator-seata__7745
apache/incubator-seata
7,745
defect
d1dbea35fcf9ea78f88ff1b8c9a5c360823da18f
2a6506e5b47ee80857ac50a6e3a6cda8cb08002a
optimize: metadata discovery support for consul
<!-- 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...
diff --git a/common/src/main/java/org/apache/seata/common/metadata/ServiceInstance.java b/common/src/main/java/org/apache/seata/common/metadata/ServiceInstance.java index d92ff12a4a5..0e79eec433d 100644 --- a/common/src/main/java/org/apache/seata/common/metadata/ServiceInstance.java +++ b/common/src/main/java/org/apach...
7
1
0
[{"id": "G0", "claim": "The test stores weight as an Integer (100) but asserts it as String (\"100\"); it would be clearer to store it as a String initially or add a comment explaining the getStringMap conversion.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": ...
null
apache__incubator-seata__7746
apache/incubator-seata
7,746
defect
c7e813d199f8016bc323d7f97192ffcf3a7c45fe
132d7cc7fa8676cd4ef04cdeeff53f2618b87bc8
optimize: metadata discovery support for nacos
<!-- 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...
diff --git a/common/src/main/java/org/apache/seata/common/metadata/ServiceInstance.java b/common/src/main/java/org/apache/seata/common/metadata/ServiceInstance.java index ef9e1a7421a..67d8cc73417 100644 --- a/common/src/main/java/org/apache/seata/common/metadata/ServiceInstance.java +++ b/common/src/main/java/org/apach...
4
4
1
[{"id": "G0", "claim": "In testUnregister, both ServiceInstance objects use the same address (127.0.0.1:8092), so registering both does not properly test unregister behavior; one should use a different port (e.g. 8093) to test that unregistering one instance leaves the other registered.", "category": "testing", "verdic...
null
apache__incubator-seata__7771
apache/incubator-seata
7,771
defect
fb05a3bb40c43bf2243eabafa86339499e8d3957
a10f2d96c838dfc11ca4dce679e263e6fbaf83e2
bugfix: shentongdata xa mode should be hold the same connection
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index eaa912415e3..9da5288d02c 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -50,6 +50,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7747](https://github.com/apache/incubator-seata/pull/7747)] undo log table name dynamic de...
2
2
1
[{"id": "G0", "claim": "The pull request ships the Shentong XA connection fix without adding any change log entry, and the reviewer asks dsomehan to add one.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The newly added changelog entries in chang...
null
apache__incubator-seata__7779
apache/incubator-seata
7,779
defect
78c275e23ab1c7c53bbaa0209dd75a552f3688e5
fd97a525420d6dfd9068d201000e18522221cc02
test: add comprehensive unit tests for RaftRegistryServiceImpl
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index d60952511b3..a08c5818c66 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -120,6 +120,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7727](https://github.com/apache/incubator-seata/pull/7727)] add some UT for compatible m...
2
2
0
[{"id": "G0", "claim": "Remove the wildcard imports (org.apache.seata.common.util.*, java.util.* and static org.junit.jupiter.api.Assertions.*) and use explicit imports instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Avoid using assert...
null
apache__incubator-seata__7802
apache/incubator-seata
7,802
defect
30de1705c4b4ba79c9e7009dc1ff8734c8022aa0
f600bf46c09ade89d439d5cba4e1dfea78d27f4d
test: Fix non-deterministic in ConnectionContextProxyTest
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index fe02ec7d40e..cd056fad176 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -119,6 +119,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7727](https://github.com/apache/incubator-seata/pull/7727)] add some UT for compatible m...
1
1
0
[{"id": "G0", "claim": "The repeated split-sort-compare lock key assertion logic in the tests should be extracted into a common helper method like assertLockKeysEqual.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-seata__7807
apache/incubator-seata
7,807
defect
ca86742b52e9bd05fb6434aa8e68a4d79758636e
f3d75824b5d71a2fdf2e0c16631c02ef43457c62
optimize: support mariadb 3.x
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index c2bdc6ead3a..e9aada676a6 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -77,6 +77,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7741](https://github.com/apache/incubator-seata/pull/7741)] supports publishing image base...
1
1
0
[{"id": "G0", "claim": "The hardcoded MariaDB XA connection class names in the MARIADB case should be defined as constants.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__incubator-seata__7822
apache/incubator-seata
7,822
defect
3ddb97a2e2faa79e53294f28885534a4c027f1d2
2e67673fc70c60b7045412a00eacdbbcf5bd0626
optimize: add the request and response objects in HTTP thread context
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 23fc3b6858c..7e1665d8792 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -85,6 +85,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7721](https://github.com/apache/incubator-seata/pull/7721)] optimize common module - [[#7...
10
8
4
[{"id": "G0", "claim": "Calling context.setResponse inside sendErrorResponse serves no purpose because the request lifecycle is already complete at that stage; the response should be recorded on the context before the error response is sent so aspects can read it.", "category": "correctness", "verdict": "supported", "p...
null
apache__incubator-seata__7826
apache/incubator-seata
7,826
defect
3ddb97a2e2faa79e53294f28885534a4c027f1d2
248e44b155e16fd0f240e368bab9ff879f5cd72d
feature: Support HTTP/2 response handling for the Watch API in Server Raft mode
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 23fc3b6858c..3e2cab822bc 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -29,6 +29,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7664](https://github.com/apache/incubator-seata/pull/7664)] support shentongdatabase XA mo...
3
2
1
[{"id": "G0", "claim": "The HTTP/2 response path performs separate write operations without listeners, so write failures are neither handled nor logged, unlike the HTTP/1.1 path which uses ChannelFutureListener.CLOSE for non-keepalive connections.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
apache__incubator-seata__7843
apache/incubator-seata
7,843
defect
2aa4b5772cafb7aaec5ad08c101ae8a5544fbd37
f2d8ebe6ccc469321607f9467d4903daad617876
bugfix: fix index type misjudgment in Dm/KingbaseTableMetaCache
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index f863bc7198a..cf4371a26a2 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -55,6 +55,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7785](https://github.com/apache/incubator-seata/pull/7785)] fix the failure test - [[#779...
3
1
0
[{"id": "G0", "claim": "Primary key columns are collected in getPrimaryKeys() ResultSet order, which per the JDBC spec is ordered by COLUMN_NAME rather than KEY_SEQ, so for composite primary keys the order may not match the index column order used in the equals comparison, possibly leading to incorrect PRIMARY identifi...
null
apache__incubator-seata__7851
apache/incubator-seata
7,851
defect
3ddb97a2e2faa79e53294f28885534a4c027f1d2
7f305c9f2a5af5c4230ea7a3d782258b3b4cc43c
feature: add support for managing transaction groups
<!-- 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...
diff --git a/console/src/main/resources/static/console-fe/src/locales/en-us.ts b/console/src/main/resources/static/console-fe/src/locales/en-us.ts index 449c61a3284..0dfcfc03292 100644 --- a/console/src/main/resources/static/console-fe/src/locales/en-us.ts +++ b/console/src/main/resources/static/console-fe/src/locales/...
27
16
1
[{"id": "G0", "claim": "The fallback error message in the v2 request interceptor is partially hardcoded in Chinese; error messages should be in English or properly internationalized.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The okhttp dependen...
null
apache__incubator-seata__7867
apache/incubator-seata
7,867
defect
41242611abc2de8c6bf09f9e496c4fb06f15af57
ccbec4eccb40cd8a1316fc1c8b9ecb898ef0bbcc
optimize: global transaction support non-private methods
<!-- 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...
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index adab1edbabf..2aa2ec7f505 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -93,6 +93,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7813](https://github.com/apache/incubator-seata/pull/7813)] add decode buffer limit - [[#...
2
2
2
[{"id": "G0", "claim": "Changing from getMethods() to getDeclaredMethods() may miss @GlobalTransactional/@GlobalLock annotations on public inherited methods from parent classes; consider iterating the class hierarchy or keeping getMethods() with a private-method filter.", "category": "correctness", "verdict": "supporte...
null
apache__incubator-seata__7874
apache/incubator-seata
7,874
defect
c13207c5ed466b633e0032562fcc8b90289c136b
1afdd476c6067181bf18807153310a78c8b59253
test: add unit tests for DBType and RedisKeyConstants in core module
Closes #6502 - Added unit tests for DBType and RedisKeyConstants to improve test coverage of core module
diff --git a/core/src/test/java/org/apache/seata/core/constants/DBTypeTest.java b/core/src/test/java/org/apache/seata/core/constants/DBTypeTest.java new file mode 100644 index 00000000000..685b68f0dbb --- /dev/null +++ b/core/src/test/java/org/apache/seata/core/constants/DBTypeTest.java @@ -0,0 +1,127 @@ +/* + * Licens...
3
3
0
[{"id": "G0", "claim": "The wildcard static import `import static org.junit.jupiter.api.Assertions.*` should not be used (and the formatting should be brought in line via `mvn spotless:apply`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null