There was an error fetching the commit references. Please try again later.
Store feedback in memory using FeedbackStorage
With this patch all feedbacks will be stored in memory without any interaction with CouchDB. Due to in memory storage, all feedbacks will be removed if server gets restartet. Depending on new requests, feedbacks will be deleted after some time.
Showing
- src/main/java/de/thm/arsnova/FeedbackStorage.java 128 additions, 0 deletionssrc/main/java/de/thm/arsnova/FeedbackStorage.java
- src/main/java/de/thm/arsnova/services/FeedbackService.java 16 additions, 95 deletionssrc/main/java/de/thm/arsnova/services/FeedbackService.java
- src/main/java/de/thm/arsnova/services/UserSessionServiceImpl.java 1 addition, 1 deletion.../java/de/thm/arsnova/services/UserSessionServiceImpl.java
- src/test/java/de/thm/arsnova/controller/FeedbackControllerTest.java 5 additions, 1 deletion...ava/de/thm/arsnova/controller/FeedbackControllerTest.java
- src/test/java/de/thm/arsnova/controller/StatisticsControllerTest.java 2 additions, 2 deletions...a/de/thm/arsnova/controller/StatisticsControllerTest.java
- src/test/java/de/thm/arsnova/dao/StubDatabaseDao.java 9 additions, 0 deletionssrc/test/java/de/thm/arsnova/dao/StubDatabaseDao.java
- src/test/java/de/thm/arsnova/services/FeedbackServiceTest.java 61 additions, 0 deletions...est/java/de/thm/arsnova/services/FeedbackServiceTest.java
- src/test/java/de/thm/arsnova/services/StatisticsServiceTest.java 1 addition, 1 deletion...t/java/de/thm/arsnova/services/StatisticsServiceTest.java
Please register or sign in to comment