orbinson / aem-groovy-console

The AEM Groovy Console provides an interface for running Groovy scripts in the AEM container. Scripts can be created to manipulate content in the JCR, call OSGi services, or execute arbitrary code using the CQ, Sling, or JCR APIs.
https://orbinson.github.io/aem-groovy-console/
Other
16 stars 3 forks source link

Provide mechanism to execute async resilient scripts #36

Open royteeuwen opened 1 year ago

royteeuwen commented 1 year ago

Using AEMaaCS has as a consequence that scripts might be killed because of pod recycle / deploys. To mitigate this, we could provide a way to create async tasks that are processed in a resilient way

example Main Script:

executeAsync(parallel = 1) { subScript() }