Migrate rest provider
This commit is contained in:
parent
5d91c7e15c
commit
c815a732ef
11 changed files with 185 additions and 4 deletions
|
@ -24,7 +24,9 @@ func NewRouteAppenderAggregator(ctx context.Context, chainBuilder chainBuilder,
|
|||
|
||||
aggregator := &RouteAppenderAggregator{}
|
||||
|
||||
// FIXME add REST
|
||||
if conf.Providers != nil && conf.Providers.Rest != nil {
|
||||
aggregator.AddAppender(conf.Providers.Rest)
|
||||
}
|
||||
|
||||
if conf.API != nil && conf.API.EntryPoint == entryPointName {
|
||||
chain, err := chainBuilder.BuildChain(ctx, conf.API.Middlewares)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue