summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2021-08-20Add basic security to query interfaceRenu Kumari4-176/+242
- Added WebSecurity configuration and corresponding test case - Updated existing test cases to handle spring security - Moved QueryResponseFactory to QueryController to avoid cyclic dependency Issue-ID: CPS-530 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7e03ed9ccf983090ce514873b86fc9b2f851ed4f
2021-08-19Validate controller input and provide expected responseRenu Kumari9-17/+554
- validate endpoint input - set default values if it is missing in the optional fields - used hateoas for previous and next record link generation - use service layer in controller layer Issue-ID: CPS-449 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7936cd9e8e7dead3b5650b421bb12f10d14ffa9b
2021-08-04Fetch data filtered by Search criteriaRenu Kumari6-4/+313
Implemented Service and repository layer Issue-ID: CPS-375 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Iedac0e48b2391a60f3eb9ab710ccdff0c9185407
2021-07-23generating swagger-ui and controller interface using openapi.ymlRenu Kumari2-35/+52
Issue-ID: CPS-387 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I3e9742407148efcb16d8d79411e4de6738796f86
2021-07-20Add failing event to invalid event exceptionBruno Sakoto2-9/+16
Also avoid unecessary null checks when validating the event Issue-ID: CPS-494 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I199fcf42928253bb4f44b204f72a4f46c1cc1eef
2021-07-05Add kafka listener for data updated eventsBruno Sakoto10-13/+401
See "Running via Docker Compose" section from README.md file to have an example of event processing Issue-ID: CPS-371 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Id3abfa32fb04e07102a5f28e6e43a9b533391188
2021-05-26Update db schema to keep field name consistent with domain propertyputhuparambil.aditya1-3/+3
Rollback need not be specified for renameColumn as per documentation: https://docs.liquibase.com/workflows/liquibase-community/using-rollback.html Issue-ID: CPS-425 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ida1cf80e7cd180c7b713bc595105fa83f4f6b278
2021-05-13Implement service and repository layers for storing temporal dataputhuparambil.aditya5-0/+219
1. Basic structure created 2. Basic tests added 3. lombok.config included for coverage Issue-ID: CPS-194 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Icf23c2e647106f7985dff14d9901806f7c4aa55a
2021-02-25Fix sonar issuesBruno Sakoto1-2/+2
* Set minimum code coverage to 80% * Remove unsafe http method vulnerability Issue-ID: CPS-213 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I917899a093fccc4317b0fa063137ec0276311f72
2021-02-23Create application skeletonBruno Sakoto2-0/+69
This skeleton is used to start validating cps temporal jenkins jobs. Issue-ID: CPS-190 Change-Id: Iccbd4f58eaf2bd3ffaf668f4471b94581425c484 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>