ContextHub provides a diagnostics page where you can see an overview of the ContextHub framework. To open the page, go to the contexthub.diagnostics.html
page of your AEM author instance, for example:
http://<host>:<port>/conf/<tenant>/settings/cloudsettings/default/contexthub.diagnostics.html
The ContextHub Diagnostics page provides information about the stores and UI modules that have been created, the client library folders that are loaded, and links to useful pages.
In order for diagnostic information to be returned, debug mode must be enabled, otherwise the diagnostics page will be blank. Please see this document for details on how to enable debug mode.
For ContextHub configurations still located under their legacy paths, the locaiton of the diagnostics page is http://<host>:<port>/libs/settings/cloudsettings/legacy/contexthub.diagnostics.html
.
The Stores section lists all the ContextHub stores that have been configured. Each item in the list consists of the following information:
The Modules section lists all the ContextHub UI modules that have been configured. Each item in the list consists of the following information:
The Clientlibs section lists all of the client library folders that ContextHub has loaded. The client libraries are categorized:
The URLs section contains links to ContextHub features:
Configuration editor: Opens the ContextHub Configuration page where you can configure stores, UI modes, and UI modules.
Configuration of ContextHub modules: Opens the /etc/cloudsettings/default/contexthub.config.kernel.js file, which contains the JavaScript object representation of the ContextHub store configurations.
Configuration of ContextHub UI: Opens the /etc/cloudsettings/default/contexthub.config.ui.js file, which contains the JavaScript object representation of the ContextHub UI mode configurations.
kernel.js: Opens the /etc/cloudsettings/default/contexthub.kernel.js file, which contains the source code of the client libraries that implement the ContextHub framework, the segment engine, and store types.
ui.js: Opens the /etc/cloudsettings/default/contexthub.ui.js file, which contains the source code of the client libraries that implement the ContextHub UI and UI module types.
style.css: Opens the /etc/cloudsettings/default/contexthub.styles.css file, which contains the CSS styles for the ContextHub UI and UI modules.