Updating OSGi configuration for running AEM cloud instance | Community
Skip to main content
bhansa
Level 2
Apr 1, 2022 8:05 AM UTC
Solved

Updating OSGi configuration for running AEM cloud instance

Hi, Hope everybody is doing well.

 

I wanted to know if we have a way to update OSGi configs such as HTML Library manger via some API.

 

Why API? Since in ACS we do no have access to /system/console and cannot update the immutable data(please correct if I am wrong). I would like to know a way of updating these configurations without any builds.

 

Thanks,

Bharat Saraswat

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Apr 3, 2022 10:39 AM UTC

First of all, dynamic reconfiguration (on application level) in AEM as a Cloud Service is not possible. OSGI configuration is considered pretty much the same as code. It should go through version control.

 

But there are ways to modify OSGI configuration without running a deployment pipeline. You can specify OSGI values to be read from environment variables [1], and you can change these variables via aio cli tooling.

 

[1] https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploying/configuring-osgi.html

 

1 reply

joerghoh
joerghohAccepted solution
Employee
Apr 3, 2022 10:39 AM UTC

First of all, dynamic reconfiguration (on application level) in AEM as a Cloud Service is not possible. OSGI configuration is considered pretty much the same as code. It should go through version control.

 

But there are ways to modify OSGI configuration without running a deployment pipeline. You can specify OSGI values to be read from environment variables [1], and you can change these variables via aio cli tooling.

 

[1] https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploying/configuring-osgi.html

 

Translate