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

[FEAT]: street_network backend configuration by user #4235

Merged
merged 8 commits into from
Apr 9, 2024

Conversation

kadhikari
Copy link
Contributor

Street network backends are stored in the table streetnetwork_backend.
They are used in the following attributes of the table instance:

  • street_network_bss
  • street_network_ridesharing
  • street_network_taxi
  • street_network_car_no_park
  • street_network_car
  • street_network_walking
  • street_network_bike
    So a street_network backend is configured for an instance (coverage) + mode.

This feature will allow to configure a street_network backend for a user + mode.

  • To have minimum time delay while fetching street_network backend for a user + mode, an attribute has_sn_backend is used.
  • The new table sn_backend_authorization is excluded from automatic join while getting user for each request to navitia.
  • Attribute user.has_sn_backend is manipulated by /post and /delete on api /sn_backend_authorizations
  • In the api /users, sn_backend_authorizations will be present.

For more details: https://navitia.atlassian.net/browse/NAV-2800

@kadhikari kadhikari requested review from SGrenet and Barry845 March 8, 2024 08:40
Copy link

sonarqubecloud bot commented Apr 9, 2024

Please retry analysis of this Pull-Request directly on SonarCloud

@kadhikari kadhikari merged commit e04d674 into dev Apr 9, 2024
9 checks passed
@kadhikari kadhikari deleted the feat_streetnetwork_backend_by_token branch April 9, 2024 15:15
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