Skip to content

Commit

Permalink
register the new legacy postprocessors
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Nov 8, 2023
1 parent 213cab3 commit 9d39df0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@ private static IConfigurationBuilder RegisterPostProcessors(IConfigurationBuilde
source.RegisterPostProcessor(new WavefrontPostProcessor());

// Legacy Connector Post Processors
source.RegisterPostProcessor(new RabbitMQLegacyConnectorPostProcessor());
source.RegisterPostProcessor(new MongoDbLegacyConnectorPostProcessor());
source.RegisterPostProcessor(new MySqlLegacyConnectorPostProcessor());
source.RegisterPostProcessor(new PostgreSqlLegacyConnectorPostProcessor());
source.RegisterPostProcessor(new RabbitMQLegacyConnectorPostProcessor());
source.RegisterPostProcessor(new RedisLegacyConnectorPostProcessor());
builder.Add(source);
return builder;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ public void AddKubernetesServiceBindings_AddsSourceAndRegistersProcessors()
Assert.Single(builder.Sources);
Assert.IsType<ServiceBindingConfigurationSource>(builder.Sources[0]);
var source = (ServiceBindingConfigurationSource)builder.Sources[0];
Assert.Equal(24, source.RegisteredProcessors.Count);
Assert.Equal(26, source.RegisteredProcessors.Count);
}
}

0 comments on commit 9d39df0

Please sign in to comment.