This is an automated email from the ASF dual-hosted git repository. rcordier pushed a change to branch postgresql in repository https://gitbox.apache.org/repos/asf/james-project.git
from 2f1f036a81 JAMES-2586 Disable some unstable tests of PostgresBlobStoreDAOTest new 701790ec04 JAMES-2586 Implement PoolBackedPostgresConnectionFactory new 435600614f JAMES-2586 Update PostgresCommonModule to use PoolBackedPostgresConnectionFactory new a9492092cd JAMES-2586 Add connection pool config to PostgresConfiguration new 79f39abe84 JAMES-2586 Close postgres connections when the app shutdown new a321011b47 JAMES-2586 Fix some disabled tests in PostgresBlobStoreDAOTest by using connection pool new cfeba0162d JAMES-2586 Create rls-bypass instance for PoolBackedPostgresConnectionFactory The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: backends-common/postgres/pom.xml | 5 + .../backends/postgres/PostgresConfiguration.java | 90 +++++++++++++++- .../backends/postgres/PostgresTableManager.java | 106 ++++++++++-------- .../utils/DomainImplPostgresConnectionFactory.java | 18 +++- .../utils/JamesPostgresConnectionFactory.java | 4 + .../utils/PoolBackedPostgresConnectionFactory.java | 91 ++++++++++++++++ .../postgres/utils/PostgresConnectionClosure.java | 25 +++-- .../backends/postgres/utils/PostgresExecutor.java | 119 ++++++++++++--------- .../utils/SinglePostgresConnectionFactory.java | 10 ++ .../DomainImplPostgresConnectionFactoryTest.java | 2 +- .../PoolBackedPostgresConnectionFactoryTest.java | 15 ++- .../james/backends/postgres/PostgresExtension.java | 77 ++++++++----- .../sample-configuration/postgres.properties | 12 +++ .../blob/postgres/PostgresBlobStoreDAOTest.java | 33 +----- .../james/modules/data/PostgresCommonModule.java | 32 +++--- 15 files changed, 447 insertions(+), 192 deletions(-) create mode 100644 backends-common/postgres/src/main/java/org/apache/james/backends/postgres/utils/PoolBackedPostgresConnectionFactory.java copy server/protocols/protocols-pop3/src/main/java/org/apache/james/pop3server/mailbox/DefaultMailboxAdapterFactory.java => backends-common/postgres/src/main/java/org/apache/james/backends/postgres/utils/PostgresConnectionClosure.java (63%) copy server/data/data-jmap-postgres/src/test/java/org/apache/james/jmap/postgres/identity/PostgresCustomIdentityDAOTest.java => backends-common/postgres/src/test/java/org/apache/james/backends/postgres/PoolBackedPostgresConnectionFactoryTest.java (72%) --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org