diff options
author | Ittay Stern <ittay.stern@att.com> | 2020-03-23 06:47:25 +0200 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2020-03-23 06:47:25 +0200 |
commit | efefd95854efb51333dc36abe7bb33fca4d04e90 (patch) | |
tree | 24fd1d3339e7d63589b67ffc160e913f50fb0e66 /vid-ext-services-simulator | |
parent | bc1a54ad8cff801e5169e770b7e9ba944e6057ce (diff) |
Add c3p0 connection pooling to ext-svc-simulator
Should avoid login errors like
java.io.IOException: Server returned HTTP response code: 500 for URL: http://ci-cd-simulator-service:8080/vidSimulator/.../auxapi//v3/user/us16807000
when those are due to tenured connections.
Issue-ID: VID-647
Change-Id: I17ce716114535487e2e4a90c558c0334af5494fd
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-ext-services-simulator')
-rw-r--r-- | vid-ext-services-simulator/pom.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vid-ext-services-simulator/pom.xml b/vid-ext-services-simulator/pom.xml index c08bcd4ec..73da5f041 100644 --- a/vid-ext-services-simulator/pom.xml +++ b/vid-ext-services-simulator/pom.xml @@ -170,6 +170,11 @@ <artifactId>hibernate-core</artifactId> <version>${hibernate.version}</version> </dependency> + <dependency> + <groupId>org.hibernate</groupId> + <artifactId>hibernate-c3p0</artifactId> + <version>${hibernate.version}</version> + </dependency> <dependency> <groupId>org.mariadb.jdbc</groupId> |