This project contains the code to create an Alation OCF Connector to AtScale. Use the following instructions to build and package this code into a zip file for installing in Alation.
- Download the Alation OCF SDK Jars
- From the console, run:
mvn install:install-file -Dfile=sdk-4.1.24-jar-with-dependencies.jar -DgroupId=rdbms -DartifactId=sdk -Dversion=4.1.24 -Dpackaging=jar
- From the console, run:
mvn install:install-file -Dfile=sdk_tests-3.2.18-jar-with-dependencies.jar -DgroupId=rdbms -DartifactId=sdk_tests -Dversion=3.2.18 -Dpackaging=jar
- If using Intellij, create the following configurations:
- Name:
Start Server
, Main Class:atscale.biconnector.Main
, Parameters:START_SERVER
- Name:
Run Extraction
, Main Class:alation.sdk.bi.grpc.client.AbstractBIClient
, Parameters:-p 8980 --conf configuration.json -o results FULL_EXTRACTION
- Name:
Validate Configuration
, Main Class:alation.sdk.bi.grpc.client.AbstractBIClient
, Parameters:-p 8980 --conf configuration.json -o results CONFIGURATION_VERIFICATION
- Name:
- In IntelliJ, Execute Maven Goal:
mvn clean
- In IntelliJ, Execute Maven Goal:
mvn compile
- In IntelliJ, Execute Maven Goal:
mvn assembly:single
- From the console in the project directory, run
./package_connector.sh -m biconnector -j target/biconnector-1.1.1-jar-with-dependencies.jar -f Dockerfile
- If successful, it will produce a file named
atscale-alation-connector-x.x.x.zip