Hi
I want to add some OSGi configurations through environment variables in Adobe Managed Services (AMS). While I see an option to add environment variables in Adobe Cloud Service, I couldn’t find a similar feature in AMS. Could you suggest the best way to achieve this in AMS?
Thanks!
Views
Replies
Total Likes
Hi @ayetukur ,
As far as I know, there is no such option with AMS and you can only use the pipeline variables. I will be happy to be wrong, because we miss this feature as well.
Views
Replies
Total Likes
Thank you for the reply @user62746 ,
If i use the pipeline variables can those values add to the osgi configs?,
I see the pipeline variable will apply for pom xml .
Please suggest
Views
Replies
Total Likes
AMS is built on traditional virtualized infrastructure (AEM instances on VMs in Adobe's managed cloud env like AWS or Azure). OSGi configurations here are part of deployment package which remain static until the deployments.
You can try the below workaround for AMS by using CAConfigs. (Context-Aware Configurations). You can define the configurations at specific levels in the repo. (site, tenant or environment). You can use the CAConfig API to retrieve the configuration dynamically.
You can refer Apache Sling Context-Aware Configuration for more details
Hope this helps!
Regards,
Rohan Garg
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies