...
RTRs are generated from the ENTITYEXTRACT.txt query file located in testFolder:
Code Block EN|EN|ActionType; EXTRACT; StreamName; eagle_ml-2-0_default_out_q; FeedType; ENTITYEXTRACT; maxrows; 10; EN|EN|ActionType; EXTRACT; StreamName; eagle_ml-2-0_default_out_q; FeedType; ENTITYEXTRACT; maxrows; 20; EN|EN|ActionType; EXTRACT; StreamName; eagle_ml-2-0_default_out_q; FeedType; ENTITYEXTRACT; maxrows; 30; EN|EN|ActionType; EXTRACT; StreamName; eagle_ml-2-0_default_out_q; FeedType; ENTITYEXTRACT; maxrows; 40;
- Two queries are executed in parallel (-threads=2)
- Metrics are have additional logging in metricsDir folder
- Extracted data is saved to results folder
- All necessary libraries required for the process are in the lib folder
To start execution we create runapitest.cmd file with the following contents:
Code Block set EAGLEAPIPASS=eagle1 java -jar lib/eaglemlapiclient-1.0.1.jar -file=testFolder/ENTITYEXTRACT.txt -execution=async -endpoint=http://10.100.38.145 -login=eagleadmin -resultsdir=results -threads=2 -csvmetricsdir=metricsdir
To set IP address to receive response use (port is optional, any available port is used if value is not set):
Code Block language java -callback-address=clientipaddress[:port]
This is how a working folder with such parameters should look like:
...