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: dump custom entities in config fetcher #6305

Merged
merged 6 commits into from
Aug 2, 2024

Conversation

randmonkey
Copy link
Contributor

@randmonkey randmonkey commented Jul 9, 2024

What this PR does / why we need it:

Add custom entities in config fetcher to support them in config recovery.

Which issue this PR fixes:

Should fix #6054

Special notes for your reviewer:

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@randmonkey randmonkey requested a review from a team as a code owner July 9, 2024 08:41
@randmonkey randmonkey marked this pull request as draft July 9, 2024 08:41
@randmonkey randmonkey force-pushed the feat/config_fetcher_custom_entities branch 2 times, most recently from 870d710 to 34893b4 Compare July 10, 2024 07:59
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@56c2598). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             main   #6305   +/-   ##
======================================
  Coverage        ?   75.9%           
======================================
  Files           ?     200           
  Lines           ?   20173           
  Branches        ?       0           
======================================
  Hits            ?   15314           
  Misses          ?    3844           
  Partials        ?    1015           

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

@randmonkey randmonkey force-pushed the feat/config_fetcher_custom_entities branch from 34893b4 to b5e6ab2 Compare July 11, 2024 07:45
@randmonkey
Copy link
Contributor Author

Dependent on Kong/go-database-reconciler#114. Waiting for GDR release with the contents in the PR to support dumping custom entities.

@randmonkey randmonkey added this to the KIC v3.3.x milestone Jul 11, 2024
@randmonkey randmonkey force-pushed the feat/config_fetcher_custom_entities branch from b5e6ab2 to b335d42 Compare July 18, 2024 03:27
@randmonkey randmonkey marked this pull request as ready for review July 18, 2024 03:34
@randmonkey randmonkey changed the title WIP dump custom entities in config fetcher feat: dump custom entities in config fetcher Jul 18, 2024
@randmonkey randmonkey force-pushed the feat/config_fetcher_custom_entities branch from b335d42 to 1c2d5fe Compare July 23, 2024 02:42
pmalek
pmalek previously approved these changes Jul 23, 2024
Copy link
Member

@pmalek pmalek left a comment

Choose a reason for hiding this comment

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

In general this looks good. Left a minor comment about using a custom entity dedicated type.

internal/dataplane/configfetcher/kongrawstate_test.go Outdated Show resolved Hide resolved
@randmonkey randmonkey requested a review from pmalek July 24, 2024 16:28
CHANGELOG.md Show resolved Hide resolved
internal/dataplane/kongstate/customentity.go Outdated Show resolved Hide resolved
internal/dataplane/configfetcher/config_fetcher.go Outdated Show resolved Hide resolved
@randmonkey randmonkey requested a review from programmer04 July 30, 2024 07:42
@randmonkey randmonkey force-pushed the feat/config_fetcher_custom_entities branch from a903ca1 to 39c0c90 Compare July 30, 2024 07:57
@randmonkey randmonkey force-pushed the feat/config_fetcher_custom_entities branch from 39c0c90 to c8c1bac Compare August 1, 2024 06:41
@randmonkey randmonkey merged commit 1cb9b6d into main Aug 2, 2024
39 checks passed
@randmonkey randmonkey deleted the feat/config_fetcher_custom_entities branch August 2, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support custom entities in last known good configuration
3 participants