/homer-view-react

Experimental React Viewer for HEP APIs

Primary LanguageJavaScriptMIT LicenseMIT

HOMER-View

Experimental Stand-Alone React Viewer for HOMER API 7.x

ezgif com-optimize 24

Requirements

Installation

  1. Clone this repository
  2. cd homer-view-react
  3. Run npm install to install dependencies
  4. Run npm run build to build application
  5. Start the development server npm run start
  6. Access the application at http://localhost:3000/

Manual Configuration (not required for docker)

  1. copy the example file from example/view-config.js to src/config/index.js
  2. copy the example file from example/proxy-config.js to proxy/config.js
  3. open proxy/config.js and configure your HOMER API parameters (API url, username and password)
  4. start proxy: cd proxy; npm install && npm start

Docker

See the example folder for a working example

URL Parameters

The Application accepts the following URL parameters defining search settings:

  • from: start time in milliseconds
  • to: stop time in milliseconds
  • callid: callid string or array
  • tabs: visibile tabs, options
    • messages
    • qos
    • flow
    • logs
    • export

Example

  • http://localhost:3000/?from=1550706099000&to=1550707799000&callid=8afhjq@127.0.0.1&tabs=messages,qos

Made by Humans

This Open-Source project is made possible by actual Humans without corporate sponsors, angels or patreons.
If you use this software in production, please consider supporting its development with contributions or donations

Donate