Polling for execution status

Often times it is not practical to use the 'block' service parameter, if the job is a long-running job. Rather then you can retrieve the status of the job execution using this service URL:

			/DataCleaner-monitor/repository/{tenant}/logs/{resultId}
		

The 'resultId' part in this URL is mean to match the 'resultId' coming from the responses of the trigger service.

The response of the service will be an XML representation of the execution status. For instance:

			<ns4:execution-log xmlns="http://eobjects.org/datacleaner/schedule/1.0" xmlns:ns2="http://eobjects.org/datacleaner/shared/1.0" xmlns:ns3="http://eobjects.org/datacleaner/timeline/1.0" xmlns:ns4="http://eobjects.org/datacleaner/execution-log/1.0">
			  <ns4:result-id>Customer duplicates-1347004507995</ns4:result-id>
			  <ns4:job-begin-date>2012-09-07T09:55:10.607+02:00</ns4:job-begin-date>
			  <ns4:job-end-date>2012-09-07T09:55:19.661+02:00</ns4:job-end-date>
			  <ns4:execution-status>SUCCESS</ns4:execution-status>
			  <ns4:trigger-type>MANUAL</ns4:trigger-type>
			  <ns4:triggered-by>admin</ns4:triggered-by>
			  <schedule>
			  <alerts/>
			  </schedule>
			  <ns4:log-output>
			    2012-09-07 09:55:10 - Job execution BEGIN 2012-09-07 09:55:10 - Row processing of table Table[name=CUSTOMERS,type=TABLE,remarks=null] BEGIN - Query: SELECT "CUSTOMERS"."PHONE", "CUSTOMERS"."STATE", "CUSTOMERS"."POSTALCODE", "CUSTOMERS"."ADDRESSLINE1", "CUSTOMERS"."ADDRESSLINE2", "CUSTOMERS"."COUNTRY", "CUSTOMERS"."CUSTOMERNUMBER", "CUSTOMERS"."CONTACTFIRSTNAME", "CUSTOMERS"."CITY", "CUSTOMERS"."CUSTOMERNAME", "CUSTOMERS"."CONTACTLASTNAME" FROM PUBLIC."CUSTOMERS" - Expected row count: 130 2012-09-07 09:55:12 - Row processing of table Table[name=CUSTOMERS,type=TABLE,remarks=null] SUCCESS 2012-09-07 09:55:12 - Result gathered from analyzer: ImmutableAnalyzerJob[name=null,analyzer=Duplicate detection] 2012-09-07 09:55:19 - Job execution SUCCESS
			  </ns4:log-output>
			</ns4:execution-log>