A web-based dashboard for CEBAF RF
5.6K
A Java EE 8 web application for high level display of the performance of CEBAF's RF and related systems. This application is build using the Smoothness web template.

The RF Dashboard summarizes data from a variety of sources including the CED, MYA, custom data collection scripts, and the LEM "what-if" tool called LEMSim. The web interfaces provides a variety of charts, reports, and tables that aid in understanding the performance of CEBAF's RF system at a point in time and identifying changes in performance over time.
git clone https://github.com/JeffersonLab/rfdashboard
cd rfdashboard
docker compose up
Note: Login with demo username "tbrown" and password "password".
Note: Logout functionality does not work unless you update the KEYCLOAK_FRONT_END_SERVER in the deps.yml and docker-compose.yml to the hostname of your development machine due to an upstream issue. More comments in those files.
See: Docker Compose Strategy developed by Ryan Slominski.
This application requires a Java 11+ JVM and standard library in addition to a Java EE 8+ application server. This application has been developed and tested with Wildfly.
NOTE: Two of the service dependencies are not met by deps.yml, MYA/myquery and CED. For the application to work, you will need to connect to a JLab network either directly or through the VPN. Some docker configuration is left commented out for the mya/myquery dependency as that service has been containerized, but interactions are more flexible over the VPN. Since CED still requires the VPN, it makes more sense to leverage the "real" service.
Wildfly must be pre-configured before the first deployment of the app. The wildfly bash scripts can be used to accomplish this. See the Dockerfile for an example.
Uses the Smoothness Environment Variables plus the following application specific:
| Name | Description |
|---|---|
| RFD_CED_URL | (Optional) Base URL for the CED server. Defaults to https://ced.acc.jlab.org |
| RFD_MYQUERY_URL | (Optional) Base URL for the myquery server. Defaults to https://epicsweb.jlab.org |
Note: The update-cache.bash script is intended to be run from cron every morning to prime the cavity cache for that day.
The RF Dashboard app requires an Oracle 18+ database with the following schema installed. The application server hosting the RF Dashboard application must also be configured with a JNDI datasource.
This project is built with Java 17 (compiled to Java 11 bytecode), and uses the Gradle 7 build tool to automatically download dependencies and build the project from source:
git clone https://github.com/JeffersonLab/rfdashboard
cd rfdashboard
gradlew build
Note: If you do not already have Gradle installed, it will be installed automatically by the wrapper script included in the source
Note for JLab On-Site Users: Jefferson Lab has an intercepting proxy
See: Docker Development Quick Reference
Content type
Image
Digest
sha256:3fed011e7…
Size
1.2 GB
Last updated
about 2 months ago
docker pull jeffersonlab/rfdashboard