Skip to content

feat: Added changes to support konnect workspace APIs#602

Merged
shivaygupta-dotcom merged 15 commits intomainfrom
feature/KOKO-3141-konnect-workspace
Mar 13, 2026
Merged

feat: Added changes to support konnect workspace APIs#602
shivaygupta-dotcom merged 15 commits intomainfrom
feature/KOKO-3141-konnect-workspace

Conversation

@shivaygupta-dotcom
Copy link
Contributor

@shivaygupta-dotcom shivaygupta-dotcom commented Feb 18, 2026

We need to support Workspace in Konnect, more context in below jira
https://konghq.atlassian.net/browse/KOKO-3141

  1. Added a new boolean flag isKonnect in KongClient to determine if the flow is konnect.
  2. Created few helper func
  • NewKonnectWorkspaceRequest: For creating request specific to konnect workspaces, we can't use existing methods because endpoint is bit different.
  • existsForKonnect: Konnect specific func to check if workspace exist.
  • Updated create workspace and ExistsByName methods of workspace service to support Konnect, with help of isKonnect flag from KongClient.

Supporting PRs
GDR PR: Kong/go-database-reconciler#376
decK PR : Kong/deck#1892
GoKong PR for CI-Fix: #604

@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2026

Codecov Report

❌ Patch coverage is 23.07692% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.95%. Comparing base (2c1e775) to head (98f7d27).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
kong/exists.go 0.00% 10 Missing ⚠️
kong/workspace_service.go 40.00% 3 Missing and 3 partials ⚠️
kong/client.go 50.00% 2 Missing ⚠️
kong/request.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #602      +/-   ##
==========================================
- Coverage   60.15%   59.95%   -0.21%     
==========================================
  Files          74       74              
  Lines        5128     5152      +24     
==========================================
+ Hits         3085     3089       +4     
- Misses       1385     1402      +17     
- Partials      658      661       +3     
Flag Coverage Δ
3.10.0.0 56.65% <23.07%> (-0.19%) ⬇️
3.10.0.1 56.65% <23.07%> (-0.19%) ⬇️
3.10.0.2 56.65% <23.07%> (-0.19%) ⬇️
3.10.0.3 56.65% <23.07%> (-0.19%) ⬇️
3.10.0.4 56.65% <23.07%> (-0.19%) ⬇️
3.10.0.5 56.65% <23.07%> (-0.19%) ⬇️
3.10.0.6 56.69% <23.07%> (-0.19%) ⬇️
3.10.0.7 56.69% <23.07%> (-0.19%) ⬇️
3.10.0.8 56.69% <23.07%> (-0.19%) ⬇️
3.11.0.0 56.50% <23.07%> (-0.19%) ⬇️
3.11.0.1 56.50% <23.07%> (-0.19%) ⬇️
3.11.0.2 56.50% <23.07%> (-0.19%) ⬇️
3.11.0.3 56.50% <23.07%> (-0.19%) ⬇️
3.11.0.4 56.50% <23.07%> (-0.19%) ⬇️
3.11.0.5 56.50% <23.07%> (-0.19%) ⬇️
3.11.0.6 56.50% <23.07%> (-0.19%) ⬇️
3.11.0.7 56.50% <23.07%> (-0.19%) ⬇️
3.12.0.0 56.07% <23.07%> (-0.19%) ⬇️
3.12.0.1 56.07% <23.07%> (-0.19%) ⬇️
3.12.0.2 56.07% <23.07%> (-0.19%) ⬇️
3.12.0.3 56.07% <23.07%> (-0.19%) ⬇️
3.13.0.0 55.12% <23.07%> (-0.18%) ⬇️
3.13.0.1 55.12% <23.07%> (-0.18%) ⬇️
3.4 41.07% <0.00%> (-0.20%) ⬇️
3.4.0.0 53.94% <23.07%> (-0.18%) ⬇️
3.4.1.0 53.94% <23.07%> (-0.18%) ⬇️
3.4.1.1 53.94% <23.07%> (-0.18%) ⬇️
3.4.2.0 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.1 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.10 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.11 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.12 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.13 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.14 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.15 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.16 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.17 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.18 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.19 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.2 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.20 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.21 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.22 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.23 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.3 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.4 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.5 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.6 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.7 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.8 53.94% <23.07%> (-0.18%) ⬇️
3.4.3.9 53.94% <23.07%> (-0.18%) ⬇️
community 41.07% <0.00%> (-0.20%) ⬇️
enterprise 58.59% <23.07%> (-0.20%) ⬇️
integration 59.95% <23.07%> (-0.21%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shivaygupta-dotcom shivaygupta-dotcom marked this pull request as draft February 20, 2026 14:42
@shivaygupta-dotcom shivaygupta-dotcom force-pushed the feature/KOKO-3141-konnect-workspace branch from 92aced4 to 9e27ccf Compare February 21, 2026 03:46
@shivaygupta-dotcom shivaygupta-dotcom marked this pull request as ready for review March 11, 2026 08:35
@shivaygupta-dotcom shivaygupta-dotcom changed the base branch from main to fix/ci-fix March 11, 2026 09:46
@shivaygupta-dotcom shivaygupta-dotcom force-pushed the feature/KOKO-3141-konnect-workspace branch from 86f6678 to 7124c7e Compare March 12, 2026 14:15
Base automatically changed from fix/ci-fix to main March 13, 2026 02:55
@shivaygupta-dotcom shivaygupta-dotcom merged commit 17e466e into main Mar 13, 2026
121 checks passed
@shivaygupta-dotcom shivaygupta-dotcom deleted the feature/KOKO-3141-konnect-workspace branch March 13, 2026 11:19
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.

4 participants