Skip to content

Commit

Permalink
conformance: support HTTPRoutePathRewrite and HTTPRouteHostRewrite (#337
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pmalek authored Jun 14, 2024
1 parent 2abeb87 commit 3a55bad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/conformance/conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,23 @@ var skippedTestsForTraditionalCompatibleRouter = []string{
}

var traditionalCompatibleRouterSupportedFeatures = sets.New(
// core features
features.SupportHTTPRoute,
// extended
features.SupportHTTPRouteResponseHeaderModification,
features.SupportHTTPRoutePathRewrite,
features.SupportHTTPRouteHostRewrite,
)

var expressionsRouterSupportedFeatures = sets.New(
// core features
features.SupportHTTPRoute,
// extended
features.SupportHTTPRouteResponseHeaderModification,
features.SupportHTTPRouteMethodMatching,
features.SupportHTTPRouteQueryParamMatching,
features.SupportHTTPRoutePathRewrite,
features.SupportHTTPRouteHostRewrite,
)

type ConformanceConfig struct {
Expand Down

0 comments on commit 3a55bad

Please sign in to comment.