IBM-Data-Merge-Utility-CLI

A command line interface based on IDMU

View the Project on GitHub

IBM Data Merge Utility v4.0.1 - CLI

What Is IDMU-CLI

The IBM Data Merge Utility CLI exposes the IBM Data Merge Utility through a Command Line Interface. The IDMU-CLI provides a scalable multi-threaded merge engine that is suited to batch style processing. However, the current implementation of the JDBC Data Provider does not utilize a connection pool and may not perform as well as the JNDI data provider available in the Rest interface. If you are looking to use the CLI tool, please see the release notes section of the GitHub pages for this project for instructions.


  1. IDMU Project - Core Merge tool
  2. IDMU Users Guide
  3. IDMU-CLI Project - Command Line merge tool

Command Line usage

java Merge <templateName> <mergeFolder> <options>

example:
java Merge test.. ./testMerge --runners 20 --run

templateName

mergeFolder

options


JSON File Formats

The parameters objects are serialized to HashMap<String,String[]>

{
	"parm1": ["value","value], 
	"parm2 : ["value"]...
}

The requests json file is based on

[
	{	"parms":{parameters}, 
		"payload":"aPayload", 
		"output":"fileName"
	},
	{....
	}
]

For Contributors

Requirements

  1. Java 1.8
  2. maven package manager - see (https://maven.apache.org/install.html)

Start Here

git clone https://github.com/FlatBallFlyer/IBM-Data-Merge-Utility-CLI.git
mvn install

Usage

mvn dependency:build-classpath -Dmdep.outputFile=cp.txt
export CLASSPATH=$(< cp.txt):$(pwd)/target/idmu-cli-4.0.1.jar

java Merge templateName mergeFolder <options>

ex: Merge root.. . --run --runners 20
see src/test/resources/perfTest.sh for some samples

See Also

  1. IDMU Project
  2. Template Json Schema
  3. Config Json Schema
  4. Sample Config Json
  5. Sample Template Json