Hybris Run Time Config File

Hybris Logo

Starting from SAP COMMERCE 1808 Release, Hybris comes with a new tip to make properties update much easier when the server is already up and running. It’s useful most of the time for dev environment where we need to update a bunch of properties at once.

You need to add the following lines to your local.properties :

#Required (put path of your properties file)
runtime.config.file.path=/..../hybris/config/your_runtime_update_config.properties

If you want to check either your properties file is loaded or not you have to enable debug log on de.hybris.platform.util.config.FileBasedConfigLoader

#Optional
log4j2.logger.FileBasedConfigLoader.name=de.hybris.platform.util.config.FileBasedConfigLoader
log4j2.logger.FileBasedConfigLoader.level=DEBUG

And you will get a log like this :

DEBUG [RuntimeConfigRefreshRunner (master)] [FileBasedConfigLoader] Runtime config watched file: /..../hybris/config/your_runtime_update_config.properties
DEBUG [RuntimeConfigRefreshRunner (master)] [FileBasedConfigLoader] dynamic properties file changed: false [file modifiedTime: 1567598757000, lasLoaded: 1567670610890]
0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
sri
sri
1 year ago

Hi ,
Can you please add payment integration steps in hybris after check out,
please

Punisher
Punisher
11 months ago

Worth mentioning that this feature is Officially supported starting from SAPCO 1808 Release

ayousri
ayousri
2 months ago

thank you very much

5
0
Would love your thoughts, please comment.x
()
x