Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 2.18 KB

README.md

File metadata and controls

42 lines (26 loc) · 2.18 KB

SILK data integration workspace

This project contains mapping and linking tasks executed with Silk Link Discovery Framework. Silk with a set of configuration files is used to semantically lift data. General information about Silk can be found on the official website. Silk can be downloaded from the Silk Github repository. The server can be started using sbt or from the docker image.

Run the Silk Workbench with sbt

In order to start the workbench with the transformation rules, run the following command from the Silk root folder

$ sbt -Dworkspace.provider.file.dir=<data-integration-workspace path>/Workspace -Dhttp.port=9005 -Dparser.text.maxLength=1024K "project workbench" run

Note: Port is specified to avoid conflicts with default port 9000 which can be used for development purposes.

Run the Silk Workbench from the Docker image

In order to deploy and run the server in a docker image you have to package the Silk workbench with the configuration files, build the image from the docker file and then run it. The Docker engine must be installed in the host that will run the container.

Package the Silk Workbench

Clone the SILK framework from the Silk Github repository and compile the Silk Workbench executing the command

$ sbt "project workbench" universal:package-zip-tarball

A zipped tar file, silk-workbench-2.7.2.tgz, is created in the folder silk/silk-workbench/target/universal/. The tar file contains the script to run the workbench. It must be copied in the docker image to be unzipped in a docker container

Create the Docker image

An image of the project can be Built using the docker file. From the project root folder run the following command

$ docker build -t lidakra/silk:latest .

Once the image has been created you can run a container with Silk and the configuration files for Fuhsen. Run the following command

$ docker run -i -t -p 9005:9005 --name silk-data-integration lidakra/silk:latest /bin/bash

From the container start the Silk Workbench in background

$ ./start_workbench.sh &

Detach the container using the sequence Ctrl+P Ctrl+Q