This is an automated email from the ASF dual-hosted git repository. dimuthuupe pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
commit ea9a03e34a991c3abc308e91f3182aebe9cdd46f Author: Dimuthu Wannipurage <[email protected]> AuthorDate: Thu Feb 2 13:22:23 2023 -0500 Avoiding database reset when services restart --- standalone-service/src/main/resources/application.properties | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/standalone-service/src/main/resources/application.properties b/standalone-service/src/main/resources/application.properties index 95a221f..e22d45d 100644 --- a/standalone-service/src/main/resources/application.properties +++ b/standalone-service/src/main/resources/application.properties @@ -16,11 +16,13 @@ # spring.main.allow-bean-definition-overriding=true -spring.datasource.url=jdbc:h2:~/mft_db;DB_CLOSE_ON_EXIT=FALSE +spring.datasource.url=jdbc:h2:~/mft_db;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=TRUE;DB_CLOSE_DELAY=-1; +spring.jpa.hibernate.ddl-auto=update consul.host=localhost consul.port=8500 resource.service.host=localhost resource.service.port=7003 secret.service.host=localhost -secret.service.port=7003 \ No newline at end of file +secret.service.port=7003 +agent.id=local-agent \ No newline at end of file
