Skip to content

Commit

Permalink
final readme for 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stu Arnett authored and twincitiesguy committed Dec 17, 2019
1 parent 471d967 commit 04e300b
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 10 deletions.
62 changes: 60 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# boomi-connector
A Pravega connector for the Boomi Atomsphere
A Pravega connector for the [Boomi Atomsphere](https://boomi.com/platform/integration/applications/)

# Building
_Note: once the connector is published, it will be available to everyone in the Boomi Platform, and you can skip to the [Custom Connector Library](#custom-connector-library) section._

## Pre-requisites
* Java JDK
Expand All @@ -18,7 +21,7 @@ mvn install:install-file -Dfile=connector-sdk-test-util-1.3.2.jar -DgroupId=com.
```
(use the appropriate version number)

## Build
## Build artifacts
```
./gradlew distZip
```
Expand All @@ -27,3 +30,58 @@ This will build a connector package which you can upload to your Boomi account.
./gradlew dependencyJar
```
This will build a fat jar with all of the dependencies required for the connector to work. Upload this as an account library and create a custom library for the Pravega connector and deploy it to any environment that will run the connector.

# Create a Custom Connector
_Note: once the connector is published, it will be available to everyone in the Boomi Platform, and you can skip to the [Custom Connector Library](#custom-connector-library) section._

If you have just built the Pravega connector above, you must install it in your Boomi account as a custom connector type. More details about this process can be found [here](https://help.boomi.com/bundle/connectors/page/c-atm-Connector_versioning_and_releasing_4ef53f03-4e3d-4637-9046-aa5f8b9506ba.html). The basic steps are:

1. Add a connector group
* Go to your Boomi account setup and under `Development Resources` on the left, click on `Developer`
* Click on `Add Connector Group` and name it "Pravega"
1. Create a connector version
* Still in the `Developer` page with the "Pravega" connector group selected, click on `Add Version`
* Select the connector descriptor file - this is the `src/main/resources/connector-descriptor.xml` file in this repository
* Select the connector archive file - after building, this is the zip file in `build/distributions`
* Click `OK`
1. Create a connector
* Still in the `Developer` page with the "Pravega" connector group selected, click on `Add Connector`
* Call the connector "Custom Pravega" - you can optionally append " - prod" or " - test" or any other descriptive suffix
* Give the connector a classification (i.e. "prod", "test", etc.)
* Click `OK`

Now you should have a Pravega connector for your account that you can insert into any process. However, before you can test or execute any of these processes, you will need to deploy the dependency libraries first (see next section).

# Custom Connector Library
_Note: this step is necessary because the dependency libraries of this connector (when compressed in a fat jar) are larger than 10MiB, which is a current limit within the Boomi platform. In future, this limit will be increased and this step will no longer be necessary._

Before you can deploy any process that uses the Pravega connector, you must first create and deploy a custom library that contains its dependencies. This is accomplished in 3 steps (the process is described in more detail [here](https://help.boomi.com/bundle/integration/page/c-atm-Working_with_custom_libraries_96f10864-334e-4eba-ac3f-f52b4e65fdb2.html)):

1. Upload dependency jar
* [download](#pravega-connector---dependency-library-download) the appropriate dependency jar that matches the version of the connector you want to deploy
* Go to your Boomi account setup and under `Development Resources` on the left, click on `Account Libraries`
* Click on "Upload a File" and select the dependency jar you downloaded in the above step
1. Create custom connector library
* In your Boomi account, click on `Build`, then `+ New` and select `Custom Library`
* Call your custom library something meaningful, like "Pravega Connector Dependencies v2" (use appropriate version)
* Click `Create`
* Select the `Connector` library type, and choose the Pravega connector you created above
* Select the dependency jar that you uploaded
* Click `Save and Close`
1. Deploy the custom library
* In your Boomi account, click on `Deploy`, then below that, select `Custom Libraries`
* Click on the custom library you created, then click on `Attachments`
* Select any environments on the right that will execute the Pravega connector
* Click on the left arrow button (`<<`)
* Now click on `Deployments`
* Click `Deploy Latest Revision of Custom Library`

At this point, you should be able to build and execute processes using the Pravega connector, pointing at an accessible Pravega storage cluster.

# Dependency Jar Download

If you require a custom connector library to deploy the Pravega connector (read above), then you can choose the appropriate library to download here.

|Github Release Version|Boomi Platform Version|Download Link|Checksums|
|---:|---:|---|---|
|1.0.0|2|[boomi-pravega-connector-1.0.0-dependencies.jar](https://object.ecstestdrive.com/pravega-boomi/boomi-pravega-connector-1.0.0-dependencies.jar)|MD5: c604f50683d8df50c38f480bc8ae0fbd<br>SHA1: 845aa1a9c792553d42a01b59587a45f7d279febe<br>SHA256: 35c4e5e8b4ad0ba66d7b2d52218cd77ebd2208952ab22a69a1245fcc5c7e895b|
8 changes: 0 additions & 8 deletions index.html

This file was deleted.

0 comments on commit 04e300b

Please sign in to comment.