Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This MettleCI capability takes a specified set of input ISX files and modifies them based on instructions provided in a supplied YAML file. The first public interface to the Transmuter function will be made available from the MettleCI command line.

Command

From MettleCI Command Line, run the asset-transformer transform command, supplying values for these parameters:

...

  • getmsg.isx contains a parallel routine definition with the target filepath string to be replaced

  • u915264 is the valid DataStage user that should be credited for the last save in the routine definition

  • File changeLibFileInfo.yml contains:

    Code Block
    - transform: SearchAndReplace
      xpath: /[contains(name(),'DSRoutineSDO')]/@modulePath
      searchString: /usr/local/dstage/[A-Za-z0-9_]/Routine/([A-Za-z0-9_]*).o
      replaceString: /usr/local/dstage/cplusplus/routines/$1.so

Executing the following command from a command prompt…

...