Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Revert "[BAQE-439] Introducing Narayana and tomcat-dbcp into engine tests (#1360)" (#1364)" (#1365)

This reverts commit 64218d07dd3a7499cca0711ab421a04d56f43578.

    • -196
    • +0
    ./jbpm/test/util/PoolingDataSource.java
  1. … 102 more files in changeset.
Revert "[BAQE-439] Introducing Narayana and tomcat-dbcp into engine tests (#1360)" (#1364)

This reverts commit b0f467884dfdf661d885b8527db75f6ee3135783.

    • -0
    • +196
    ./jbpm/test/util/PoolingDataSource.java
  1. … 102 more files in changeset.
[BAQE-439] Introducing Narayana and tomcat-dbcp into engine tests (#1360)

* JBPM-7266 Configure jBPM unit tests to use connection pooling

* JBPM-7266 remove unnecessary properties from persistence.xml

* JBPM-7266 Implement new method coming from drools TransactionManager

* JBPM-7266 Set user and password for H2 XaDatasource

* Fix testDataBaseFailureInMemoryStorage test

* Updated to pass in the TSR to the connection pool for app server environments

* Updated with latest DBCP

* jbpm-runtime-manager/src/main/java/org/jbpm/runtime/manager/impl/tx/NoOpTransactionManager.java

* Temporarily update tomcat-dbcp to 9.0-SNAPSHOT

* Remove temporary update of tomcat-dbcp to 9.0-SNAPSHOT

* Override narayana-jta version to retest with it before merging

* Override narayana-jta version to 5.9.0.Final

* Commit current work on embedded jBPM use case with DBCP

* BAQE-439 Reuse PoolingDataSourceWrapper from kie-test-util

* Add missing direct dependency on kie-test-util into jbpm-examples

* Remove unused code

    • -196
    • +0
    ./jbpm/test/util/PoolingDataSource.java
  1. … 102 more files in changeset.
Stabilize deadlines tests (#1304)

    • -52
    • +0
    ./jbpm/test/listener/NodeTriggeredCountDownProcessEventListener.java
    • -44
    • +0
    ./jbpm/test/listener/SLAViolationCountDownProcessEventListener.java
  1. … 43 more files in changeset.
JBPM-6894 - User should be able to define case, process, activity level SLA (#1147)

    • -0
    • +44
    ./jbpm/test/listener/SLAViolationCountDownProcessEventListener.java
  1. … 79 more files in changeset.
JBPM-6510 - Refactor tests to use only one CountDownProcessEventListener (#1040)

    • -0
    • +41
    ./jbpm/test/listener/NodeCountDownProcessEventListener.java
    • -0
    • +52
    ./jbpm/test/listener/NodeLeftCountDownProcessEventListener.java
    • -0
    • +52
    ./jbpm/test/listener/NodeTriggeredCountDownProcessEventListener.java
  1. … 47 more files in changeset.
JBPM-6510 - Refactor tests to use only one CountDownProcessEventListener (#1039)

    • -0
    • +41
    ./jbpm/test/listener/NodeCountDownProcessEventListener.java
    • -0
    • +52
    ./jbpm/test/listener/NodeLeftCountDownProcessEventListener.java
    • -0
    • +52
    ./jbpm/test/listener/NodeTriggeredCountDownProcessEventListener.java
  1. … 47 more files in changeset.
JBPM-6309: Fix incorrect type in method invocation (#975)

    • -2
    • +2
    ./jbpm/test/util/PoolingDataSource.java
JBPM-6309: Fix incorrect type in method invocation (#974)

    • -2
    • +2
    ./jbpm/test/util/PoolingDataSource.java
[7.3.x] JBPM-6309: Fix jBPM community DB tests with Narayana (#971)

* JBPM-6309: Setup additional properties for DB2 and Sybase

This adds additional method that handles setting up properties

for Sybase and DB2. For DB2 there are 2 specific properties

and Sybase requieres username and password setup before

actuall getConnection() call.

Removes redundant array creations and enahnces logging.

* JBPM-6309: Do not use hardcoded portNumber

    • -3
    • +26
    ./jbpm/test/util/PoolingDataSource.java
JBPM-6309: Fix jBPM community DB tests with Narayana (#970)

* JBPM-6309: Setup additional properties for DB2 and Sybase

This adds additional method that handles setting up properties

for Sybase and DB2. For DB2 there are 2 specific properties

and Sybase requieres username and password setup before

actuall getConnection() call.

Removes redundant array creations and enahnces logging.

* JBPM-6309: Do not use hardcoded portNumber

    • -3
    • +26
    ./jbpm/test/util/PoolingDataSource.java
[7.3.x] JBPM-6309: JBPM-6309: Additional fixes for DB tests with narayana (#965)

* JBPM-6309: Do not setUrl with sybase and db2

There is an additional problem that appears when running with db2 and

sybase - they have no setURL/setUrl methods, so a guard is added to skip

this piece of code. Also adds url property into driverProperties for all

databases.

* JBPM-6309: User correct driverProperties in getConnection()

When getConnection() is called new Properties are created

and then sent into driver but we should use the one provided by

PoolingDataSource#getDriverProperties()

    • -10
    • +12
    ./jbpm/test/util/PoolingDataSource.java
  1. … 1 more file in changeset.
JBPM-6309: Additional fixes for DB tests with narayana (#964)

* JBPM-6309: Do not setUrl with sybase and db2

There is an additional problem that appears when running with db2 and

sybase - they have no setURL/setUrl methods, so a guard is added to skip

this piece of code. Also adds url property into driverProperties for all

databases.

* JBPM-6309: User correct driverProperties in getConnection()

When getConnection() is called new Properties are created

and then sent into driver but we should use the one provided by

PoolingDataSource#getDriverProperties()

    • -10
    • +12
    ./jbpm/test/util/PoolingDataSource.java
  1. … 1 more file in changeset.
[7.3.x] JBPM-6309: Investigate and fix jBPM community DB tests with Narayana (#961)

* JBPM-6309: Investigate and fix jBPM community DB tests with Narayana

JBPM-6309: Make CorrelationPersistenceTest handle exceptions during transactions

JBPM-6309: Use better sentence when logging exception

JBPM-6309: Add ?pinGlobalTxToPhysicalConnection parameter into mariadb profile

* JBPM-6309: Fix CorrelationPersistenceTest setup

    • -1
    • +9
    ./jbpm/test/util/PoolingDataSource.java
  1. … 5 more files in changeset.
JBPM-6309: Investigate and fix jBPM community DB tests with Narayana (#959)

* JBPM-6309: Investigate and fix jBPM community DB tests with Narayana

JBPM-6309: Make CorrelationPersistenceTest handle exceptions during transactions

JBPM-6309: Use better sentence when logging exception

JBPM-6309: Add ?pinGlobalTxToPhysicalConnection parameter into mariadb profile

* JBPM-6309: Fix CorrelationPersistenceTest setup

    • -1
    • +9
    ./jbpm/test/util/PoolingDataSource.java
  1. … 5 more files in changeset.
JBPM-6285 - Enable auto check License Headers for Java files for jBPM (#932)

    • -3
    • +4
    ./jbpm/test/util/PoolingDataSource.java
  1. … 2191 more files in changeset.
JBPM-6171 - Replace bitronix with Narayana for jBPM - additional changes to allow it to be used for kie server and spring tests (#912)

    • -20
    • +31
    ./jbpm/test/util/PoolingDataSource.java
  1. … 2 more files in changeset.
JBPM-6171 Updated test suite to use Narayana transaction manager (#898)

    • -0
    • +46
    ./jbpm/test/util/CloseSafeMemoryContextFactory.java
    • -0
    • +151
    ./jbpm/test/util/PoolingDataSource.java
  1. … 199 more files in changeset.