summaryrefslogtreecommitdiff
path: root/src/main/java/com/p4square/grow/ccb
AgeCommit message (Collapse)Author
2018-01-29Adding /ping resource for deep health checksJesse Morgan
2017-10-17Add CCBBackfillToolJesse Morgan
CCBBackfillTool iterates everyone in CCB and updates the GROW attributes.
2017-10-15Refactor Chapter Ordering Logic20171015Jesse Morgan
The bug impacting the CCB integration was due to the "Introduction" chapter having a higher "score" than every other chapter. It was a mistake to use Score to compared chapter progress, particularly since there are more chapters than scores. This change gathers the chapter ordering logic, which was scattered throughout the code into a new Chapters enum. Playlist and Chapter now use Chapters as a key, instead of loose strings. Same for the ProgressReporter interface.
2017-10-08Attempt to update chapter completion on every request.20171008Jesse Morgan
I'm still seeing occasional users with missing progress information in CCB. Currently, the progress is only updated when the user completes a chapter. With this change, the progress will be updated every time the training page is loaded. CCBProgressReporter does not actually update the user's profile unless the new level is greater than the existing level. This provision will prevent needlessly calling the CCB API. Additionally, this update will execute in a background thread to avoid impacting the page load.
2017-03-05Fail the page load if progress is not reportedJesse Morgan
2016-04-14Changing the ID used by CCBUser to support the migration from F1 to CCB20160414Jesse Morgan
2016-04-09Switching from Ivy+Ant to Maven.Jesse Morgan