AEM4BEGINNER blog is for Beginners who are interested in learning Adobe Experience Manager (AEM) aka Adobe CQ5 from basics. The Information provided in this blog is for learning and testing purposes only. Here, I have posted the information which I know or gathered from different sources.
But for OSGi configs, there is no JSON API is available to fetch OSGi config as JSON response, though plain text representation of configuration can be seen at http://host:port/system/console/status-Configurations with web console access.
Results can be filtered using text and/or repository based configurations.Text enter in ‘Enter keyword‘
look for pid, factoryPid and Properties, if anyone of matches then
result returns for that OSGi config.Filter dropdown had two options All and Repository based.if Repository based selected then all the repository based configs will be returned in the combination of text entered in ‘Enter keyword‘ field otherwise all configs will be returned in the combination of text entered in ‘Enter keyword‘ field. Note: Result filtering is taking place at the client
side, there is no request sent to the server to fetch new results.OSGi
configs only getting fetched once on page load and filtering/sorting is
done at client side.
Filtered Result – Repository basedFiltered Result – keyword + Repository basedFiltered Result – Keyword
Sorting
Results can be sorted either by pid or Repository based config.
Properties
When clicking on more info icon for OSGi config a popup will be shown which contains the following info:
Pid
factoryPid – if the config is a type of factory config
Change count
Repository Paths – if the config is repository based(sling: OsgiConfig)
Properties
Conclusion
This dashboard is an example of to consume API and can be used in
non-prod instance to check OSGi configs if the users don’t have access
to the web console but the user should have read access at /apps, /conf
and /libs (or alternatively sub-service session can be used in the
servlet while executing a https://aem.adobemarketingclub.com/osgi-config-json/query to fetch repository based config). Source: https://aem.adobemarketingclub.com/osgi-config-json/
Byaem4beginner
No comments:
Post a Comment
If you have any doubts or questions, please let us know.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.