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

internal/featuretests: Refactor featuretests into v2 package #2930

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

stevesloka
Copy link
Member

Refactors the featuretests package into a v2 package for Envoy API V2 types.

Common items are kept in the feature package for use by other versions.

Updates: #1898

Blocked on #2928

@stevesloka stevesloka added this to the 1.9.0 milestone Sep 21, 2020
@codecov
Copy link

codecov bot commented Sep 21, 2020

Codecov Report

Merging #2930 into main will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2930      +/-   ##
==========================================
- Coverage   74.51%   74.47%   -0.04%     
==========================================
  Files          92       92              
  Lines        5960     5960              
==========================================
- Hits         4441     4439       -2     
- Misses       1422     1423       +1     
- Partials       97       98       +1     
Impacted Files Coverage Δ
internal/featuretests/kubernetes.go 100.00% <ø> (ø)
internal/featuretests/v2/envoy.go 100.00% <ø> (ø)
internal/featuretests/v2/featuretests.go 90.15% <ø> (ø)
internal/featuretests/v2/httpproxy.go 100.00% <ø> (ø)
internal/dag/cache.go 95.36% <0.00%> (-0.78%) ⬇️

@skriss
Copy link
Member

skriss commented Sep 24, 2020

rebase time!

@skriss skriss modified the milestones: 1.9.0, 1.10.0 Oct 6, 2020
…ckage for Envoy API V2 types

Refactors the featuretests package into a v2 package. Common items are kept in the feature package for use by other versions.

Updates: projectcontour#1898

Signed-off-by: Steve Sloka <slokas@vmware.com>
@stevesloka
Copy link
Member Author

I tried to make this as simple as possible so not much code changes. There are some bits that we can reuse in the envoy.go file, but I didn't want to confuse the PR too much. My thought was to follow up with another pulling out the common bits that will be needed between v2 & v3, but again, trying to keep this large PR as simple as possible.

@stevesloka stevesloka requested a review from skriss October 9, 2020 15:57
Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

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

this is straightforward, LGTM.

@stevesloka stevesloka merged commit 1c77ba9 into projectcontour:main Oct 9, 2020
@stevesloka stevesloka deleted the refactorFeaturetestsv2 branch October 9, 2020 17:24
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.

2 participants