Author Archives: Rauf Aliev
In this article, I share a bunch of the scripts I use in my work. All these scripts are used as templates for something special. The first script is used to convert FlexibleSearch queries into raw SQL. The second script shows all hybris types that use the particular type. The third one will help you with executing DDL queries on the database server remotely (such as ALTER TABLE, for example). I also provide the script for printing the database table structure and the indexes defined for it.
I updated the upgrade map for SAP hybris Commerce.
Using this reference you’ll be able to find a list of the capabilities you get if you upgrade your hybris from a version X to a version Y, grouped by a topic.
The script I present today is designed for finding the references for any particular item in hybris. It can be useful if you want to figure out if the product or image or any other hybris object is used somewhere in the system.
Today I present a groovy script for creating a Flexible Search query for any hybris type. You can use the generated query as a template for troubleshooting or data reconciliation. It automatically resolves the RelationType and ComposedType attributes to make the result set human readable.
In this article, I share my scripts for hybris logging subsystem (changing a log level for any class on the fly) and intercontext bean manipulation. For the second topic, I introduce the scripts for printing a list of all beans of the particular context (such as storefront), executing a method from the any bean, including RequestMapping-defined page controllers, and printing all URLs these controllers are associated with. These manipulations help with troubleshooting and early identifying of misconfiguration issues.
The Groovy console is a very handy tool to develop and run scripts inside hybris without touching the source code. It is a very powerful tool for debugging purposes, especially if you need to troubleshoot the remote system. In this article, I collected some of the scripts I use regularly in my work.
SAP HYBRIS: Thinking Outside the Box. PART 6 [VIDEO, RUSSIAN + ENGLISH]. Page Fragment Caching. Varnish. Nginx+Memcached. PDF reporting.
In this article, you will find the SIXTH part of the 3-hour presentation given by Rauf Aliev (EPAM SAP hybris Solution Architect) in SAP Moscow on Sep 29, 2017.
In this video, I explain the details of the two solutions, Page Fragment Caching (including the variants with Varnish and Nginx+Memcached) and backend PDF generation using the templates.