REST API Guide

REST API Guide

UNIX Installation

UNIX Installation

To set up the REST API in UNIX, perform the following steps:
  1. Copy the Data Transformation
    CDELicense.cfg
    license file to the following location:
    <Data Transformation installation directory>
    . Make sure the license has unlimited CPU.
  2. Copy the
    DTRestAPI.war
    file to the following location:
    <tomcat installation directory>/webapps
    .
  3. In the Data Transformation
    setEnv.sh
    file, define the source.
  4. Perform the following actions to edit the
    Catalina.bat
    file in the
    <tomcat installation directory>/bin
    :
    1. Set
      IFCONTENTMASTER_HOME
      to the path for the following location:
      <Data Transformation installation directory>
      .
    2. Prepend
      PATH
      with
      <Data Transformation installation>/bin;%PATH%
      .
    3. Prepend
      CLASSPATH
      with
      <Data Transformation installation>/api/lib/CM_JavaAPI.jar
      .
  5. Go to the following location:
    <tomcat directory>/bin
    . In the command line run the following commands:
    goto <Data Transformation installation>
    run setEnv.sh
    Then type:
    • catalina.sh run
    • catalina.sh start
  6. Copy the Data Transformation services to run with a REST API call to the following location:
    Service Database directory
    .