From 8b6ef05fae97e3ab6bf777b543d4e0351d0e9e65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=87=E4=BD=B3?= Date: Fri, 17 Sep 2021 16:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E5=8C=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- executor/src/main/resources/application.yml.example | 8 ++++++++ reader/src/main/resources/application.yml.example | 7 +++++++ writer/src/main/resources/application.yml.example | 8 ++++++++ 3 files changed, 23 insertions(+) diff --git a/executor/src/main/resources/application.yml.example b/executor/src/main/resources/application.yml.example index 1c389ec..6dd55fd 100644 --- a/executor/src/main/resources/application.yml.example +++ b/executor/src/main/resources/application.yml.example @@ -50,4 +50,12 @@ spring: url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false username: gitlink password: giTlinK0^827 + + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + serialization: + indent_output: true + fail_on_empty_beans: false + white-list: '*' \ No newline at end of file diff --git a/reader/src/main/resources/application.yml.example b/reader/src/main/resources/application.yml.example index e828e2e..5e49bde 100644 --- a/reader/src/main/resources/application.yml.example +++ b/reader/src/main/resources/application.yml.example @@ -31,4 +31,11 @@ spring: username: gitlink password: giTlinK0^827 + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + serialization: + indent_output: true + fail_on_empty_beans: false + white-list: '*' \ No newline at end of file diff --git a/writer/src/main/resources/application.yml.example b/writer/src/main/resources/application.yml.example index 0d6bf72..ec4217b 100644 --- a/writer/src/main/resources/application.yml.example +++ b/writer/src/main/resources/application.yml.example @@ -34,4 +34,12 @@ spring: url: jdbc:mysql://mysql:3306/gitlink_notification?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8&allowMultiQueries=true&useSSL=false username: gitlink password: giTlinK0^827 + + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + serialization: + indent_output: true + fail_on_empty_beans: false + white-list: '*' \ No newline at end of file