Skip to content
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

chore(*) remove the ./api/ Go submodule #2414

Merged
merged 1 commit into from
Jul 26, 2021
Merged

chore(*) remove the ./api/ Go submodule #2414

merged 1 commit into from
Jul 26, 2021

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Jul 22, 2021

Summary

Remove the api submodule.

Full changelog

N/A

Issues resolved

This updates #2200.

Documentation

N/A

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

Backwards compatibility

  • Add backport-to-stable label if the code is backwards compatible. Otherwise, list breaking changes.

This updates #2200.

Signed-off-by: James Peach <james.peach@konghq.com>
@jpeach jpeach marked this pull request as ready for review July 26, 2021 06:11
@jpeach jpeach requested a review from a team as a code owner July 26, 2021 06:11
@codecov-commenter
Copy link

Codecov Report

Merging #2414 (cb6193e) into master (fa046ac) will increase coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2414      +/-   ##
==========================================
+ Coverage   52.43%   52.59%   +0.16%     
==========================================
  Files         875      877       +2     
  Lines       47833    47855      +22     
==========================================
+ Hits        25080    25170      +90     
+ Misses      20715    20638      -77     
- Partials     2038     2047       +9     
Impacted Files Coverage Δ
api/mesh/v1alpha1/dataplane_helpers.go 80.59% <ø> (+1.68%) ⬆️
pkg/core/resources/store/customizable_store.go 77.77% <0.00%> (-11.12%) ⬇️
pkg/plugins/resources/memory/store.go 77.71% <0.00%> (-4.35%) ⬇️
pkg/core/resources/manager/cache.go 79.22% <0.00%> (-2.60%) ⬇️
api/internal/util/proto/proto.go 70.00% <0.00%> (ø)
api/internal/util/proto/types.go 100.00% <0.00%> (ø)
api/observability/v1/mads.pb.go 35.56% <0.00%> (+1.03%) ⬆️
pkg/mads/v1/client/client.go 43.75% <0.00%> (+2.50%) ⬆️
pkg/kds/client/sink.go 52.27% <0.00%> (+4.54%) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa046ac...cb6193e. Read the comment docs.

Copy link
Contributor

@lahabana lahabana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This is the last submodule isn't it?

@jakubdyszkiewicz
Copy link
Contributor

what about backwards compatibility section? can we backport this? I can't see the label

@jpeach
Copy link
Contributor Author

jpeach commented Jul 26, 2021

Yeh maybe should be backported. Are we definitely OK with removing this module? No use case that needs it?

@austince
Copy link
Contributor

The use case for this would be for implementing the Kuma services via the protos directly, like envoy's go-control-plane, right? I considered this for the Prometheus SD but just went with copying the def instead of adding the dependency since it bundled gRPC, which was not needed.
I think this module would need to be refactored anyway to well support these kinds of use cases, so +1 for dropping is my 2 cents.

@jakubdyszkiewicz
Copy link
Contributor

Exactly, it makes sense only if we manage to extract the module with the API and client. +1 for backporting because I don't think there is a use case of using this module only. Worst case scenario is that we will come back to a separate module.

@jpeach jpeach merged commit 3ae9663 into kumahq:master Jul 26, 2021
@jpeach jpeach deleted the chore/api-remove-go-mod branch July 26, 2021 21:27
mergify bot pushed a commit that referenced this pull request Jul 26, 2021
This updates #2200.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 3ae9663)
jpeach added a commit that referenced this pull request Jul 27, 2021
This updates #2200.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 3ae9663)

Co-authored-by: James Peach <james.peach@konghq.com>
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.

None yet

5 participants