Skip to content

streamlined2/email-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Зміни в допоміжному проєкті

В проєкт із Сутністю 1 Person

https://github.com/streamlined2/REST-application

добавлена підтримка Kafka producer. У разі зміни або видалення сутності 1 застосунок надсилає повідомлення у топік notification із допомогою сервіса нотифікації

https://github.com/streamlined2/REST-application/blob/main/src/main/java/com/streamlined/restapp/service/notification/DefaultNotificationService.java

і бінів KafkaAdmin, KafkaTemplate

https://github.com/streamlined2/REST-application/blob/main/src/main/java/com/streamlined/restapp/service/notification/kafka/KafkaSender.java

Параметри підключення до Email сервера

зберігаються в файлі .env, який зчитується application.yml.

Пароль для підключення до SMTP серверу створений відповідно до інструкції

https://support.google.com/mail/answer/185833?hl=en

і задається як VM параметр застосунку

-Dspring.mail.password=secret

Імідж застосунку

Опис іміджу наведений в файлі Dockerfile, побудова виконується командою

docker build --tag emailsender:1.0 .

Releases

No releases published

Packages

No packages published