Commit 8f55ecf
authored
refactor: use core proto ShadowLinkTaskStatus in console and dataplane APIs (#2054)
* refactor: use core proto ShadowLinkTaskStatus in console and dataplane APIs
Remove duplicate TaskState enum and ShadowLinkTaskStatus message from
console/v1alpha1 and dataplane/v1alpha3 protos. Both now reference
core.admin.v2.ShadowLinkTaskStatus.
Update buf.build/redpandadata/core to latest SHA and regenerate protos.
Update frontend imports to use core proto types and adjust field name
from shardId to shard.
* fix: exclude imported proto breaking changes from CI validation
Configure buf breaking change detection to ignore changes in external
dependencies (buf.build/redpandadata/core) using --exclude-imports flag
in CI workflow. Add secret.proto to ignore list and enable
ignore_unstable_packages to handle dependency version changes.
* chore: regenerate OpenAPI specs from updated proto definitions
* fix: update proto import paths for ACL and TLS types
Update import paths after proto dependency reorganization:
- ACL types moved from redpanda/core/common/acl_pb to v1/acl_pb
- TLS types moved from shadow_link_pb to common/v1/tls_pb
Affects shadowlink creation, editing, and detail views.
* docs: regenned docs after rebase
* revert: remove --exclude-imports flag from buf CI validation
Remove the --exclude-imports flag from buf breaking change detection
to properly validate all proto changes including imported dependencies.
Also remove secret.proto from ignore list and ignore_unstable_packages
setting from buf.yaml.
This reverts the changes made in commits:
- 4c25c2a: fix: exclude imported proto breaking changes from CI validation
- ec4e442: fix: update proto import paths for ACL and TLS types (partial)
* ci: buf add label check on breaking boolean
* feat(proto): add topic_id field to shadow topic responses
Add topic_id as field 2 in ShadowTopic and GetShadowTopicResponse
messages to support topic identification beyond name. Regenerated
backend Go, frontend TypeScript, and OpenAPI specs.1 parent aae08c6 commit 8f55ecf
File tree
29 files changed
+1022
-1445
lines changed- .github/workflows
- backend/pkg/protogen/redpanda/api
- console/v1alpha1
- dataplane/v1alpha3
- frontend/src
- components/pages/shadowlinks
- create
- configuration
- details
- config
- edit
- protogen/redpanda
- api
- console/v1alpha1
- dataplane/v1alpha3
- core
- admin/v2
- common/v1
- proto
- gen/openapi
- redpanda/api
- console/v1alpha1
- dataplane/v1alpha3
29 files changed
+1022
-1445
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 52 | + | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
Lines changed: 236 additions & 409 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 331 additions & 485 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments