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

Agency: Additional event_types #274

Closed
lionel-panhaleux opened this issue Mar 26, 2019 · 4 comments
Closed

Agency: Additional event_types #274

lionel-panhaleux opened this issue Mar 26, 2019 · 4 comments
Assignees
Labels
Agency Specific to the Agency API enhancement New feature or request
Milestone

Comments

@lionel-panhaleux
Copy link
Contributor

Some sensible transitions are missing from event_types.

A vehicle can be put back in the street at the end of a trip, a maintenance or a rebalancing, but be unavailable for the time being. I propose to add trip_end_available and provider_drop_off_unavailable event types (this may not be the best naming for these transitions, do not hesitate to provide alternatives)

This is especially true for electrically powered devices, as it makes sense for the vehicles to be unavailable by default, until the battery status is checked and the provider makes sure the vehicle can be made available again. For now, BlueLA has to send successive events on the agency API to express this, which is not ideal.

I'll attach a PR to this issue, unfortunately I have no access to the source file for the state machine diagram and was unable to provide a new diagram along. Including the source of the diagram may be of use for other contributors ?

What do you think ? Thanks in advance for your comments.

@marie-x
Copy link
Collaborator

marie-x commented Mar 27, 2019

It's worth considering. For 0.3.x, we will stick with using multiple events to capture these types of transitions. We should gather feedback from all the providers before we add additional events.

@hunterowens hunterowens added this to the 0.4.0 milestone Jun 28, 2019
@hunterowens hunterowens modified the milestones: 0.4.0 , 0.4.1 Oct 16, 2019
@sarob sarob added Agency Specific to the Agency API enhancement New feature or request labels Dec 19, 2019
@Retzoh
Copy link
Contributor

Retzoh commented Jan 3, 2020

I can follow up on this

@Retzoh
Copy link
Contributor

Retzoh commented Feb 26, 2020

@sarob as discussed in the city-services working group, this issue should be moved to the 0.5.0 milestone.

It should hopefully be solved by #271 .

@thekaveman thekaveman modified the milestones: 0.4.1, Future Feb 26, 2020
@schnuerle
Copy link
Member

I believe this is resolved with #271 for release 1.0.0. Please let us know if this does not address your concerns.

@schnuerle schnuerle modified the milestones: Future, 1.0.0 Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agency Specific to the Agency API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants