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
This library is hosted on Azure DevOps Artifacts and can be used in your project by adding the following to your build.gradle file:
repositories {
maven {
url 'https://pkgs.dev.azure.com/hmcts/Artifacts/_packaging/hmcts-lib/maven/v1'
}
}
dependencies {
implementation 'com.github.hmcts:core-case-data-store-client:LATEST_TAG'
}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 buildTo run all checks (including unit tests) please execute the following command:
./gradlew checkThe 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.shWe 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.