From 4268b9126c9a3e71b695bcfd66475fdee980166d Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期五, 22 四月 2022 18:02:00 +0800
Subject: [PATCH] [update] [todo 137875] 新增公司、保誠廠商JNDI連線設定

---
 pamapi/src/main/resources/config/application-pollex.yml |   34 ++++++++++++++++++++++++++--------
 1 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/pamapi/src/main/resources/config/application-pollex.yml b/pamapi/src/main/resources/config/application-pollex.yml
index 04b648a..a354c17 100644
--- a/pamapi/src/main/resources/config/application-pollex.yml
+++ b/pamapi/src/main/resources/config/application-pollex.yml
@@ -32,21 +32,25 @@
       indent-output: true
   datasource:
     type: com.zaxxer.hikari.HikariDataSource
-    url: jdbc:postgresql://dev.pollex.com.tw:5433/pam
-    username: pamadmin
-    password: pamadmin
     hikari:
       poolName: Hikari
+    jndi-name: Pam
   jpa:
     database-platform: tech.jhipster.domain.util.FixedPostgreSQL10Dialect
   liquibase:
     # Remove 'faker' if you do not want the sample data to be loaded automatically
     contexts: pollex, faker
   mail:
-    host: localhost
-    port: 25
-    username:
-    password:
+    host: smtp.gmail.com
+    port: 587
+    username: pollex.testing@gmail.com
+    password: ilismmmhtscppxft
+    properties:
+      mail:
+        smtp:
+          auth: true
+          starttls:
+            enable: true
   messages:
     cache-duration: PT1S # 1 second, see the ISO 8601 standard
   thymeleaf:
@@ -117,4 +121,18 @@
   e-service-login-url: https://eserviceuat.pcalife.com.tw/sso/chatbotValidate
   e-service-login-func: ValidateUsrLogin
   e-service-login-sys: epos
-  file-folder-path: D://pam_file
+  front-end-domain: 'http://dev.pollex.com.tw:5566/pam/#'
+  sms:
+    send-notify-msg: false
+    url: https://localhost:8081/testSMS
+    source-code: ePos
+    sender: POS
+    sms-type: '0017'
+    subject: '慦�像��'
+  email:
+    send-notify-msg: true
+    url: https://localhost:8081/testEmail
+    function-id: epos
+    sender-email: noreply@pcalife.com.tw
+    method: 'POLLEX_GMAIL'
+  file-folder-path: C://pam_file

--
Gitblit v1.8.0