]> source.dussan.org Git - sonarqube.git/commit
SONAR-2596,SONAR-2600 Improve notification mechanism
authorEvgeny Mandrikov <mandrikov@gmail.com>
Tue, 19 Jul 2011 09:09:51 +0000 (13:09 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 20 Jul 2011 15:02:49 +0000 (19:02 +0400)
commit5f730dc9ed7a80ad2de100940e051279c2018e1d
tree1fa0100c6f94fd93d5921a0722ce01dfd3481a96
parenta77a5b874799dc15edffe740a3ca34d896813238
SONAR-2596,SONAR-2600 Improve notification mechanism

* Persist notifications into DB for later delivery.
* Add sonar-email-plugin, which sends notifications by email.
50 files changed:
plugins/sonar-email-plugin/pom.xml [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/EmailConfiguration.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/EmailNotificationChannel.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/EmailPlugin.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/api/EmailMessage.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/api/EmailTemplate.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/reviews/CommentOnReviewAssignedToMe.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/reviews/CommentOnReviewCreatedByMe.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/main/java/org/sonar/plugins/email/reviews/CommentOnReviewEmailTemplate.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/test/java/org/sonar/plugins/email/EmailNotificationChannelTest.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/test/java/org/sonar/plugins/email/review/CommentOnReviewAssignedToMeTest.java [new file with mode: 0644]
plugins/sonar-email-plugin/src/test/java/org/sonar/plugins/email/review/CommentOnReviewCreatedByMeTest.java [new file with mode: 0644]
pom.xml
sonar-application/pom.xml
sonar-core/src/main/java/org/sonar/core/notifications/DefaultNotificationManager.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/jpa/entity/NotificationQueueElement.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/jpa/entity/Review.java [deleted file]
sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java
sonar-core/src/main/resources/META-INF/persistence.xml
sonar-core/src/test/java/org/sonar/core/notifications/DefaultNotificationManagerTest.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/database/model/Review.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/notifications/Notification.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationChannel.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationDispatcher.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/notifications/NotificationManager.java [new file with mode: 0644]
sonar-server/pom.xml
sonar-server/src/main/java/org/sonar/server/notifications/Notification.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/NotificationChannel.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/NotificationDispatcher.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/NotificationManager.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/NotificationQueue.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/NotificationService.java
sonar-server/src/main/java/org/sonar/server/notifications/email/EmailConfiguration.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/email/EmailMessage.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/email/EmailMessageTemplate.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/email/EmailNotificationChannel.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/reviews/CommentOnReviewAssignedToMe.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/reviews/CommentOnReviewCreatedByMe.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/reviews/CommentOnReviewEmailTemplate.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/reviews/CommentOnReviewNotification.java [deleted file]
sonar-server/src/main/java/org/sonar/server/notifications/reviews/ReviewsNotificationManager.java
sonar-server/src/main/java/org/sonar/server/platform/Platform.java
sonar-server/src/main/webapp/WEB-INF/app/controllers/email_configuration_controller.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/215_create_notifications.rb [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/notifications/NotificationManagerTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/notifications/NotificationServiceTest.java
sonar-server/src/test/java/org/sonar/server/notifications/email/EmailNotificationChannelTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/notifications/reviews/CommentOnReviewAssignedToMeTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/notifications/reviews/CommentOnReviewCreatedByMeTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/notifications/reviews/ReviewsNotificationManagerTest.java