From 20cd125faa824175f9b78a1756435dc12aae3792 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Fri, 13 Dec 2024 07:13:36 +0100 Subject: [PATCH] Updated --- .../rest-service/src/test/resources/init/weather.sql | 3 ++- .../src/test/resources/application.properties | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dbrepo-data-service/rest-service/src/test/resources/init/weather.sql b/dbrepo-data-service/rest-service/src/test/resources/init/weather.sql index 8f7950b13c..7b8dd082b5 100644 --- a/dbrepo-data-service/rest-service/src/test/resources/init/weather.sql +++ b/dbrepo-data-service/rest-service/src/test/resources/init/weather.sql @@ -95,7 +95,8 @@ select `date`, `location`, `mintemp` as `MinTemp`, `rainfall` as `Rainfall` from `weather_aus` where `location` = 'Vienna'); -CREATE VIEW 5c7ba02f681b889892ee82987aa6c74ce45a30973cfef06b78ce797f25189b9 AS +-- internal view who should not be indexed into schema +CREATE VIEW 5c7ba02f681b889892ee82987aa6c74ce45a30973cfef06b78ce797f25189b9a AS ( select `date`, `location`, `mintemp` as `MinTemp`, `rainfall` as `Rainfall` from `weather_aus` diff --git a/dbrepo-upload-service/src/test/resources/application.properties b/dbrepo-upload-service/src/test/resources/application.properties index 4bc77eb246..088fec498b 100644 --- a/dbrepo-upload-service/src/test/resources/application.properties +++ b/dbrepo-upload-service/src/test/resources/application.properties @@ -5,7 +5,7 @@ spring.profiles.active=local,junit spring.cloud.discovery.enabled=false # internal datasource -spring.datasource.url=jdbc:h2:mem:dbrepo;DB_CLOSE_ON_EXIT=FALSE;INIT=CREATE SCHEMA IF NOT EXISTS dbrepo;NON_KEYWORDS=value +spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE;INIT=CREATE SCHEMA IF NOT EXISTS DBREPO;NON_KEYWORDS=value spring.datasource.driverClassName=org.h2.Driver spring.datasource.username=sa spring.datasource.password=password -- GitLab