feat: add control_plane_id field to the dumped configuration#308
feat: add control_plane_id field to the dumped configuration#308asartori86 wants to merge 1 commit intomainfrom
control_plane_id field to the dumped configuration#308Conversation
|
@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