If I configure from OSGi bundle configuration console , configuration files is stored under "/apps/system/config" - -
1) Does the configuration under config folder is applied for both author and publish instances?
2) If yes then how will they we connected?
Solved! Go to Solution.
Views
Replies
Total Likes
raghava joijode-324710 wrote...
If I configure from OSGi bundle configuration console , configuration files is stored under "/apps/system/config" - -
1) Does the configuration under config folder is applied for both author and publish instances?
Yes it applies to both. In case you want for specifically for author. Create a folder /apps/<projectName>/config.author
& store the config there.
2) If yes then how will they we connected?
It is connected through run mode. If no run mode specified /config applies to globally for all run mode.
Views
Replies
Total Likes
Hi, Raghava
Here are some links you can refer to this question. They explained it well.
http://adobeaemclub.com/osgi-configuration-management-aem/
https://blog.kristianwright.com/2013/08/21/aem-best-practice-osgi-configurations/
Thanks,
Vamsi
Views
Replies
Total Likes
Views
Replies
Total Likes
Hi, Raghava
1) Does the configuration under config folder is applied for both author and publish instances? ----- Yes (If no runmode specified.)
- First of all, these node will be created when you update your configurations through system console.
- If you configure one configuration in author instance doesn't mean that it will create node in publish instance. You can make a package and deploy it into publish.
- These are not runmode specific. If you package them on author and deploy into publish instance, then the configuration on the publish instance will be updated with what you have on author. You can make configuration using runmode like config.author, config.publish to apply for specific runmode.
- Without runmode specified the configurations are applied to any environment if they installed through package manager.
2) If yes then how will they we connected?
- Use specific runmode to make different configuration available for publish and author.
Hope this helps.
Thanks,
Vamsi
Views
Replies
Total Likes
raghava joijode-324710 wrote...
If I configure from OSGi bundle configuration console , configuration files is stored under "/apps/system/config" - -
1) Does the configuration under config folder is applied for both author and publish instances?
Yes it applies to both. In case you want for specifically for author. Create a folder /apps/<projectName>/config.author
& store the config there.
2) If yes then how will they we connected?
It is connected through run mode. If no run mode specified /config applies to globally for all run mode.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies