Groovy console in AEM as a Cloud

Avatar

Avatar

bartek__w

Avatar

bartek__w

bartek__w

06-04-2021

Hi,

 

Groovy console was one of heavily used dependencies in AEM projects I was working on. As far as I understand using the /apps/groovyconsole admin panel will not be an option for AEM as a cloud but I am exploring the ability to run groovy scripts automatically. Could you please advise what is the recommended approach for using groovy console in AEM as a Cloud world ? Do you see any scenario that would be problematic for AEM as a cloud ?

 

Could you also advise what's the recommended way to install groovy console in AEM as Cloud ? In old deployments we just installed a zip package via crx manager but it seems that this is not an option for AEM as a Cloud.  

 

I also wonder whether there is a recommended approach for handling content migrations and updates for AEM as a Cloud service?

 
AEM aem as a cloud service content groovy migration

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

06-04-2021

I tried to run it on the author on cloud service and it worked... The configurations for which we need to get into the system console can be done via OSGi so should not be a problem... For publisher just need to make sure /apps/groovyconsole.html accessible via dispatcher and the validator doesn't complain about it.

 

Check [1] for the groovy code and you will have to include this code as part of your cloud manager deployment.

 

[1] https://github.com/CID15/aem-groovy-console