In the endeca documentation I see that "The sample scripts provided with the Deployment Template control the Endeca operational tasks through the EAC. You can use these scripts, or create custom scripts based on them. The scripts typically run such processes as routine baseline and partial updates. You can also add specific scripts that run before the Dgraph is stopped or after it is started."
I would like to call a .bat before the DGraph is stopped or after it is started, but I can't find where.
I think it's in the AppConfig.xml file, right? Could you give me an example?
1st Declare your action. Here is a sample that manually calls the set data ready flag...
<shell id="SetDataReadyFlag" host-id="ITL_Local" >
then in your custom tasks (or even the tasks that are part of the deploy template), you can call it....
// Get data
// Verify Data
// Set endeca data ready flag
The only thing I don't think you can do is get a response from the external call that you make. In that case I usually have my .bat, .exe, etc Write out a result file and then I read and parse the results from that.
Hope this helps