VaughnVernon/IDDD_Samples — pull request #4 by michaelajr (2013-04-26 14:30:09+00:00)
Title: Gradle Support

Overview

- Added build.gradle and settings.gradle. Using Maven for dependency management.
- Moved all resource xml files out of their subdirectory into the resources root directory. This allows the files to be loaded without changes to the code.
- All tests run. See requirements and issues below.

Requirements:

- MySql needs to be running locally.
- Db tables tables need to be installed. (see: src/main/mysql in each sub project)
- RabbitMQ needs to be running locally.

Issues:

- com.saasovation.identityaccess.resource.UserResourceTest testGetAuthenticUserWrongPassword and testGetNonExistingUser. They expect 404 but get a 500.

- com.saasovation.collaboration.domain.model.calendar.CalendarTest.testCreateCalendar() - does not pass its assertion test when run a second time (works fine the first time). Expected 1 notifications, but handled 7 notifications: [com.saasovation.collaboration.domain.model.forum.PostedToDiscussion, com.saasovation.collaboration.domain.model.forum.DiscussionStarted, com.saasovation.collaboration.domain.model.calendar.CalendarCreated, com.saasovation.collaboration.domain.model.calendar.CalendarEntryParticipantUninvited, com.saasovation.collaboration.domain.model.calendar.CalendarEntryParticipantUninvited, com.saasovation.collaboration.domain.model.forum.PostedToDiscussion, com.saasovation.collaboration.domain.model.forum.PostedToDiscussion]