Set default mailing properties for notification service

Description

As we are starting to use openlmis-blue to test our services together, we encountered a problem with notification service under our configuration.

The service stores it's mailing settings in application.properties file, by default leaving email username and password blank. As of today's state, developers need to fill those properties and rebuild the service's image every time it's updated, otherwise it will fail on sending notifications.

To solve this problem, we could take those as environment variables (that would be added to our .env file), so we would have everything working as intended in our default config without need for any further configuration.

Status

Assignee

Krzysztof Kaczmarczyk

Reporter

Paweł Nawrocki

Labels

None

Time tracking

0m

Sprint

None

Fix versions

Priority

Major
Configure