APIs for Executing ADC Batch Jobs

Posted by Mike Parish on 08-Jun-2018 13:37

Can anyone point me at documentation or an example that explains how to invoke the Server Batch jobs from java using the Server APIs?

Thanks

Posted by Chris S. Hogan on 11-Jun-2018 05:52

Take a look at the ICcServer JavaDocs
https://documentation.progress.com/output/Corticon/5.7.0/javadoc/Server/
 
Also a REST service described here:
http://localhost:8850/axis/swagger/#!/Batch32Execution325832Operation32on32Batch32Execution32Service/postBatchExecutionStart
 
 
 
 
startBatchExecution
java.lang.String startBatchExecution(org.json.JSONObject ajsonObjectBatchProcessingProperties)
                              throws CcServerDecisionServiceNotRegisteredException,
                                     CcServerDecisionServiceQueryServiceLoadFailedException,
                                     CcServerInitializationInProgressException,
                                     CcServerInvalidArgumentException,
                                     CcServerLicenseViolationException
This method will start a Batch Execution against a particular Decision Service based on the Batch Processing Properties outlined in the passed in JSONObject.
Parameters:
ajsonObjectBatchProcessingProperties - - JSONObject containing all necessary processing properties to run the desired Batch Execution.
Returns:
- String, which will be unique Id for the newly started Batch Execution
Throws:
CcServerDecisionServiceNotRegisteredException
CcServerDecisionServiceQueryServiceLoadFailedException
CcServerInitializationInProgressException
CcServerInvalidArgumentException
CcServerLicenseViolationException
 
 
 
Christopher S. Hogan
Solutions Architect
 
Office:  +1-346-352-0699
Mobile:  +1-646-243-4282
 

All Replies

Posted by Chris S. Hogan on 11-Jun-2018 05:52

Take a look at the ICcServer JavaDocs
 
Also a REST service described here:
 
 
 
 
startBatchExecution
java.lang.String startBatchExecution(org.json.JSONObject ajsonObjectBatchProcessingProperties)
                              throws CcServerDecisionServiceNotRegisteredException,
                                     CcServerDecisionServiceQueryServiceLoadFailedException,
                                     CcServerInitializationInProgressException,
                                     CcServerInvalidArgumentException,
                                     CcServerLicenseViolationException
This method will start a Batch Execution against a particular Decision Service based on the Batch Processing Properties outlined in the passed in JSONObject.
Parameters:
ajsonObjectBatchProcessingProperties - - JSONObject containing all necessary processing properties to run the desired Batch Execution.
Returns:
- String, which will be unique Id for the newly started Batch Execution
Throws:
 
 
 
Christopher S. Hogan
Solutions Architect
 
Office:  +1-346-352-0699
Mobile:  +1-646-243-4282
 

This thread is closed