HUB
Sign inSign up

rrssoftware/data-integration

By rrssoftware

•Updated over 3 years ago

PENTAHO DATA INTEGRATION

Image
0

316

rrssoftware/data-integration repository overview

⁠PENTAHO DATA INTEGRATION

  • FROM: openjdk:8u272-buster
  • Includes:
    • mssql-jdbc-8.2.2.jre8.jar
    • postgresql-42.5.4.jar
    • sqlite-jdbc-3.36.0.3.jar
    • ojdbc8-21.8.0.0.jar
  • pdi-ce-9.0.0.0-423⁠
⁠How to use this image

Run the Docker image:

docker run -v "~/files:/opt/data-integration/files" -p 9002:9002 \
     -e "DB_CONNECTION_URL=..." \
     -e "DB_USERNAME=..." \
     -e "DB_PASSWORD=..." \
     -e "RRSSW_ADMIN_PASSWD=..." \
  rrssoftware/data-integration

Using docker-compose.yml

version: "3.8"
services:
data-integration:
    image: rrssoftware/data-integration
    ports:
      - "9002:9002"
    volumes:
      - "~/files:/opt/data-integration/files/"
    environment:
      - DB_CONNECTION_URL
      - DB_USERNAME
      - DB_PASSWORD
      - RRSSW_ADMIN_PASSWD
⁠Environment variables
VariableDescriptionExample
DB_CONNECTION_URLJDBC string for DS_RRSSW datasourcejdbc:sqlserver://localhost:1433;databaseName=dev
DB_USERNAMEdatabase connection username
DB_USERNAMEuser password
RRSSW_ADMIN_PASSWDPassword to access Kettle server
PENTAHO_DI_JAVA_OPTIONSJVM memory customizations-Xms32m -Xmx2G
⁠Kettle server
  • username: rrssoftware
  • password: [defined in RRSSW_ADMIN_PASSWD environment variable]
http://localhost:9002/kettle/status/
⁠Customizations

This image contains a entrypoint script, to create a jdbc connection (MS SQL) and carte slave server config, using environment variables

  • JNDI Name always is "DS_RRSSW"
  • DS_RRSSW/driver is defined checking DB_CONNECTION_URL environment variable (support: sqlserver, postgresql, oracle)
  • Generates "$PDI_HOME/simple-jndi/jdbc.properties" file if this file not exists
    • Define this file using docker volume mapping, if needed
#!/bin/bash

PDI_HOME=/opt/data-integration

TARGET=$PDI_HOME/simple-jndi/jdbc.properties
# Generates the database connection file, according to environment variables
# ...

TARGET="$PDI_HOME/carte-config.xml"
# Access in Carte (server), according to environment variable
# ...

# customizations 
(/bin/bash $PDI_HOME/bootloader-worker.sh 2>/dev/null) &

/opt/data-integration/carte.sh "/opt/data-integration/carte-config.xml"

Note: The bootloader-worker.sh script loads all KJB files inside $PDI_HOME/files directory, after kettle server starts.

Tag summary

Content type

Image

Digest

sha256:53255e34c…

Size

1.7 GB

Last updated

over 3 years ago

docker pull rrssoftware/data-integration:9.0.0.0-423