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

fix: fixing consumer-group related dump config for deck. #1486

Merged
merged 6 commits into from
Jan 16, 2025

Conversation

Prashansa-K
Copy link
Contributor

With changes added in go-kong, to skip
listing consumers while doing a GET call
on a consumer_group, dump config with gw
3.9+ starting showing issues. Associations
between a consumer and consumer-group were
missing. Thus, we are pushing the no listing
consumers feature behind a flag for now,
applicable only for dump command as a
starting point.

Changes for sync/diff command would be added
in a separate PR.

Requires the following to be merged first:
Kong/go-database-reconciler#159
Kong/go-kong#494

With changes added in go-kong, to skip
listing consumers while doing a GET call
on a consumer_group, dump config with gw
3.9+ starting showing issues. Associations
between a consumer and consumer-group were
missing. Thus, we are pushing the no listing
consumers feature behind a flag for now,
applicable only for dump command as a
starting point.
These new versions have the necessary changes
to not list consumers during a deck dump
while using the necessary flag
@Prashansa-K Prashansa-K force-pushed the fix/dump-cg-groups-association branch from 66112e0 to 358eab4 Compare January 15, 2025 09:32
@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 29.59%. Comparing base (6472d17) to head (2d2570a).

Files with missing lines Patch % Lines
cmd/gateway_dump.go 0.00% 7 Missing ⚠️
tests/integration/test_utils.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1486      +/-   ##
==========================================
+ Coverage   29.55%   29.59%   +0.03%     
==========================================
  Files          61       61              
  Lines        6577     6583       +6     
==========================================
+ Hits         1944     1948       +4     
- Misses       4494     4497       +3     
+ Partials      139      138       -1     

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

@Prashansa-K Prashansa-K requested a review from GGabriele January 15, 2025 10:26
Copy link
Collaborator

@GGabriele GGabriele left a comment

Choose a reason for hiding this comment

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

LGTM

@Prashansa-K Prashansa-K merged commit a6e0d60 into main Jan 16, 2025
21 checks passed
@Prashansa-K Prashansa-K deleted the fix/dump-cg-groups-association branch January 16, 2025 06:31
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