Web UI
The Web UI microservice provides the following user interfaces:
-
Network Discovery
-
NPM Threshold Management
-
Device Object Monitoring
You must deploy it, along with the Web API microservice, to use these UIs.
Web UI Prerequisites
Before deploying the microservice, confirm that a microservice cluster is set up. See Microservice Cluster Setup.
Deploying Web UI
To deploy the microservice, run the following commands:
su - assure1
export WEBNAMESPACE=a1-web
export WEBFQDN=<WebFQDN>
a1helm install <microservice-release-name> assure1/web-ui -n $WEBNAMESPACE --set global.imageRegistry=$WEBFQDN
In the commands:
-
Note that you must deploy this microservice to the a1-web namespace.
-
<WebFQDN> is the fully-qualified domain name of the primary presentation server for the cluster.
-
<microservice-release-name> is the name to use for the microservice instance. Oracle recommends using the microservice name (web-ui) unless you are deploying multiple instances of the microservice to the same cluster.
You can also use the Unified Assurance UI to deploy microservices. See Deploying a Microservice by Using the UI for more information.
About Browser Logging for Web UI Interfaces
All interfaces provided by the Web UI microservice support browser-based logging to assist with troubleshooting and debugging. Browser logging uses a shared logging framework and provides configurable logging levels.
Logging Levels
The following logging levels are available:
| Level | Output |
|---|---|
| trace | trace, debug, info, warn, error |
| debug | debug, info, warn, error |
| info | info, warn, error |
| warn | warn, error |
| error | error |
The configured logging level acts as a minimum severity threshold. Messages at the configured level and all higher-severity levels are logged.
The default logging level is warn.
Log messages use the following format:
[LEVEL] scope - message
Setting the Browser Logging Level
To set the browser logging level for the current browser session, open the browser developer console and run the following command:
document.cookie = "ua_log_level=<level>; path=/go/ui; SameSite=Lax";
where <level> is any supported logging level. See Logging Levels for the list of all supported logging levels.
Disabling Logging
To remove the logging level override for the current browser session, run the following command:
document.cookie = "ua_log_level=; path=/go/ui; max-age=0; SameSite=Lax";