Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DE-48590 - Add to OnlyNecessaryRoutesProvider
- Loading branch information
1 parent
0b257f8
commit 75a2c65
Showing
5 changed files
with
79 additions
and
4 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
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
45 changes: 45 additions & 0 deletions
45
tests/Route/__fixtures__/expected_routes_with_custom_components.json
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"custom-components": { | ||
"endpoints": { | ||
"get": { | ||
"service": "api.route.endpoints", | ||
"middlewares": [], | ||
"middlewareGroups": [], | ||
"ignoreVersionMiddlewareGroup": false, | ||
"name": null | ||
} | ||
} | ||
}, | ||
"1.0": { | ||
"endpoints": { | ||
"get": { | ||
"service": "api.route.endpoints", | ||
"middlewares": [], | ||
"middlewareGroups": [], | ||
"ignoreVersionMiddlewareGroup": false, | ||
"name": null | ||
} | ||
}, | ||
"brand\/{brandId}\/channel\/{channelPlatformId}": { | ||
"get": { | ||
"service": "channelInfo.route", | ||
"middlewares": [ | ||
"channelInfo.cache.cachedChannelInfoMiddleware", | ||
"api.middleware.corsHeadersResolver" | ||
], | ||
"middlewareGroups": [], | ||
"ignoreVersionMiddlewareGroup": false, | ||
"name": null | ||
}, | ||
"options": { | ||
"service": "api.route.preflightRequest", | ||
"middlewares": [ | ||
"api.middleware.corsHeadersResolver" | ||
], | ||
"middlewareGroups": [], | ||
"ignoreVersionMiddlewareGroup": false, | ||
"name": null | ||
} | ||
} | ||
} | ||
} |