This is an automated email from the ASF dual-hosted git repository. ikamga pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/fineract-cn-notifications.git
commit 6250a32c8da38b43e8373154092a6d60ea1ff1ff Merge: 857f39c 7c85f01 Author: Awasum Yannick <[email protected]> AuthorDate: Thu Jun 6 08:09:47 2019 +0100 Merge pull request #10 from ebenezergraham/permitted-feign-client-auth Changing Notification Admin to OrgAdmin .gitignore | 16 +-- .travis.yml | 3 +- NOTICE.txt | 4 +- README.md | 3 +- api/build.gradle | 3 +- .../notification/api/v1/PermittableGroupIds.class | Bin 261 -> 0 bytes .../api/v1/client/NotificationManager.class | Bin 1940 -> 0 bytes .../api/v1/domain/EmailConfiguration.class | Bin 4391 -> 0 bytes .../api/v1/domain/SMSConfiguration.class | Bin 3305 -> 0 bytes .../api/v1/events/NotificationEventConstants.class | Bin 1609 -> 0 bytes .../notification/api/v1/PermittableGroupIds.java | 5 + .../v1/client/ConfigurationNotFoundException.java | 8 +- .../api/v1/client/NotificationManager.java | 51 ++++++-- .../api/v1/domain/EmailConfiguration.java | 4 +- .../api/v1/domain/SMSConfiguration.java | 2 +- .../api/v1/events/NotificationEventConstants.java | 22 +++- component-test/build.gradle | 16 ++- .../cn/notification/AbstractNotificationTest.java | 18 ++- .../cn/notification/EmailApiDocumentation.java | 81 ++++++++++-- .../cn/notification/SmsApiDocumentation.java | 94 ++++++++++---- .../cn/notification/SuiteTestEnvironment.java | 2 + .../fineract/cn/notification/TestEmailService.java | 64 +++++----- .../fineract/cn/notification/TestSMSService.java | 68 +++++----- .../apache/fineract/cn/notification/TestSuite.java | 2 + .../cn/notification/listener/EventListener.java | 103 +++++++++++++++ .../listener/NotificationEventListener.java | 60 --------- .../notification/util/DomainObjectGenerator.java | 18 +-- gradle/wrapper/gradle-wrapper.jar | Bin 54212 -> 54212 bytes gradle/wrapper/gradle-wrapper.properties | 2 +- service/build.gradle | 1 + service/out/production/resources/application.yml | 88 ------------- service/out/production/resources/bootstrap.yml | 22 ---- .../db/migrations/mariadb/V1__initial_setup.sql | 56 --------- .../service/NotificationApplication.java | 1 + .../cn/notification/service/ServiceConstants.java | 11 ++ ...SCommand.java => DeleteApplicationCommand.java} | 45 ++++--- ...d.java => DeleteEmailConfigurationCommand.java} | 10 +- ...and.java => DeleteSMSConfigurationCommand.java} | 10 +- ...SMSCommand.java => SaveApplicationCommand.java} | 45 ++++--- ...d.java => UpdateEmailConfigurationCommand.java} | 18 +-- ...and.java => UpdateSMSConfigurationCommand.java} | 18 +-- ...gregate.java => ApplicationCommandHandler.java} | 42 ++++--- ....java => EmailConfigurationCommandHandler.java} | 30 ++++- ...Aggregate.java => MigrationCommandHandler.java} | 10 +- ...te.java => SMSConfigurationCommandHandler.java} | 26 +++- .../config}/NotificationConfiguration.java | 18 ++- .../internal/config/NotificationProperties.java | 69 +++++++++++ .../internal/identity/CustomerPermittedClient.java | 46 +++++++ .../identity/NotificationAuthentication.java | 89 +++++++++++++ .../internal/mapper/EmailConfigurationMapper.java | 2 +- .../internal/repository/ApplicationEntity.java | 106 ++++++++++++++++ ...nRepository.java => ApplicationRepository.java} | 14 +-- .../EmailGatewayConfigurationRepository.java | 5 + .../SMSGatewayConfigurationRepository.java | 5 + .../service/internal/service/EmailService.java | 138 +++++++++++++++++---- .../service/internal/service/EventHelper.java | 55 ++++++++ .../internal/service/NotificationService.java | 83 ++++--------- .../service/internal/service/SMSService.java | 91 ++++++++++---- .../CustomerService.java} | 6 +- .../helperservice/NotificationAuthentication.java | 60 --------- .../service/listener/CustomerEventListener.java | 26 ++-- .../service/listener/PortfolioEventListener.java | 76 +++++++----- ...roller.java => EmailServiceRestController.java} | 97 +++++---------- .../service/rest/NotificationRestController.java | 94 -------------- ...ntroller.java => SMSServiceRestController.java} | 107 ++++++---------- service/src/main/resources/application.yml | 7 +- .../db/migrations/mariadb/V1__initial_setup.sql | 20 ++- .../mariadb/V2__sms_gateway_configurations.sql | 20 --- .../mariadb/V3__email_gateway_configurations.sql | 20 --- shared.gradle | 40 +++--- 70 files changed, 1383 insertions(+), 993 deletions(-)
