pdi

Run PDI Jobs using Web Services

旧时模样 提交于 2019-12-11 12:53:19
问题 I have a job created using spoon and imported to the DI repository. Without scheduling it using PDI job scheduler how can I run PDI Job on a Data Integration Server using REST web services? So that I can call it whenever I want. 回答1: Before beginning these steps, please make sure that your Carte server (or Carte server embedded in the DI server) is configured to connect to the repository for REST calls. The process and description can be found on the wiki page. Note that the repositories.xml

In pentaho..How to pass a text file which contains all the definition of the connection parameters in the job?

偶尔善良 提交于 2019-12-08 06:22:39
问题 I am using jdbc connection and i am passing parameters with example ${sample_db_connection} and that parameters has been defined in server in a text file as sample_db_connection=localhost and i want to pass the text file in the job step so that whenever the job ran and it found this parameter ,automatically it will take the value defined in text file. 回答1: You need to create a KTR file using " Property Input " as the input step and " Modified Java Script " Step to define the key value mapping

using variable names for a database connection in Pentaho Kettle

余生颓废 提交于 2019-12-04 15:35:41
I am working on PDI kettle. Can we define a variable and use it in a database connection name. So that if in future if i need to change the connections in multiple transformations i would just change the variable value in kettle properties file? Just use variables in the Database Connection . For instance ${DB_HostName} , and ${DB_Name} etc. Then just put it in your kettle.properties: DB_HostName=localhost You can see what fields that support variables by the S in the blue diamond. 来源: https://stackoverflow.com/questions/36052615/using-variable-names-for-a-database-connection-in-pentaho-kettle

pentaho spoon/pid: how to move files to folders with different name everytime?

巧了我就是萌 提交于 2019-12-02 04:18:57
I have new text files every month from where I extract the data and do some transformations. In the end of every month, I need to move these files to a folder with current date in name. Which means, the destination folder's name is different everytime. I made a step before move files that creates a folder and its name is current date (exp: 2019-06-01, 2019-07-01), but then on move files step, I don't know how to specify the destination folder. Guess "wildcard" is only used for source... Otherwise, on move files - Destination file - Move to folder , there is create folder option, thought it