Options
The importer runs three ways, all with the same options and defaults:
| Way | Command |
|---|---|
| Hop GUI | File → Import from Informatica…: the options on the Source, Target and Metadata tabs |
hop-import | <hop>/hop-import.sh -t informatica -i <input> -o <output> [options] |
| Standalone jar | java -jar importer-informatica.jar [options] <informatica-export-dir> <output-dir>, built from the repository |
Options
| Option | Default | Meaning |
|---|---|---|
-i, --input | The folder to import from: PowerCenter XML files, IICS task folders, or both | |
-o, --output | The folder to write the Hop files to | |
-e, --skip-existing | on | Leave target files that already exist untouched |
-p, --skip-hidden | on | Skip hidden files and folders |
-f, --skip-folders | off | Do not recurse into sub-folders |
--project <name> | Import into this Hop project's home folder instead of --output (needs the Hop projects plugin) | |
--pipeline-run-configuration <name> | local | Run configuration for generated pipeline actions and executors |
--workflow-run-configuration <name> | local | Run configuration for generated workflow actions and executors |
-h, --help | Print the options |
Switch a default-on option off with --no-<option> (--no-skip-existing) or --<option>=false.
What is read
| Input | Recognised by |
|---|---|
| PowerCenter mapping | A file with MAPPING as its root, or a repository export (POWERMART → REPOSITORY → FOLDER) holding mappings: any .xml file, and any file without an extension that starts as XML |
| PowerCenter session | Only the flat-file names of the mapping it runs |
| IICS synchronization task | A task folder with dssTask.json |
| IICS replication task | A task folder with drsTask.json |
| IICS connections | connection.json files under SYS |
What is written
| File | What it is |
|---|---|
pipelines/<mapping>.hpl | One pipeline per mapping or task |
metadata/ | Run configurations, and connections for IICS tasks |
project-config.json | Hop project configuration for the output folder |
informatica-migration-report.md | The migration report |
conversion-metadata.json | The report's data, as JSON |