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

feat(apiops): add host-based namespacing #1241

Merged
merged 2 commits into from
Mar 8, 2024
Merged

feat(apiops): add host-based namespacing #1241

merged 2 commits into from
Mar 8, 2024

Conversation

Tieske
Copy link
Member

@Tieske Tieske commented Mar 6, 2024

This completes the namespace feature, by adding the host-based
namespacing to the existing path-based namespacing.

See Kong/go-apiops#129 (comment)
for an explanation.

@Tieske Tieske requested a review from rspurgeon March 6, 2024 15:44
@Tieske
Copy link
Member Author

Tieske commented Mar 6, 2024

CLI help and examples still need to be added.

@Tieske Tieske marked this pull request as ready for review March 6, 2024 18:51
@Tieske Tieske requested a review from a team as a code owner March 6, 2024 18:51
@Tieske
Copy link
Member Author

Tieske commented Mar 6, 2024

CLI text added, ready for review.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 51 lines in your changes are missing coverage. Please review.

Project coverage is 21.69%. Comparing base (0190a88) to head (7779518).
Report is 8 commits behind head on main.

Files Patch % Lines
cmd/file_namespace.go 0.00% 51 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1241      +/-   ##
==========================================
+ Coverage   21.52%   21.69%   +0.17%     
==========================================
  Files          53       53              
  Lines        5385     5452      +67     
==========================================
+ Hits         1159     1183      +24     
- Misses       4135     4176      +41     
- Partials       91       93       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rspurgeon
Copy link
Collaborator

Is this PR still pending test additions for the new flags and features?

@Tieske
Copy link
Member Author

Tieske commented Mar 7, 2024

Is this PR still pending test additions for the new flags and features?

The CLI unfortunately doesn't have any tests, there was an attempt a long time ago, but it was abandoned and never restarted.

This completes the namespace feature, by adding the hostbased
namespacing to the existing path-based namespacing.

See Kong/go-apiops#129 (comment)
for an explanation.
@Tieske Tieske merged commit 358dde7 into main Mar 8, 2024
39 checks passed
@Tieske Tieske deleted the namespace2 branch March 8, 2024 16:07
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

4 participants