I have a scenario where I have a made a custom OSGi factory configurations.
.
So now I want a list of all these configs made from above OSGi config.
Is there any way to do that?
Solved! Go to Solution.
Views
Replies
Total Likes
Yes, you can do it with using ConfigurationAdmin's listConfigurations method , if you have permission to access those configs.
ConfigurationAdmin (Apache Felix Configuration Admin Service 1.2.4 API)
check below example, which gives all the logger configuration
aem63app-repo/GetFeaturesServlet.java at master · arunpatidar02/aem63app-repo · GitHub
You need to parse the output of "http://<host>:<port>/system/console/status-Configurations.txt" which will provide you a text file of all the configuration.
Views
Replies
Total Likes
Yes, you can do it with using ConfigurationAdmin's listConfigurations method , if you have permission to access those configs.
ConfigurationAdmin (Apache Felix Configuration Admin Service 1.2.4 API)
check below example, which gives all the logger configuration
aem63app-repo/GetFeaturesServlet.java at master · arunpatidar02/aem63app-repo · GitHub
Views
Likes
Replies
Views
Likes
Replies