This is a client library for interacting with the core case data store application. The two main responsibilities are:
- start event for new case
- submit case to core case data app
Just include the library as your dependency and you will be to use the client class. Health check for CCD service is provided as well.
Components provided by this library will get automatically configured in a Spring context if core_case_data.api.url
configuration property is defined and does not equal false
.
The project uses Gradle as a build tool but you don't have install it locally since there is a
./gradlew
wrapper script.
To build project please execute the following command:
./gradlew build
To run all checks (including unit tests) please execute the following command:
./gradlew check
The functional tests rely on CCD and Idam and need to be configured with appropriate user roles and events. Before running the functional test on a local environment run the following:
./scripts/create-role.sh
./scripts/import-definintion.sh
We use SemVer for versioning. For the versions available, see the tags on this repository.
To release a new version add a tag with the version number and push this up to the origin repository. This will then build and publish the release to maven.
This project is licensed under the MIT License - see the LICENSE file for details.