Expand my Community achievements bar.

Groovy console in AEM as a Cloud

Avatar

Level 2

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?

 
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Employee Advisor

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

 

Avatar

Level 2

Thanks for your response. How did you install groovy console on author ? Did you use filevault-package-maven-plugin for that with groovy all package (see snippet below)?

 

                        <embedded>
                            <groupId>org.cid15.aem.groovy.console</groupId>
                            <artifactId>aem-groovy-console-all</artifactId>
                            <target>/apps/mysite-vendor-packages/groovyconsole/install</target>
                        </embedded>

 

Also it seems that groovy console is not yet compatible with AEM as a Cloud see https://github.com/CID15/aem-groovy-console/issues/1

 

 

Avatar

Level 9

Did you ever manage to get groovy script console to work for EAM cloud?  We have been tryting to get it installed via mvn, but have not managed yet.

Avatar

Community Advisor

The latest version 17.x is compatible with AEM CLoud. https://github.com/CID15/aem-groovy-console 

 

Details on how to set it up. https://lucanerlich.com/docs/aem/groovy-console/


Aanchal Sikka