Message Templating
authorEbenezer Graham <egraham15@alustudent.com>
Fri, 24 May 2019 12:46:20 +0000 (16:46 +0400)
committerEbenezer Graham <egraham15@alustudent.com>
Fri, 24 May 2019 12:47:01 +0000 (16:47 +0400)
commit13a1f550593b36b72714433d45e431781e83e7eb
treeb8d5490bc1c823d0bb9f7dc8a6825c57d4ab2f4c
parentf3deeaab97b23be491a4cf012397a369d5aa1ce6
Message Templating
41 files changed:
api/src/main/java/org/apache/fineract/cn/notification/api/v1/client/ConfigurationAlreadyExistException.java [new file with mode: 0644]
api/src/main/java/org/apache/fineract/cn/notification/api/v1/client/NotificationManager.java
api/src/main/java/org/apache/fineract/cn/notification/api/v1/client/TemplateAlreadyExistException.java [new file with mode: 0644]
api/src/main/java/org/apache/fineract/cn/notification/api/v1/client/TemplateNotFoundException.java [new file with mode: 0644]
api/src/main/java/org/apache/fineract/cn/notification/api/v1/domain/Template.java [new file with mode: 0644]
api/src/main/java/org/apache/fineract/cn/notification/api/v1/events/NotificationEventConstants.java
component-test/build.gradle
component-test/src/main/java/org/apache/fineract/cn/notification/AbstractNotificationTest.java
component-test/src/main/java/org/apache/fineract/cn/notification/TestEmailService.java
component-test/src/main/java/org/apache/fineract/cn/notification/TestSMSService.java
component-test/src/main/java/org/apache/fineract/cn/notification/TestSuite.java
component-test/src/main/java/org/apache/fineract/cn/notification/importer/TestTemplateImport.java [new file with mode: 0644]
component-test/src/main/resources/importdata/test-templates.csv [new file with mode: 0644]
component-test/src/main/resources/logback-test.xml [new file with mode: 0644]
component-test/src/main/resources/templates/template.html [new file with mode: 0644]
service/build.gradle
service/src/main/java/org/apache/fineract/cn/notification/service/internal/command/CreateTemplateCommand.java [moved from service/src/main/java/org/apache/fineract/cn/notification/service/internal/repository/ApplicationRepository.java with 53% similarity]
service/src/main/java/org/apache/fineract/cn/notification/service/internal/command/handler/TemplateCommandHandler.java [moved from service/src/main/java/org/apache/fineract/cn/notification/service/internal/command/handler/ApplicationCommandHandler.java with 55% similarity]
service/src/main/java/org/apache/fineract/cn/notification/service/internal/config/NotificationConfiguration.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/importer/TemplateImporter.java [new file with mode: 0644]
service/src/main/java/org/apache/fineract/cn/notification/service/internal/mapper/EmailConfigurationMapper.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/mapper/TemplateMapper.java [new file with mode: 0644]
service/src/main/java/org/apache/fineract/cn/notification/service/internal/repository/ApplicationEntity.java [deleted file]
service/src/main/java/org/apache/fineract/cn/notification/service/internal/repository/EmailGatewayConfigurationRepository.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/repository/SMSGatewayConfigurationRepository.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/repository/TemplateEntity.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/repository/TemplateRepository.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/service/EmailService.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/service/NotificationService.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/service/SMSService.java
service/src/main/java/org/apache/fineract/cn/notification/service/internal/service/TemplateService.java [new file with mode: 0644]
service/src/main/java/org/apache/fineract/cn/notification/service/internal/service/util/MailBuilder.java [new file with mode: 0644]
service/src/main/java/org/apache/fineract/cn/notification/service/listener/CustomerEventListener.java
service/src/main/java/org/apache/fineract/cn/notification/service/rest/EmailServiceRestController.java
service/src/main/java/org/apache/fineract/cn/notification/service/rest/SMSServiceRestController.java
service/src/main/java/org/apache/fineract/cn/notification/service/rest/TemplateRestController.java [new file with mode: 0644]
service/src/main/resources/application.yml
service/src/main/resources/db/migrations/mariadb/V1__initial_setup.sql
service/src/main/resources/templatedetails/templates.csv [new file with mode: 0644]
service/src/main/resources/templates/template.html [new file with mode: 0644]
shared.gradle