aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2022-05-04 11:53:01 +0100
committersourabh_sourabh <sourabh.sourabh@est.tech>2022-05-06 13:43:46 +0100
commita7863efca29d19ea07b3cdbad23e2b4335694c97 (patch)
treeef80f4eaf7b66fd75ad3942884ed7a8043c97f53 /src/test
parentab3c7378c0cf96021856171d80b14b5a839f192e (diff)
Security Logging Fields
- logback encoder and sleuth dependencies are added. - New appender is added to log JSON format content on console. Issue-ID: CPS-986 Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech> Change-Id: I9e45a9d842831a87af3fb9ac309485110357f0c8
Diffstat (limited to 'src/test')
-rw-r--r--src/test/resources/application.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml
index 9bdacbe..ce0e95b 100644
--- a/src/test/resources/application.yml
+++ b/src/test/resources/application.yml
@@ -24,6 +24,8 @@ rest:
base-path: /cps-temporal/api
spring:
+ application:
+ name: cps-temporal
datasource:
url: ${DB_URL}
username: ${DB_USERNAME}
@@ -71,3 +73,6 @@ security:
auth:
username: testUser
password: testPassword
+
+logging:
+ format: json