From 92953841a0fb3dfa991b6546b5f4a248ff3c3b62 Mon Sep 17 00:00:00 2001 From: grabdoc Date: Mon, 13 May 2024 21:01:52 -0500 Subject: [PATCH] #569 - save and query of array now possible --- api-rest/src/main/resources/application-db.yml | 16 ++++++++++++++++ .../src/main/resources/application-mongo.yml | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 api-rest/src/main/resources/application-db.yml create mode 100644 api-rest/src/main/resources/application-mongo.yml diff --git a/api-rest/src/main/resources/application-db.yml b/api-rest/src/main/resources/application-db.yml new file mode 100644 index 00000000..2794d1b0 --- /dev/null +++ b/api-rest/src/main/resources/application-db.yml @@ -0,0 +1,16 @@ +app: + databases: + - name: ${DB_NAME:pgdb} + type: POSTGRESQL + url: jdbc:postgresql://localhost:5432/homidb + username: homi2022 + password: homi2022 + schemas: + connectionProperties: + ssl: false + envProperties: + enableDatetimeFormatting: ${ENABLE_DATETIME_FORMATTING:false} + timeFormat: ${TIME_FORMAT:HH:mm:ss} + dateFormat: ${DATE_FORMAT:yyyy-MM-dd} + dateTimeFormat: ${DATE_TIME_FORMAT:yyyy-MM-dd HH:mm:ss} + defaultFetchLimit : ${DEFAULT_FETCH_LIMIT:100} diff --git a/api-rest/src/main/resources/application-mongo.yml b/api-rest/src/main/resources/application-mongo.yml new file mode 100644 index 00000000..47dae6f5 --- /dev/null +++ b/api-rest/src/main/resources/application-mongo.yml @@ -0,0 +1,18 @@ +app: + databases: + - name: DB1 + type: POSTGRESQL + url: jdbc:postgresql://localhost:5432/homidb + username: homi2022 + password: homi2022 + connectionProperties: + ssl: false + envProperties: + enableDatetimeFormatting: true + timeFormat: 'HH:mm:ss' + dateFormat: 'dd-MM-yyyy' + dateTimeFormat: 'dd-MM-yyyy HH:mm:ss' + defaultFetchLimit : 100 + + +