Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

add lastEvent timestamp to event #34

Open
Ingvord opened this issue Oct 25, 2017 · 2 comments
Open

add lastEvent timestamp to event #34

Ingvord opened this issue Oct 25, 2017 · 2 comments

Comments

@Ingvord
Copy link
Member

Ingvord commented Oct 25, 2017

We could have a request like this:
"https://mstatus.esrf.fr:443/tango/rest/rc4/hosts/tangorest01.esrf.fr/10000/devices/sys/mcs/facade/attributes/state/change?timeout=30000&lastEvent=1507277908»
… which would return the first event received after the provided timestamp (if any), or wait until the timeout expires.

@Ingvord
Copy link
Member Author

Ingvord commented Oct 25, 2017

Sounds reasonable to me. This can be done in rc4 as it does not break compatibility

@Ingvord
Copy link
Member Author

Ingvord commented Nov 17, 2017

As actual request is more complicated then just providing a single value but a buffer I reopen this one.

  • What we need is to add a new end point: attr/change/buffer?[limit=100]
  • Define Tango server attribute - maxEventBuffer

@Ingvord Ingvord reopened this Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant