Skip to content
Snippets Groups Projects
README.md 4.10 KiB

Logo

FIT-Connect Java SDK User Guide

The Java SDK for FIT-Connect enables to build clients for senders and subscribers without directly interacting with any REST-Endpoints. It provides a simple fluent API that guides through the creation and sending of a submission, as well as receiving submissions as a subscriber.

For further information, check out the official docs: FIT-Connect Documentation as well as the:

Official Documentation

Please find the projects documentation on how to build sdk clients on FIT-Connect SDK Documentation

Getting Started

How to set up the SDK project locally.

Build Dependencies

This section lists major frameworks/libraries used in the SDK.

  • Java 11 (LTS)
  • Maven 3.x
  • Junit 5

FIT-Connect dependencies:

Further 3rd party dependencies:

  • Nimbus-Jose JWT
  • Jackson FasterXMl
  • JCommander
  • Snakeyaml
  • OpenCSV
  • OkHttp

Prerequisites

  • Java Runtime >= 11, check your current setup in your commandline
    java --version 

(back to top)

Add FIT-Connect SDK to your build

To add a dependency on FIT-Connect using Maven, use the following:

<dependency>
  <groupId>dev.fitko.fitconnect.sdk</groupId>
  <artifactId>client</artifactId>
  <version>[Latest Version]</version>
</dependency>

With [Latest Version] of the last stable build or snapshot.

If you use a snapshot version, please add the maven snapshot repo to your pom.

<distributionManagement>
  <snapshotRepository>
  <id>ossrh</id>
  <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
  </snapshotRepository>
</distributionManagement>

Local Build

As an alternative to the pre-compiled maven artifact, the source code of the Java-SDK can be used to create a custom local build.