December 28, 2020
Estimated Post Reading Time ~

How to Generate Curl Command to Update OSGI Configurations

Micro-Frontend, written in ReactJS 16.14.0.

This tool helps generate a curl command used for updating OSGI configurations directly from the terminal, bash, or Window’s console. It’s a good idea to read the micro-front-end tool’s notes, described at the bottom of the page, before using the tool.
AEM Curl Generator for Updating OSGI Configs

This tool is free to use. The generated curl command and user inputs are never stored in any way from sourcedcode.com.reset fields


Generated Curl Command:
curl -u admin:admin 'http://localhost:4502/system/console/configMgr/com.day.cq.mailer.DefaultMailService' --data-raw 'apply=true&action=ajaxConfigManager&%24location=&smtp.host=smtp.gmail.com&propertylist=smtp.host'

OSGI Console Url:
http://localhost:4502/system/console/configMgr/com.day.cq.mailer.DefaultMailService

Notes:
  • This tool is free to use. The generated curl command and user inputs are never stored in any way from sourcedcode.com.
  • OSGI array configurations can be achieved by adding another keypair entry with the same key name as the previous key pair.
  • Unfortunately, you cannot update a single configuration key for a given OSGI configuration. All the properties need to be identified. If other OSGI configuration keys are not identified, then the curl command will actually wipe out all the missing configurations.
  • You can share the configurations with your colleagues by clicking on the “Get Above Sharable Configuration Url” button.
  • I created this tool to help my colleagues quickly generate curl commands to update the OSGI configuration to free each other’s time.
Source:


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.