-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2alpha1 support for short hosts (#1311)
* Short host validation * More validation * Default domain from non-kyma gateway * State * State * integration test * Renamings and docs update * Update internal/validation/v2alpha1/hosts.go Co-authored-by: Bartosz Chwila <[email protected]> * Review naming suggestions * Update error message * Cover case for Istio gateway with host definition "*." * Fix * Error on APIRule when Gateway not found * Fix integration test * Update internal/validation/v2alpha1/hosts.go Co-authored-by: Bartosz Chwila <[email protected]> * Update docs/contributor/adr/0007-apirule-v2alpha1-api-proposal.md Co-authored-by: Bartosz Chwila <[email protected]> * Update internal/helpers/hosts.go Co-authored-by: Bartosz Chwila <[email protected]> * Review adjustments * Fix lint * Review suggestion re-correction * Fix int test v2alpha1 status checks and adds error int scenario for short host name * Unwanted removal * Fix error message * Revert v2alpha1 integration test use new status check func * Update docs/user/custom-resources/apirule/v2alpha1/04-10-apirule-custom-resource.md Co-authored-by: Natalia Sitko <[email protected]> * Update docs/user/custom-resources/apirule/v2alpha1/04-10-apirule-custom-resource.md Co-authored-by: Natalia Sitko <[email protected]> * Fix v2alpha1 int tests with original function for applying --------- Co-authored-by: Bartosz Chwila <[email protected]> Co-authored-by: Natalia Sitko <[email protected]>
- Loading branch information
1 parent
0f086ab
commit e4d8e37
Showing
48 changed files
with
1,663 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
899 changes: 465 additions & 434 deletions
899
controllers/gateway/api_controller_integration_test.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
## New Features | ||
|
||
- Add support for short host name for APIRule in version `v2alpha1` [#1311](https://github.com/kyma-project/api-gateway/pull/1311) | ||
|
||
## Bug fixes | ||
|
||
- Fix the wildcard path format and the validation of the rule path in an APIRule [#1285](https://github.com/kyma-project/api-gateway/pull/1285) | ||
- Fix the wildcard path format and the validation of the rule path in an APIRule [#1285](https://github.com/kyma-project/api-gateway/pull/1285) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.