summaryrefslogtreecommitdiff
path: root/src/main/java/com/stileeducation/markr/service
AgeCommit message (Collapse)Author
2024-07-26Remove unused variables and tidy commentsSzymon Szukalski
2024-07-26Add test cases for multiple submissionsSzymon Szukalski
Add test cases which exercise the logic for updating the marks available and marks obtained. Update the service method so that they are transactional and reset the transient 'updated' and 'created' flags after reloading entites to ensure accurate update/create reporting.
2024-07-26Add test not found handling to /aggregate endpointSzymon Szukalski
2024-07-26Re-order methods for readabilitySzymon Szukalski
2024-07-25Increment the correct variablesSzymon Szukalski
2024-07-25Inline variable and fix formattingSzymon Szukalski
2024-07-25Update aggregate logic to return percentage valuesSzymon Szukalski
2024-07-25Removed unused variables and switch to constructor injectionSzymon Szukalski
2024-07-25Validate import payload and return create/update statsSzymon Szukalski
- Add validation to /import payload - Move import logic to service bean - Track whether entities have been created or update - Report number of created and updated entities as return value for the import endpoint - Add some test coverage to exercise the validators
2024-07-24Use Apache Commons Math for calculations and implement service testsSzymon Szukalski
Implement TestResultService tests and supporting entity builders. Switch to Apache Commons Math library for descriptive statistics.
2024-07-23Implement domain servicesSzymon Szukalski
Implement core business logic for working with Student, Test, and TestResult.
2024-07-23Implement simple /results/:id/aggregate endpoint and testSzymon Szukalski
2024-07-23Implement simple /import endpoint and testSzymon Szukalski