-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add control_plane_id field to the dumped configuration
#308
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
base: main
Are you sure you want to change the base?
Conversation
|
@asartori86 There are a few issues with this implementation. You are adding the field This causes the following issues:
We need to add integration tests for this change covering all such scenarios. |
|
Thanks @Prashansa-K for the review. I am a bit confused about the handling of both ID and name. AFIU, the name is also used to support additional logic, e.g., in builder.isKonnect = dumpConfig.KonnectControlPlane != ""If the user didn't specify the name but only the ID, we end up comparing the CP with the provided ID with the (probably present) CP named I could implement the above, but I need some guidance as I am pretty new to deck. Given that |
6ff4b32 to
7c9632c
Compare
Add the `control_plane_id` field to enable its usage in `decK`.
7c9632c to
2240d71
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #308 +/- ##
==========================================
- Coverage 28.45% 28.45% -0.01%
==========================================
Files 117 117
Lines 18809 18810 +1
==========================================
Hits 5352 5352
- Misses 12857 12858 +1
Partials 600 600 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
Add the field
control_plane_idto the Konnect schema to support its usage viadecksupersedes #303
Full changelog
control_plane_idto the Konnect schema to support its usage viadeckIssues resolved
n/a
Documentation
dependent PR
Testing
Once confirmed that the changes are done in the correct places, I will add more tests