This micro-service provides a set of APIs to manage case access.
TODO: add more description / architecture diagram etc
The project uses Gradle as a build tool. It already contains
./gradlew wrapper script, so there's no need to install gradle.
To build the project execute the following command:
./gradlew buildRun the application by executing:
./gradlew bootRunThis image is available in the HMCTS azure container registry. Image url is: hmctspublic.azurecr.io/aac/manage-case-assignment
See required config in: docker-compose.yml
API documentation is provided with Swagger. You can view the json spec here: http://localhost:4454/v2/api-docs Swagger UI is available here: http://localhost:4454/swagger-ui.html
To run all unit tests execute the following command:
./gradlew testTo run all integration tests execute the following command:
./gradlew integrationThese are the tests run against an environment. For example if you would like to test your local
environment you'll need to export variables on your .bash_profile script.
Details of the relevant environment variables can be found in the aca-docker/README.md
Note: For details of the emails and passwords to use in a local environment see the Create users and roles steps in ccd-docker project.
These tests can be run using:
./gradlew functionalWe use checkstyle and PMD. To run all checks execute the following command:
./gradlew clean checkstyleMain checkstyleTest checkstyleIntegrationTest pmdMain pmdTest pmdIntegrationTestCreate docker image:
docker-compose buildRun the distribution by executing the following command:
docker-compose upThis will start the API container exposing the application's port 4454.
By default, docker-compose.yml is pointing to AAT urls of all downstream dependencies. So, you need to enable hmcts proxy.
You can spin-up full aca docker stack locally. Instructions are available under aca-docker/README.md.
This project is licensed under the MIT License - see the LICENSE file for details.