Skip to content
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

[DRAFT] Add trips to agency #27

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

[DRAFT] Add trips to agency #27

wants to merge 2 commits into from

Conversation

marie-x
Copy link

@marie-x marie-x commented May 3, 2021

Draft, please review.

@avatarneil avatarneil marked this pull request as draft May 3, 2021 19:17
@@ -259,6 +260,56 @@ A standard point of vehicle telemetry. References to latitude and longitude impl

[Top][toc]

## Trips

The `/trips` endpoint is a subset of the similar endpoint in Provider, except it's push instead of pull. It receives trip information that is above and beyond what is encoded in the register, event and telemetry streams.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it only a subset? Might be good to include in the spec.

Copy link

@avatarneil avatarneil May 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's what the second sentence is saying, but maybe there needs to be more language to elaborate upon it. Provider doesn't have a notion of non-event telemetry (closest thing is route in the Provider /trips endpoint), and it also doesn't have an always-present vehicle registry that can be polled (the Provider /vehicles endpoint only returns vehicles in the PROW), so there are some additional pieces of info that need to be in the Provider /trips endpoint that are unnecessary to send to Agency because Agency already has them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants