aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ri/src/test/resources/application.yml
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2020-11-24 11:13:43 +0200
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2020-12-08 11:01:31 +0200
commit7cca0296e855bbfaff7d14769db2fc76c5c06892 (patch)
tree4758811c99748c082b8496e05263c2c84674e926 /cps-ri/src/test/resources/application.yml
parent0cd5910ca2c949bab95ec73591729c4b7230fdd1 (diff)
Persistence layer testing incl CpsModulePersistenceService testing
Issue-ID: CPS-95 Change-Id: I5eba5f6953f483304ff3864914e7a6c9b2bb3f56 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'cps-ri/src/test/resources/application.yml')
-rw-r--r--cps-ri/src/test/resources/application.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/cps-ri/src/test/resources/application.yml b/cps-ri/src/test/resources/application.yml
new file mode 100644
index 0000000000..f6a5dfb0df
--- /dev/null
+++ b/cps-ri/src/test/resources/application.yml
@@ -0,0 +1,13 @@
+spring:
+ jpa:
+ ddl-auto: create
+ properties:
+ hibernate:
+ enable_lazy_load_no_trans: true
+ dialect: org.hibernate.dialect.PostgreSQLDialect
+ datasource:
+ url: ${DB_URL}
+ username: ${DB_USERNAME}
+ password: ${DB_PASSWORD}
+ driverClassName: org.postgresql.Driver
+ initialization-mode: always