Christopher Febles 855cc8edbbf Added README.md. 23 Jan 2017 Christopher Febles c896fbfa9a9 Changed MagicCardMixin from an abstract class to an interface. If there arises a need for constructor annotations, it will have to be changed back. 14 Jan 2017 Christopher Febles dab1a96088b Extracted code in CardController to get currently logged in user. @AuthenticationPrincipal wasn’t working. Added isOwned and numberOwned endpoints. 14 Jan 2017 Christopher Febles dd27868848d Added image endpoint. 14 Jan 2017 Christopher Febles 9577e95dda8 Added paged endpoint for owned cards. 13 Jan 2017 Christopher Febles e15b6fa5722 Added /ownedCards endpoint. 13 Jan 2017 Christopher Febles 190773ec6ce Added custom Jackson module to RestConfiguration. Added initial CardController.
Added custom deserializer for MagicCards.
All tests pass.
NOTE: Custom module/deserialization works when deployed, but not in test. 13 Jan 2017 Christopher Febles 4ce4bb27187 Added Jackson Mixin for SubType. Created MagicCardModule to encapsulate all custom Mixins.
I’m using custom Mixins instead of adding Jackson annotations to the POJOs in the API class. This reduces unnecessary coupling in the API project with some added complexity in the REST project. 13 Jan 2017 Christopher Febles cca5223f1ac Added endpoints for types and subtypes. 08 Jul 2016 Christopher Febles f8e23fc85d5 Added /colors endpoint. Updated test endpoint for easier testing with cURL. 07 Jul 2016 Christopher Febles 77a9c16bc54 Removed unnecessary import. 07 Jul 2016 Christopher Febles 1599ea46102 Updated logging configuration. 14 Jun 2016 Christopher Febles 0d74d9dd4a8 Added configuration to change the output pattern of auto-generated TRACE logging messages. 13 Jun 2016 Christopher Febles f28388c94f0 Updated Logback configuration to have a custom logging pattern for auto-generated TRACE messages. 13 Jun 2016 Christopher Febles 55ca1867ea6 Fixed Spring configuration. 13 Jun 2016 Christopher Febles 13fa52cce29 Renamed project in POM file. 13 Jun 2016 Christopher Febles 9f9dafe180a Spring security configuration test passing. 12 Jun 2016 Christopher Febles bba83f4432e Initial commit. Basic Authentication seems to be working. 11 Jun 2016