Service to access CCD case data for IAC case types
There is a business need to do query CCD case data for a reconciliation purpose.
The reconciliation process is requested by Liberata where there is a need to provide additional information (surname) by IAC Team.
There is a designed solution where IAC application will request case data querying CCD Elastic Search endpoint.
Exposed IAC endpoint will be generic and easy to extend if additional information is needed in the future.
ia-case-access-api
allows accessing CCD case data information.
Unit tests and code style checks:
./gradlew build
Integration tests use Wiremock and Spring MockMvc framework:
./gradlew integration
Functional tests use started application instance:
./gradlew functional
ia-case-access-api
is common Spring Boot application. Command to run:
./gradlew bootRun
There is special testing endpoint included in the code. It can be activated by changing Spring profile. Command to run:
SPRING_PROFILES_ACTIVE=test ./gradlew bootRun
API details about usages and error statuses are placed in Swagger UI
ia-case-access-api
has a single POST endpoint called supplementary-details
. The payload is a list of CCD Case Ids.
Authentication is defined as any other Reform application with Idam Authorization
token and S2S ServiceAuthorization
token.
This project is licensed under the MIT License - see the LICENSE file for details