Repository navigation
Version 0.3a - Used for Presentation day
This follows incorrect Semantic Versioning, but for sake of no confusion, using the versioning as before.
Version 0.3a was used for presentation.
NOTE: I didn't make a backup copy of v0.3, so it's straight to v0.3a, which includes the changes in v0.3 listed below. In v0.3, Vincent's files for UserAccess (basically a user login database) is added. That's all. His files are standalone, they do not rely on the Bus Stop, Bus Service, Bus Route files. In v0.3a, that's when I merged my add Bus Stop validation codes in.
Changelog v0.3
Added Vincent's UserAccess files. This is done today 19 Dec, around 9.30pm
Grp repo is ready for sync @vincent | SE8 @chooi Chin | SE8 @joshua | SE8
=== Files added or edited ===
AppBusStopController.java [Edited - removed import RequestMapping that is not used]
controllerNote.md [Edited]
entityNote.md [Edited]
exceptionNote.md [Edited]
repositoryNote.md [Edited]
serviceNote.md [Edited]
application.properties [Edited - change back port to 5432, but main branch is already port 5432, not sure why it's marked as edited]
TestNotes.md [Edited]
UserAccess.java [NEW]
DataloaderUserAccess.java [NEW]
UserAccessController.java [NEW]
UserAccessNotFoundException [NEW]
UserAccessRepository.java [NEW]
UserAccessService.java [NEW]
UserAccessServiceImpl.java [NEW]
UserAccessControllerTest.java [NEW]
Changelog v0.3a
Merged my branch Jimmy/addBusStopValidation. Grp repo is ready for sync! @vincent | SE8 @chooi Chin | SE8 @joshua | SE8
Now when you try create a duplicate bus stop with an existing bus stop code that is alr in the database, it will throw an exception, and a error message will print out in Postman.
Added validation for bus stop entity's fields also.
=== Files added or edited ===
MainBusStopController.java [Edited - add the @Valid annotation in the createBusStop controller method]
BusStop.java [Edited - added validation annotations to certain fields]
entity.md[Edited - fixed typo]
BusStopDuplicateException.java [NEW]
GlobalExceptionHandler.java [Edited - added Bus Stop Duplicate exception handler, added Illegal Argument exception handler]
exceptionNote.md [Edited - updated it and fixed a typo]
BusStopRepository.java [Edited - added 2x new JPA Derived Query]
repositoryNote.md [Edited - updated the note on how to do JPA Query Creation From Method Name]
MainBusStopApiServiceImpl.java [Edited - modify the createBusStop method]