Skip to content

bigsiri/service-integration-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

service-integration-sdk

Build Status Maven Central

Overview

Represents a collection of utilities meant to facilitate the implementation of custom connectors. A connector is a stand-alone application that handles integration events from the AppDirect marketplace and takes care of the necessary interaction with an external vendor system in order to complete the request.

Essentially a connector is an adapter that allows the marketplace to interact with all external vendor systems in a consistent manner.

For more details, see the documents in our GitHub wiki

Prerequisites

  • Java 8 or higher
  • Your connector application should be implemented using Spring Boot
  • A build tool capable of building and running Spring Boot applications. Although you have several options, in the following instructions we are going to assume that you're using Apache Maven

Features

  • Automatic parsing of incoming market integration events
  • Automatic OAuth authentication of messages using signed fetch
  • Provides you with objects modelling the responses needed to be sent to the marketplace, so that you can specify what response is sent back to the AppDirect marketplace once the processing of a given integration event is complete
  • Automatic OAuth signing of messages to the marketplace

Sample client application

An sample connector implemented with the SDK can be found here Please refer to the documentation of the connector for instructions on building / running it.

Getting Started

To incorporate the SDK into your application please see Getting Started.

Event Handling

Using the SDK enables your application to handle the following AppDirect marketplace integration events. You have full control of the logic that your connector will execute when an integration events. See the Getting Started page for more information on how to implement your integration event handlers.

For more information on AppDirect marketplace integration events, and what each one is used for see the AppDirect marketplace documentation here

Keep in mind that the SDK parses the raw event payloads provided by the AppDirect marketplace (the one described in the AppDirect developer documentation above) and creates an event-specific Java object that is specific to the type of the event. So, as a developer, you would receive a payload containing only the information that is relevant to your event type.

For specific information regarding the different event types and the responses that you need to send back to the AppDirect marketplace when event processing is complete, see here

Domain association

Some products require to be associated to one or multiple domains.

For more details. see the domain association section.

Exposed endpoints

Using the SDK enables several REST points on your connector application. For details, see here

Building the SDK library locally

  • mvn clean javadoc:jar source:jar install

Regular dependencies version update

Use the following to verify that you are using the latest versions of your sdk dependencies

  • mvn versions:update-parent
  • mvn versions:use-latest-releases

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.7%
  • Shell 0.3%