Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Sync main branch with Apache main branch #26

Merged
merged 28 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dea7fc5
Fixing ce content type when using binary (#3391)
fjtirado Feb 5, 2024
d7e0974
[kie-issues#839] Reproducible build (#3393)
baldimir Feb 7, 2024
3d30404
[kie-issues#843] Replace random UUID generator with a deterministic r…
baldimir Feb 8, 2024
162a753
Removing oracle driver and associated tests (#3381)
fjtirado Feb 8, 2024
2268e20
[no-issue] Revert UUID change (#3399)
baldimir Feb 9, 2024
f8dbbc5
Upgrading quarkus http version (#3396)
fjtirado Feb 9, 2024
a405d60
[incubator-kie-issues-915] Drop support for DRF in bussines automatio…
elguardian Feb 13, 2024
a8716ea
Using toString rather than name (#3402)
fjtirado Feb 13, 2024
c030524
[Fix #3406] Avoid publishing internal variables (#3407)
fjtirado Feb 16, 2024
0393ba6
incubator-kie-issues#917: Verify Quarkus Extensions metadata in `kogi…
pefernan Feb 19, 2024
ad9c802
[CVE-2024-25710] update common compress to 1.26.0 (#3408)
rgdoliveira Feb 20, 2024
a398648
[kie-issues#913] Upgrade to and align with 3.2.10.Final Quarkus LTS r…
baldimir Feb 21, 2024
9f7bc43
incubator-kie-issues#932: Rename Quarkus Extension in `kogito-apps` (…
pefernan Feb 23, 2024
f480727
incubator-kie-issues#934: Rename the `jBPM` & `drools` Quarkus Exten…
pefernan Feb 23, 2024
c9e33a2
[KOGITO-9276] Adding support for businessKey to resume a process (#3412)
fjtirado Feb 27, 2024
e6ed13f
Bump ch.qos.logback:logback-classic (#3335)
dependabot[bot] Feb 27, 2024
6dcb24c
Bump ch.qos.logback:logback-classic in /.ci/jenkins/tests (#3318)
dependabot[bot] Feb 27, 2024
beb5d0f
[Fix #3415] Allow constant values in user task assignments (#3416)
fjtirado Feb 28, 2024
d47a11a
incubator-kie-issues#933: Rename `SonataFlow` Quarkus Extensions in `…
pefernan Feb 28, 2024
5bbc16a
Revert "incubator-kie-issues#933: Rename `SonataFlow` Quarkus Extensi…
pefernan Mar 1, 2024
b1bcdc4
[Fix #3390] Fixing patch and retrigger REST APIs (#3419)
fjtirado Mar 4, 2024
a27d420
[NO_ISSUE]: Rollback missing `sonataflow-quarkus-devui` groupId (#3423)
pefernan Mar 4, 2024
be60b66
remove leftover hibernate configuration files (#3425)
mariofusco Mar 5, 2024
52715fb
incubator-kie-issues#935: Rename `kie` & `kogito` Quarkus Extensions …
pefernan Mar 7, 2024
6f40793
[Fix apache/incubator-kie-issues#987] New onError event (#3428)
fjtirado Mar 7, 2024
11f0e5e
[incubator-kie-kogito-runtimes#2608] Generating one definitions json …
gitgabrio Mar 8, 2024
dfd83f3
[incubator-kie-issues#847] Include generated-resources to quarkus art…
gitgabrio Mar 8, 2024
638ab98
[Fix apache/incubator-kie-issues#987] Fix nightly (#3431)
fjtirado Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci/jenkins/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<logback.configration>logback-test.xml</logback.configration>
<logdir>${project.build.directory}/log</logdir>
<test.loglevel>ERROR</test.loglevel>
<log.logback.version>1.2.9</log.logback.version>
<log.logback.version>1.2.13</log.logback.version>
<log.slf4j.version>1.7.25</log.slf4j.version>
<build-helper-maven-plugin.version>1.9.1</build-helper-maven-plugin.version>

Expand Down
4 changes: 2 additions & 2 deletions addons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ your `pom.xml` file:

<dependencies>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-process-management</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-process-management</artifactId>
<version>${kogito.version}</version>
</dependency>
</dependencies>
Expand Down
12 changes: 6 additions & 6 deletions addons/common/events/mongodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ To enable this events publisher, make sure dependency for the Kafka events publi
2. Springboot:
```xml
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-springboot-events-kafka</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-springboot-events-kafka</artifactId>
</dependency>
```

Expand All @@ -31,15 +31,15 @@ Then add the following dependency for MongoDB events publisher:
1. Quarkus:
```xml
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-quarkus-events-mongodb</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-quarkus-events-mongodb</artifactId>
</dependency>
```

2. Springboot:
```xml
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-addons-springboot-events-mongodb</artifactId>
<groupId>org.kie</groupId>
<artifactId>kie-addons-springboot-events-mongodb</artifactId>
</dependency>
```

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
package org.kie.kogito.persistence.jdbc.correlation;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.Optional;

import javax.sql.DataSource;
Expand All @@ -29,25 +27,13 @@
import org.kie.kogito.correlation.CorrelationInstance;
import org.kie.kogito.correlation.CorrelationService;
import org.kie.kogito.event.correlation.MD5CorrelationEncoder;
import org.kie.kogito.persistence.jdbc.DatabaseType;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class JDBCCorrelationService implements CorrelationService {

private static final Logger LOGGER = LoggerFactory.getLogger(JDBCCorrelationService.class);
public class PostgreSQLCorrelationService implements CorrelationService {

private PostgreSQLCorrelationRepository repository;
private CorrelationEncoder correlationEncoder;

public JDBCCorrelationService(DataSource dataSource) {
try (Connection connection = dataSource.getConnection()) {
if (!DatabaseType.POSTGRES.equals(DatabaseType.getDataBaseType(connection))) {
throw new IllegalArgumentException("Only PostgreSQL is supported for correlation");
}
} catch (SQLException e) {
LOGGER.error("Error getting connection for {}", dataSource);
}
public PostgreSQLCorrelationService(DataSource dataSource) {
this.repository = new PostgreSQLCorrelationRepository(dataSource);
this.correlationEncoder = new MD5CorrelationEncoder();
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- To be used with kogito-addons-quarkus-persistence-jdbc for Quarkus or kogito-addons-springboot-persistence-jdbc for SpringBoot
-- To be used with kie-addons-quarkus-persistence-jdbc for Quarkus or kie-addons-springboot-persistence-jdbc for SpringBoot
CREATE TABLE process_instances
(
id character(36) NOT NULL,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.kie.kogito.correlation.CompositeCorrelation;
import org.kie.kogito.correlation.CorrelationInstance;
import org.kie.kogito.correlation.SimpleCorrelation;
import org.kie.kogito.persistence.jdbc.correlation.JDBCCorrelationService;
import org.kie.kogito.persistence.jdbc.correlation.PostgreSQLCorrelationService;
import org.kie.kogito.testcontainers.KogitoPostgreSqlContainer;
import org.postgresql.ds.PGSimpleDataSource;
import org.testcontainers.containers.JdbcDatabaseContainer;
Expand All @@ -42,15 +42,15 @@ public class JDBCCorrelationServiceIT {
@Container
private static final KogitoPostgreSqlContainer PG_CONTAINER = new KogitoPostgreSqlContainer();
private static PGSimpleDataSource dataSource;
private static JDBCCorrelationService correlationService;
private static PostgreSQLCorrelationService correlationService;

@BeforeAll
public static void setUp() {
dataSource = new PGSimpleDataSource();
dataSource.setUrl(PG_CONTAINER.getJdbcUrl());
dataSource.setUser(PG_CONTAINER.getUsername());
dataSource.setPassword(PG_CONTAINER.getPassword());
correlationService = new JDBCCorrelationService(dataSource);
correlationService = new PostgreSQLCorrelationService(dataSource);
//create table
// DDLRunner.init(new GenericRepository(dataSource), true);
initMigration(PG_CONTAINER, "postgresql");
Expand Down
Loading
Loading