Commit 5be3c96
committed
feat: refactor service list and detail APIs to use serviceName:version:group identity (#1430)
- Change Service proto: remove providers/consumers/features, add methods field
- Service List API: query Service resource instead of ServiceProviderMetadata,
return serviceName/version/group/serviceKey (no providerAppName)
- Service Detail API: return language + methods from Service resource
- Provider subscriber: sync methods from ServiceProviderMetadata events into
Service resource (merge/dedup across multiple providers)
- Consumer subscriber: no longer writes to Service resource
- Distribution API: revert to querying ServiceConsumerMetadata index
- Add ByServiceConsumerServiceKey/ByServiceProviderServiceKey indexes
- Frontend: update search/detail/distribution views accordingly
- Add unit tests for service API and subscriber lifecycle
Fixes #14301 parent 2757e19 commit 5be3c96
29 files changed
Lines changed: 5171 additions & 4322 deletions
File tree
- api/mesh/v1alpha1
- docs/swagger
- pkg
- console
- handler
- model
- router
- service
- core
- discovery
- subscriber
- store/index
- ui-vue3/src
- api
- mock
- service
- router
- views/resources
- applications/tabs
- services
- slots
- tabs
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 | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 24 | + | |
| 25 | + | |
0 commit comments