В #hybris с какой-то версии появилась Groovy-консоль, позволяющая выполнять код администратора на сервере с данными в памяти и БД. Очень мощная штука, которой можно все поломать или починить.
В статье я делюсь своими наколеночными скриптами на Groovy, которые упрощают траблшутинг и разработку.
– Display any file on the server
– Execute a command
– Show last N lines from the console log
– Execute a flexible search query
– Execute a raw SQL query
– Retrieve an item by PK
– Modifying objects
– Removing items
– Sending data by e-mail
– Importing IMPEX
– Print all properties of an object
– Print all methods of an object
– Print the hybris type tree
– Print hybris type stats
https://hybrismart.com/2017/11/23/useful-groovy-scripts-part-1/
https://hybrismart.com/2017/11/23/useful-groovy-scripts-part-1/
