From 6b8c1f5d9844c92774243834aa3f0f7136a1e222 Mon Sep 17 00:00:00 2001 From: Quoc Nghia Nguyen Date: Fri, 13 Apr 2018 13:56:42 +0200 Subject: Externalized app params for deployment - .env: contains environment variables which override application's default properties - Dockerfile & docker-compose.yml: takes environment variables into account - application.properties: included external services configurations Change-Id: I49937e66d514a42a174cff3bf6c383ecfc8e28e0 Issue-ID: EXTAPI-49 Signed-off-by: Quoc Nghia Nguyen --- src/test/resources/application.properties | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/test/resources/application.properties') diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index 0128997..f6df654 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -45,4 +45,10 @@ so.host=http://127.0.0.1:8091 so.header.authorization= so.api.id=SO - +# H2 +spring.datasource.url=jdbc:h2:mem:~/db;DB_CLOSE_ON_EXIT=false +spring.datasource.username=sa +spring.datasource.password= +spring.datasource.driver-class-name=org.h2.Driver +spring.h2.console.enabled=true +spring.h2.console.path=/h2-console \ No newline at end of file -- cgit 1.2.3-korg