A note from 2026: This article was published in 2016, when the platform was still branded as hybris. SAP Commerce Cloud has changed significantly since then, especially in cloud operations and security practices, so runtime bean modification tools like this should be validated carefully against your target version and environment.

Overview

This tool is part of my hybris Runtime Developer tools package. It shows one-page, all-in-one information about hybris beans using the command-line interface.

Features

Usage

Command-line interface

The command-line app is a console wrapper for the API. See the API for details.

Usage:

Change the value of a property of a bean to a value:

./hybrisBeans.sh -b bean -n property -v value

Show all hybris beans:

./hybrisBeans.sh

Parameters

Parameter Description Example
–? Help and available options. Only for the console version.
bean (-b) Shows/updates the bean information. bean=myProductRaoPopulator
propertyname (-n) Name of the bean property to change. propertyname=categoryService
propertyvalue (-v) New value of the bean property. propertyvalue=<defaultCategoryService>

propertyvalue=13

Changing any property of any bean:

#bash hybrisBeans.sh -b myProductRaoPopulator -n categoryService -v "<defaultCategoryService>"

Console output after changing a bean property

You can see the list of bean methods here:

#bash hybrisBeans.sh -b indexerService

Console output showing hybris bean methods

API

curl "https://electronics.local:9002/tools/beans/bean/myProductRaoPopulator?propertyName=categoryConverter&propertyValue=<defaultCategoryRaoConverter>" -k 2>/dev/null

Video

Limitations

Download

The extension is available by request. E-mail: Rauf_Aliev@epam.com. Skype: rauf_aliev

© Rauf Aliev, August 2016