Test all enabled routes in ETag caching middleware and fix pipeline routes
Extract route matching logic to Gitlab::EtagCaching::Router.
Fix pipeline routes:
1. "project_pipelines" has to come after "commit_pipelines" and
"merge_request_pipelines" because it is more generic
2. "commit_pipelines": "\s" (any whitespace character) => "\S"
(any non-whitespace character).
Showing
lib/gitlab/etag_caching/router.rb
0 → 100644
spec/lib/gitlab/etag_caching/router_spec.rb
0 → 100644
Please
register
or
sign in
to comment