I was wondering if there is a way to execute a bloc of code post container creation on JBPM (and so, before any process creation)
I'm calling the URL : http://IP/kie-server/services/rest/server/config sending the payload to trigger the container creation :
<script>
<create-container>
<container container-id="process">
<release-id>
<group-id>group.id</group-id>
<artifact-id>group-id-process</artifact-id>
<version>1.0.0-SNAPSHOT</version>
</release-id>
</container>
</create-container>
</script>
I would like to execute a piece of code just after the container creation is complete. I'm using kie-api version : 6.5.0-FINAL, and so I don't think I can use : org.kie.server.services.api.StartupStrategy
All the listeners that I found are related to the process/task and what I'm trying to execute should be done before the process creation.
Is it possible ?
Thank you
There is no way you can execute particular code after container creation. But you can write custom java code or shell script which will do this task.