Hi There,
Is there a way in AEM we can update the OSGI config with groovy.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
I wouldn't want to be using the Groovy console to change any configurations in the OSGI console. The standard way to update custom code package configurations will be to place configuration under /apps/my-app/configs/*; a full tutorial here. https://helpx.adobe.com/uk/experience-manager/6-3/sites/deploying/using/configuring-osgi.html.
For automation, It's better to use a curl command, https://sourcedcode.com/blog/aem/tool-generate-curl-command-to-update-osgi-configurations, where you can write automation scripts to update your OSGI configurations.
I wouldn't want to be using the Groovy console to change any configurations in the OSGI console. The standard way to update custom code package configurations will be to place configuration under /apps/my-app/configs/*; a full tutorial here. https://helpx.adobe.com/uk/experience-manager/6-3/sites/deploying/using/configuring-osgi.html.
For automation, It's better to use a curl command, https://sourcedcode.com/blog/aem/tool-generate-curl-command-to-update-osgi-configurations, where you can write automation scripts to update your OSGI configurations.
If you have repository based configuration then only you should use groovy, otherwise use curl to update web console based osgi console.
Views
Likes
Replies