Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Integrate Kettle into my application

  1. #1

    Default Integrate Kettle into my application

    Hi,

    I would like to integrate PDI into my application. I already had a look at the examples but I wonder if it is possible to pass the input of the transformation somehow to it? So I have a string (json) in my java application and I want to run a transformation and pass that json as input.

    Then the transformation transforms the json (e.g. to xml) and returns that xml to my java application.

    Also I wonder if the needed libs are somewhere in maven repository so I can easily add them as dependency to my pom?

    best regards,

    Marco Westermann

  2. #2
    Join Date
    Sep 2009
    Posts
    810

    Default

    Hey Marco,

    yes you can do all that.

    To get the jars with maven you'll need to connect to the repository at http://public.nexus.pentaho.org/content/groups/omni

    Here's a pom from one of my projects that fetches kettle jars: https://github.com/twineworks/ruby-f...master/pom.xml

    To run a transformation via the API you might want to look at the SDK samples: https://help.pentaho.com/Documentati...per_Center/PDI
    The SDK sample code seems to be behind a paywall these days. But the kettle SDK plugin assembly from 6.x is still pretty much accurate and available here: https://sourceforge.net/projects/pen...tegration/6.1/

    Have fun hacking!

    PS: If you're interested in professional support for PDI development, you can hire me over at http://twineworks.com/

  3. #3
    Join Date
    Feb 2017
    Posts
    13

    Default

    Quote Originally Posted by slawomir.chodnicki View Post
    Hey Marco,

    yes you can do all that.

    To get the jars with maven you'll need to connect to the repository at http://public.nexus.pentaho.org/content/groups/omni

    Here's a pom from one of my projects that fetches kettle jars: https://github.com/twineworks/ruby-f...master/pom.xml

    To run a transformation via the API you might want to look at the SDK samples: https://help.pentaho.com/Documentati...per_Center/PDI
    The SDK sample code seems to be behind a paywall these days. But the kettle SDK plugin assembly from 6.x is still pretty much accurate and available here: https://sourceforge.net/projects/pen...tegration/6.1/

    Have fun hacking!

    PS: If you're interested in professional support for PDI development, you can hire me over at http://twineworks.com/
    Hi, Can I get some more insights on Kettle-SDK's and when I tried with Maven but billed is failed for some dependencies

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.