From ceffd3b1abb0d64938e06b6f28073458b4ad6dc5 Mon Sep 17 00:00:00 2001 From: Christos Tranoris Date: Fri, 8 Nov 2024 16:52:12 +0200 Subject: [PATCH 1/2] fix for #26 --- pom.xml | 1 + src/main/resources/application.yml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d79871f..949684c 100644 --- a/pom.xml +++ b/pom.xml @@ -86,6 +86,7 @@ com.h2database h2 + 2.3.232 org.etsi.osl diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8e52aa4..b5e9001 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,11 +1,14 @@ server: port: 13689 +flowable: + history-level: none + spring: application: name: openslice-osom datasource: - url: jdbc:h2:mem:db;DB_CLOSE_DELAY=-1 + url: jdbc:h2:~/temp/tempdb;DB_CLOSE_DELAY=-1 password: sa username: sa jpa: -- GitLab From 788a47f09ee7246282cf05b71ea3a400492017f4 Mon Sep 17 00:00:00 2001 From: trantzas Date: Thu, 14 Nov 2024 10:49:52 +0000 Subject: [PATCH 2/2] Reverting default osom's db to in memory. All the deployment files (docker-compose, helm) by default switch to local db. Fix for #26 --- src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b5e9001..26208b4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -8,7 +8,7 @@ spring: application: name: openslice-osom datasource: - url: jdbc:h2:~/temp/tempdb;DB_CLOSE_DELAY=-1 + url: jdbc:h2:mem:db;DB_CLOSE_DELAY=-1 password: sa username: sa jpa: -- GitLab