Skip to content

Commit

Permalink
Implements IBaseSchemaRunner interface (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbans96 authored Mar 4, 2021
1 parent 76f116e commit 1d35bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace Microsoft.Health.SqlServer.Features.Schema.Manager
{
public class BaseSchemaRunner
public class BaseSchemaRunner : IBaseSchemaRunner
{
private static readonly TimeSpan RetrySleepDuration = TimeSpan.FromSeconds(20);
private const int RetryAttempts = 3;
Expand Down
2 changes: 1 addition & 1 deletion tools/SchemaManager/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private static ServiceProvider BuildServiceProvider()
services.AddSingleton<SqlServerDataStoreConfiguration>();
services.AddSingleton<ISqlConnectionFactory, DefaultSqlConnectionFactory>();
services.AddSingleton<ISqlConnectionStringProvider, DefaultSqlConnectionStringProvider>();
services.AddSingleton<BaseSchemaRunner>();
services.AddSingleton<IBaseSchemaRunner, BaseSchemaRunner>();
services.AddSingleton<ISchemaManagerDataStore, SchemaManagerDataStore>();
services.AddSingleton<ISchemaClient, SchemaClient>();
services.AddSingleton<ISchemaManager, SqlSchemaManager>();
Expand Down

0 comments on commit 1d35bd6

Please sign in to comment.