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

[Jormungandr] Implement pt journey fare #4089

Merged
merged 12 commits into from
Sep 20, 2023

Conversation

xlqian
Copy link
Member

@xlqian xlqian commented Aug 11, 2023

No description provided.

@xlqian xlqian force-pushed the jormungandr_implement_pt_journey_fare branch from 6b84f85 to 503c707 Compare September 4, 2023 12:12
@xlqian xlqian marked this pull request as ready for review September 5, 2023 13:56
@xlqian xlqian force-pushed the jormungandr_implement_pt_journey_fare branch 3 times, most recently from 0bbb49b to 00f9d42 Compare September 13, 2023 15:32
@xlqian xlqian requested a review from pbougue September 14, 2023 15:07
Copy link
Contributor

@pbougue pbougue left a comment

Choose a reason for hiding this comment

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

After discussion, the assumed behavior for this feature is gonna be:
"trigger (or not) a fare-computation, no matter if it was already computed".

Which means that the trigger-fare and pt-journey planner params will have to be maintained/used at the same time.

So it may lead to (bold are "weird" but assumed):

  • double fares in result (case of Kraken journey + trigger)
  • single fares in result (case of Loki journey + trigger, or Kraken + no-trigger)
  • no fares in result (case of Loki journey + no-trigger).

This explains:

@xlqian xlqian force-pushed the jormungandr_implement_pt_journey_fare branch from e60378f to 22902c1 Compare September 19, 2023 14:36
@sonarcloud
Copy link

sonarcloud bot commented Sep 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

90.5% 90.5% Coverage
0.0% 0.0% Duplication

@xlqian xlqian merged commit a4545a7 into dev Sep 20, 2023
9 checks passed
@xlqian xlqian deleted the jormungandr_implement_pt_journey_fare branch September 20, 2023 07:22
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.

2 participants