Open in app

Sign In

Write

Sign In

Nuray Fahri
Nuray Fahri

170 Followers

Home

About

Jan 16

HTTP 502 bad gateway and changing Proxy timeout in CCv2

Recently we had issue with one of our endpoints which usually takes a lot time to return response. This is expected behaviour for that endpoint but the issue was that in CCv2 we started receiving 502 Bad Gateway errors as a response. As we know HTTP 502 bad gateway indicates…

Sap

2 min read

HTTP 502 bad gateway and changing Proxy timeout in CCv2
HTTP 502 bad gateway and changing Proxy timeout in CCv2
Sap

2 min read


Jan 5

Achieving Session affinity in CCv2

In CCv2 backend is running on multiple nodes which means that requests from our JS Storefront(Spartacus, React or any other) can hit different nodes each time if we do not configure session affinity(sticky session). …

Sap

3 min read

Achieving Session affinity in CCv2
Achieving Session affinity in CCv2
Sap

3 min read


Nov 25, 2022

Managing logs in Kibana — CCV2

In CCv2 there is a centralized logging mechanism: Kibana. Kibana is visualization platform working with Elasticsearch which provides UI to work with logs. Log retention currently is 100GB or 30 days for development environments and 100GB or 90 days for staging or production. …

Sap

5 min read

Managing logs in Kibana — CCV2
Managing logs in Kibana — CCV2
Sap

5 min read


Sep 18, 2022

Issue with Cloud Hot Folders after deployment with Rolling Update

It happens very often in CCV2 after deployment with Rolling Update mode(zero downtime) that files in Hot Folder are getting stuck(not processed). After deployments, we need to make sure that Cloud Hot Folders are not running in different node than backgroundProcessing node. Let me share with you how we can check and fix the issue. First, we need to login into /HAC console…

Sap

2 min read

Issue with Cloud Hot Folders after deployment with Rolling Update
Issue with Cloud Hot Folders after deployment with Rolling Update
Sap

2 min read


Sep 16, 2022

Builds are failing in CCV2 because of changes in the builder logic

From yesterday(15.09.2022) our builds in CCv2 are failing because of recent changes from SAP in the builder logic. Error: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.toString()" because "charSequence" is null at com.google.common.hash.AbstractHasher.putString(AbstractHasher.java:55) at com.google.common.hash.AbstractHashFunction.hashString(AbstractHashFunction.java:44) at de.hybris.ccv2.image.hash.generator.HashGeneratorUtils.getHashForString(HashGeneratorUtils.java:46) at de.hybris.ccv2.image.hash.generator.DockerImageHashGenerator.getBaseImageHash(DockerImageHashGenerator.java:45) at de.hybris.ccv2.image.hash.generator.JsAppsImagesHashGenerator.putImageSpecificHashData(JsAppsImagesHashGenerator.java:49) at de.hybris.ccv2.image.hash.generator.DockerImageHashGenerator.generateHash(DockerImageHashGenerator.java:38) at de.hybris.ccv2.image.ProjectDockerImage.generateHashCode(ProjectDockerImage.java:143) at de.hybris.ccv2.image.ProjectDockerImage.getHash(ProjectDockerImage.java:48) at de.hybris.ccv2.image.ProjectDockerImage.isAvailableInTargetRegistry(ProjectDockerImage.java:64) at…

Sap

1 min read

Sap

1 min read


Jul 17, 2021

Sending email in SAP Commerce(Hybris)

Every store needs to send emails for order approval, registration, password reset and so on. Email sending is the one of the major and longest process in SAP Commerce(Hybris). In this article i will try to explain how to: Send email; Send email with attachments; Send email to multiple addresses. Sending email in SAP Commerce(Hybris) …

Java

5 min read

Sending email in SAP Commerce(Hybris)
Sending email in SAP Commerce(Hybris)
Java

5 min read


Jun 6, 2021

Configuration properties and customizing platform code in SAP Commerce(Hybris)

Configuration Properties SAP Commerce(Hybris) provides a flexible way to manage properties in our projects. It relies on three essential configuration files: project.properties file in the platform: it is located in ${HYBRIS_BIN_DIR}/platform and it contains the default global properties(settings) for the whole Hybris platform. It is not recommended(not good) to edit this file. …

Hybris

3 min read

Configuration properties and customizing platform code in SAP Commerce(Hybris)
Configuration properties and customizing platform code in SAP Commerce(Hybris)
Hybris

3 min read


Apr 29, 2021

What is AOP? How we can use AOP in SAP Commerce(Hybris) to measure execution time of methods?

Aspect-oriented programming(AOP) is a programming paradigm which breaks down program logic into distinct parts so-called concerns. The key unit of modularity in OOP is the class, whereas in AOP the unit of modularity is the aspect. Aspects enable the implementation of crosscutting concerns such as- transaction, logging, not central to…

Java

3 min read

What is AOP? How we can use AOP in SAP Commerce(Hybris) to measure execution time of methods?
What is AOP? How we can use AOP in SAP Commerce(Hybris) to measure execution time of methods?
Java

3 min read


Apr 1, 2021

Hot Folders in SAP Commerce(Hybris)

Hot Folder is one of the best way to import and feed data into Hybris. It serves as staging area which is continuously monitored and when files are copied or dropped into it, they are automatically processed. It is based on Spring integration framework. Why we use Hot folder? automize…

Java

4 min read

Hot Folders in SAP Commerce(Hybris)
Hot Folders in SAP Commerce(Hybris)
Java

4 min read


Mar 13, 2021

Interceptors in SAP Commerce(Hybris)

Interceptors are called when we perform an operation on a particular object/model. They can be called at different lifecycles of ModelService object.

Hybris

5 min read

Interceptors in SAP Commerce(Hybris)
Interceptors in SAP Commerce(Hybris)
Hybris

5 min read

Nuray Fahri

Nuray Fahri

170 Followers

Development Lead @Coca-Cola HBC

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech