Add c3p0 connection pooling to ext-svc-simulator 31/104131/1
authorIttay Stern <ittay.stern@att.com>
Mon, 23 Mar 2020 04:47:25 +0000 (06:47 +0200)
committerIttay Stern <ittay.stern@att.com>
Mon, 23 Mar 2020 04:47:25 +0000 (06:47 +0200)
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>
vid-ext-services-simulator/pom.xml

index c08bcd4..73da5f0 100644 (file)
             <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>