Skip to the content.

Contents

We are going to walk through the steps of adding a new connector, using an Example.


Anatomy of a Connector’s module

Before we start adding a new connector, lets look at the various components in a connector.

Lets assume restapi as a sample connector. A connector typically has following packages -

com.paypal.gimel.restapi.conf
com.paypal.gimel.restapi.reader
com.paypal.gimel.restapi.writer
com.paypal.gimel.restapi.utilities

Adding a new connector

Create New Module


Including the new module gimel-dataapi/gimel-connectors/new_connector as part of the parent module gimel-dataapi


Add the new module gimel-dataapi/gimel-connectors/new_connector as a dependency for module gimel-dataapi/gimel-core


Include the connector in core api - DataSet


Documenting the new connector


Adding Standalone Support


Testing the new connector

General Note

Testing locally

Refer http://try.gimel.io to quickstart gimel in local mode - so you can test the entire API on laptop.


Final Step - Raise a pull request