☰

Atoti Sign-Off API

What is the Atoti Sign-Off API

The Atoti Sign-Off API is a library that enforces your project to comply with the requirements of the Atoti Sign-Off module.

Who is this intended for

The Atoti Sign-Off API is intended for developers who are looking to connect their Atoti Server product with the Atoti Sign-Off module in order to sign off data and make adjustments.

Why use the Atoti Sign-Off API

In order to connect with the Atoti Sign-Off server, some information and communication principles need to be established between your application server and the Atoti Sign-Off server. The Atoti Sign-Off API is the API contract that allows this communication by letting you implement the specific services and REST endpoints required.

Prerequisites

Before you begin, ensure you have the following installed:

  • Java 21+
  • Maven 3.8+

Implementation

There are two ways to use the Atoti Sign-Off API:

  1. Using a Spring Boot Starter: this is the quickest way to get started
  2. Using a custom implementation: this is the most flexible way to use the service

note

The starter is currently empty but is the recommended option to ease future migrations as more configurations are added.

You need to implement the same interfaces as using directly the standalone library, however, using the starter will let you migrate by selectively removing parts of your implementation rather than migrating your code.

1. Spring Boot Starter

A lightweight Spring Boot Starter that will configure default available implementations of the interfaces used for the integration of Atoti Sign-Off API in an application server with default properties. It imports signoff-api-lib. Use this starter if you want to use the default configuration and get started quickly.

Maven dependency

<dependency>
    <groupId>com.activeviam.solutions.signoff-api</groupId>
    <artifactId>signoff-api-spring-boot-starter</artifactId>
    <version>${signoff-api.version}</version>
</dependency>

Available default implementations

No default implementation available. Please implement all interfaces.

2. Standalone library

This option lets you implement everything with more flexibility. This library contains interfaces, default implementations, and Data-Transfer Objects (DTOs) used for the integration of Atoti Sign-Off with an application server. Use this library if you want to configure the integration.

Maven dependency

Import the Atoti Sign-Off API with:

<dependency>
	<groupId>com.activeviam.solutions.signoff-api</groupId>
	<artifactId>signoff-api-lib</artifactId>
	<version>${signoff-api.version}</version>
</dependency>

Implementation of the API interfaces

Service: ISignOffService

This must be used to implement the logic behind the ISignOffRestService. Each method in this service reflects the rest controller’s mappings.

ISignOffService
Rest controller: ISignOffRestService

This rest controller implemented on your application server allows the Sign-Off server to communicate with your application server.

ISignOffRestService
DTOs
Summary
DTO Description
SignOffProcessKey Task key object, containing a process definition name and an as-of date.
SignOffProcessInstanceExportDTO Export request object, containing information required for data export.
SignOffExportStatusDTO Information object containing the result of an export execution.
KpiDTO Data object for the goal, value and status of a KPI.
Classes
SignOffProcessKey
SignOffProcessInstanceExportDTO
SignOffExportStatusDTO
KpiDTO