lafourchette / talend-php-sdk
Client for the talend administrator server API
This package's canonical repository appears to be gone and the package has been frozen as a result.
v1.1.1
2015-09-22 10:06 UTC
Requires
- guzzle/guzzle: ~3.7
Requires (Dev)
- phpunit/phpunit: ~3.7
This package is not auto-updated.
Last update: 2024-01-20 12:53:33 UTC
README
Informations
Client for Talend administrator server API
Documentation Talend administrator server API : https://help.talend.com/display/TalendPlatformUniversalStudioUserGuide54EN/G.3.4+Configuring+the+components
runTask
with a context parameter :
https://help.talend.com/display/TalendAdministrationCenterUserGuide54EN/B.5.2+Executing+a+task+with+context+parameters+using+metaServlet
Example :
- Method runTask
<?php use LaFourchette\Talend\TalendClient; $client = TalendClient::factory(array( 'base_url' => 'http://talend.url/org.talend.administrator/metaServlet', 'login' => 'login', 'password' => 'password', )); $client->runTask(17);
Method runTask with a context parameter
<?php use LaFourchette\Talend\TalendClient; $client = TalendClient::factory(array( 'base_url' => 'http://talend.url/org.talend.administrator/metaServlet', 'login' => 'login', 'password' => 'password', 'context' => array('ids_customer' => '1,2,3') )); $client->runTask(17);
- Method listTasks
use LaFourchette\Talend\TalendClient; $client = TalendClient::factory(array( 'base_url' => 'http://talend.url/org.talend.administrator/metaServlet', 'login' => 'login', 'password' => 'password', )); $client->listTasks();