(ex TangoWebapp) A general purpose Tango web application that provides the interface between the Tango control system and the scientific users who define and calibrate their experiments
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis
WEB-INF
apps
controllers
docs
engines
images
jmvc
models
resources
stylesheets
test
views
.gitignore
.travis.yml
LICENSE
README.md
changelog.txt
index.jsp
jmvcc

README.md

logo

Codacy Badge codebeat badge Build Status

Docs Documentation Status

release

This project is an attempt to implement Tango Controls Roadmap Feature Request #6, see Tango Controls Roadmap

SonarCloud

Quality gate

Maintainability Reliability Security

Lines Of Code Technical debt Duplicate lines

Bugs Vulnerabilities Code smells

Documentation

WaltzPlatform API reference

Waltz docs

Live demo

To run the live demo click on the image

User: tango-cs Pass: tango

Requirements

  • Tango Controls environment (tested on Tango 8 and Tango 9)
  • Tango REST Server that supports API spec version rc4 (tested on mtangorest.server-rc4-2.4)
  • Web server that can handle .war files (tested on Apache Tomcat 8)

Getting started

  1. Download the latest TangoWebapp.war file.
  2. Copy it into your webserver's web applications root folder, e.g. {CATALINA_HOME}/webapps
  3. Define a tomcat user who has the role "mtango-rest".
  4. Restart server
  5. Open browser and navigate to <your_host>/TangoWebapp
  6. Adjust TANGO_REST_URL (must point to a valid Tango REST server, e.g. http://{host}:{port}) and TANGO_HOST values in the left top corner of the app
  7. Press refresh button
  8. Explore your Tango devices...

Build

This project uses jmvcc for high level build operations:

$> ./jmvcc jmvc/clean
$> REST_API_PROTOCOL=[http|https] REST_API_HOST=[localhost] REST_API_PORT=[10001]  \
   TANGO_HOST=[localhost] TANGO_PORT=10000 \
   ./jmvcc jmvc/assemble

This requires jjs to be in the $PATH (is shipped with OpenJDK8 and later)

Resources

Videos

[1] UI and features presentation

[2] Tech stack presentation: TangoWebapp + Tango REST + Tango Controls

Slides

[1] TangoWebapp Insights, 32 Tango Users meeting, 2018

Implementation details