New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Real time resources for agencies #26
Real time resources for agencies #26
Conversation
…ection URI with #changeTime to id event
…improved publication
@julianrojas87 I think I have fixed your last remarks, review? |
Given the last updates made to the code base, I will manually extract the contributions made on this PR and adapt them accordingly |
Fine for me! |
Small update on this one: we are thinking more thoroughly about the hypermedia design, and including a possibility for a new Linked Data Event Streams resource on top of the existing collections |
@pietercolpaert Linked Data Event Streams would make a nice fit here I think 👍 |
@DylanVanAssche While this pull request and the work behind your master thesis was instrumental to get to the LC2.0 specification, I think we will close this pull request in favour of #79, in which we implement a full-history polling interface for the connections with hypermedia descriptions that follow the LDES/TREE specifications. Would you be available to review the code they have so far? |
Sure! I think you mean #79 ? right? |
Yes! Edited ↑ |
This PR adds the
:agency/events
resource to the Linked Connections Server.If a client connects to the resource, the server will check if the client is:
hydra:next
properties to get the next page of events to get in sync with the server. ThelastSyncTime
is used to lookup the required page and add thehydra
metadata to it.Besides this resource, this PR also adds the possibility to cancel a complete trip based on its
tripURI
. If you supply astartingConnection
the trip can be cancelled from that connection until the end. If you don't supply this argument tocancelTrip(tripURI, agency, dataset, startingConnection=null)
, the whole trip will be cancelled from the beginning until the end.TO DO list finished:
hydra
metadata in there.