Skip to content

HelgaMond/rest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Documentation Status

This project is the effort to define a standard REST API for Tango controls.

REST API is requested by the community and discussed in this forum thread

Please read about Tango REST API in the Tango documentation: link

This repository provides Java reference implementation which can be used for server/client development using Java:

Download

This is NOT A SERVER to setup Tango REST API server choose one of the implementations below:

Implementations:

  1. Java: mTangoREST.server Compatibility tests run result: Build Status
  2. C++: RestDS [TODO badge]

How to run the tests suite

$> git clone https://github.com/tango-controls/rest-api.git 
destination directory: rest-api
requesting all changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 2 changes to 2 files
updating to branch default
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
$> cd rest-api
$> mvn clean test \
    -Dtango.rest.url=http://localhost:8080/tango/rest \
    -Dtango.host=tango-cs \
    -Dtango.port=10000 \
    -Dtango.rest.auth.method=basic \
    -Dtango.rest.user={user} -Dtango.rest.password={password}

[INFO] Scanning for projects…
[…]
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.518 sec

Results :

Tests run: 13, Failures: 0, Errors: 0, Skipped: 0

[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 3.289 s
[INFO] Finished at: 2015-12-17T18:40:41+01:00
[INFO] Final Memory: 14M/490M
[INFO] ————————————————————————
$> ^_^

Packages

No packages published

Languages

  • Java 100.0%