Skip to content

Repository files navigation

ts-api-contract

Shared API contract used by the Task Scheduler Platform.

This repository contains the response models shared across the platform's microservices, as well as the common URI versioning structure. Artifacts are published through JitPack, allowing the services to consume versioned API contracts.


Installation

1. Add the JitPack repository

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)

    repositories {
        mavenCentral()

        maven {
            url = uri("https://jitpack.io")

            content {
                includeGroup("com.github.enzobbom")
            }
        }
    }
}

2. Add the dependency

implementation "com.github.enzobbom:ts-api-contract:v1.0.0"

Versioning

This project follows Semantic Versioning.

Change Version
Bug fix PATCH
Backward-compatible event addition MINOR
Breaking event contract MAJOR

Release process

  1. Update the version in build.gradle.
  2. Commit and push the changes.
  3. Create a GitHub Release with the corresponding version tag (for example v1.0.0).
  4. JitPack automatically builds and publishes the release.

About

Task Scheduler - Shared API contract library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages