Skip to content

A repo that captures the data models using throughout PIP

License

Notifications You must be signed in to change notification settings

hmcts/pip-data-models

Repository files navigation

pip-cron-trigger

Table of Contents

Overview

This repository contains the models used throughout CaTH application.

This project produces a single maven artefact, pushed up to jitpack, which is then used by other CaTH services.

Getting Started

Prerequisites

General

  • Java JDK 17 - this is used throughout all of our services.
Local development

No specific requirements, other than the standard IDE and Java 17.

Installation

  • Clone the repository
  • Build using the command ./gradlew clean build

Publishing the library

This project is a library rather than a spring boot application.

To publish the application to the local repository, use

  ./gradlew clean build publishToMavenLocal

The JAR that is published is also accessible in build/libs/

Importing the library

The library can be imported into other projects by using

  implementation group: 'uk.gov.hmcts.reform', name: 'pip-data-models', version: '0.0.1'

in your build.gradle file

Fortify

We use Fortify to scan for security vulnerabilities. This is run as part of our nightly pipelines.

Test Suite

This library is comprehensively tested using a suite of unit tests.

Unit tests

Unit tests can be run on demand using ./gradlew test.

Contributing

We are happy to accept third-party contributions. See .github/CONTRIBUTING.md for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details