Hi
I am trying to automate the OSGI config for sling distribution in author. the configuration is "Apache Sling Distribution Agent - Sync Agents Factory" which holds hardcoded values of publisher IP's. In a failover scenario, while bringing up new publisher this config has to be changed with new publisher ip added and exisiting ip removed.
is there a better way to dynamically update this OSGI value?
through CURL or to make a placeholder to read currently connected publisher instance, get the IP and update it here. Not wanting any java codes. But want to try it either in CURL or with any better approach.