vault-upgrade-hook icon indicating copy to clipboard operation
vault-upgrade-hook copied to clipboard

Make vault-upgrade-hook compatible to AEMaaCS

Open ghenzler opened this issue 5 years ago • 3 comments

Since the package install hook event is not working for this use case, a content marker will have to be used (similar to what the implementation in https://github.com/Netcentric/accesscontroltool/issues/405 does)

ghenzler avatar Mar 03 '20 15:03 ghenzler

Which event is not working? We are talking here about mutable parts of the repository which are touched/upgraded/migrated only once. Obviously this package should be installed only when the right content is mounted in the AEM instance.

kwin avatar Jun 03 '20 17:06 kwin

Correct me if Im wrong but basically if we deploy this alongside a package containing mutable content we should be good to run groovies on mutable content just fine (obviously you should not try to modify /apps with a groovy script)

tommix1987 avatar Feb 09 '21 22:02 tommix1987

@tommix1987 The problem is that install hooks on mutable content packages are not supported (details in https://github.com/Netcentric/aem-cloud-validator#prevent-using-install-hooks-in-mutable-content-packages). Also the Groovy Console is currently not compatible with AEMaaCS either (https://github.com/CID15/aem-groovy-console/issues/1

kwin avatar Feb 10 '21 11:02 kwin