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

Update Google Pubsub updater configuration #5927

Merged

Conversation

vpaturet
Copy link
Contributor

@vpaturet vpaturet commented Jun 24, 2024

Summary

This PR:

  • removes unused parameters in the Google PubSub SIRI updater,
  • documents the parameters,
  • adds a dedicated markdown page for this updater.

Removed parameters:

  • the parameter projectName is deprecated and removed. It is replaced by the now-mandatory parameters topicProjectName and subscriptionProjectName
  • the parameter purgeExpiredData is managed in the section timetableUpdates . It does not need to be specified in this updater.
  • the parameter type is managed by the configuration framework. It does not need to be specified in this updater.

Issue

No

Unit tests

Updated documentation test

Documentation

Updated documentation

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 94.87179% with 2 lines in your changes missing coverage. Please review.

Project coverage is 69.45%. Comparing base (827684a) to head (fc497ca).
Report is 1 commits behind head on dev-2.x.

Files Patch % Lines
...er/google/SiriETGooglePubsubUpdaterParameters.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #5927      +/-   ##
=============================================
+ Coverage      69.43%   69.45%   +0.01%     
  Complexity     17065    17065              
=============================================
  Files           1934     1934              
  Lines          73606    73624      +18     
  Branches        7540     7539       -1     
=============================================
+ Hits           51109    51135      +26     
+ Misses         19870    19865       -5     
+ Partials        2627     2624       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vpaturet
Copy link
Contributor Author

vpaturet commented Jun 24, 2024

@leonardehrenfried is the docs build failing due to a recent dependency upgrade?

@leonardehrenfried
Copy link
Member

Something like that: magidoc-org/magidoc#319 (comment)

@vpaturet vpaturet marked this pull request as ready for review June 24, 2024 10:36
@vpaturet vpaturet requested a review from a team as a code owner June 24, 2024 10:36
@vpaturet vpaturet changed the title Update Google Pubsub updater documentation Update Google Pubsub updater configuration Jun 24, 2024
@vpaturet vpaturet self-assigned this Jun 24, 2024
@vpaturet vpaturet added Improvement Sandbox Real-Time Update The issue/PR is related to RealTime updates Entur Test This is currently being tested at Entur labels Jun 24, 2024
@leonardehrenfried leonardehrenfried requested a review from t2gran June 25, 2024 08:48
@leonardehrenfried
Copy link
Member

If you rebase the CI failure should be fixed.

c.of("fuzzyTripMatching").since(NA).summary("TODO").asBoolean(false)
c
.of("feedId")
.since(NA)
Copy link
Member

Choose a reason for hiding this comment

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

Can you add the version? The Google PubSub support was added in this PR: #3166

That would make it version 2.1.0.

Copy link
Member

@leonardehrenfried leonardehrenfried left a comment

Choose a reason for hiding this comment

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

Please add the version, otherwise this looks good.

@vpaturet vpaturet force-pushed the update_google_pubsub_updater_doc branch from 70cb03e to fc497ca Compare June 25, 2024 13:16
@vpaturet vpaturet merged commit ce93c85 into opentripplanner:dev-2.x Jun 25, 2024
5 checks passed
t2gran pushed a commit that referenced this pull request Jun 25, 2024
@t2gran t2gran added this to the 2.6 (next release) milestone Jul 23, 2024
@t2gran t2gran deleted the update_google_pubsub_updater_doc branch October 9, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Entur Test This is currently being tested at Entur Improvement Real-Time Update The issue/PR is related to RealTime updates Sandbox
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants