Initial commit

This commit is contained in:
jooho
2021-10-20 17:12:00 +09:00
parent 0c884beff8
commit 8caa4bbc5a
487 changed files with 44198 additions and 0 deletions

29
config/portal-service.yml Normal file
View File

@@ -0,0 +1,29 @@
database:
url: jdbc:mysql://localhost:3306/msaportal
spring:
datasource:
url: ${database.url}?serverTimezone=Asia/Seoul
username: msaportal
password: msaportal
driver-class-name: com.mysql.cj.jdbc.Driver
cloud:
stream:
function:
definition: attachmentEntity # 첨부파일 entity 정보 업데이트 하기 위한 이벤트에 대한 consumer function
bindings:
attachmentEntity-in-0: # 첨부파일 entity 정보 업데이트 하기 위한 이벤트
destination: attachment-entity.topic # queue name
group: attachment
attachmentEntity-out-0: # 첨부파일 entity 정보 업데이트 하기 위한 이벤트
destination: attachment-entity.topic # queue name
group: attachment
# ftp server
ftp:
hostname: 'ftp_server_hostname'
username: 'ftp_server_username'
password: 'ftp_server_password'
port: 21
directory: /mnt
enabled: false # ftp 사용 여부, FTP 서버에 최상위 디렉토리 자동 생성 및 구현체를 결정하게 된다.