Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Updating OSGi configuration for running AEM cloud instance

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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/deploy...

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

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/deploy...