Loop
(1)
Example of looping over asynchronous services. The dummy beanshell scripts represents the operations of an asynchronous submit-status-results style service, such as EBI's InterProScan and NCBI Blast.
createJob creates a temporary file with the content "0". Filename retuirned as a "job ID".
checkStatus reads the job, and return state "RUNNING" as long as the content is less than 10, increasing the number for each call. (As no actual job is being run)
getResults reads the file content, with...
Created: 2015-09-29
Credits:
Thiago Soares