summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/dcae/commonFunction
AgeCommit message (Collapse)AuthorFilesLines
2018-06-08Refactored event processor + sonarKrysiak Adam Gabriel2-0/+183
Issue-ID: DCAEGEN2-521 Change-Id: I9290f21701945cd1bb5e7a43a671991417f25491 Signed-off-by: Krysiak Adam Gabriel <adam.krysiak@nokia.com>
2018-04-12Optimize and refactor EventPublisher class in VESPiotr Jaszczyk2-0/+233
* Remove need for having sendEvent synchronized by means of using Guava LoadingCache. The only thing that made it synchronized was the creation of new entries in the map but the synchronization was made on each incoming event. * Split the class to smaller classes which conform to SRP. This makes us able to... * ... write unit tests for affected classes * TODO: upgrade to Java8 so lambdas will simplify the code even more Change-Id: I14cf4cfab0570ce5aecc9a5e5dc9f541c499f9d7 Issue-ID: DCAEGEN2-440 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>