This repository was archived by the owner on Sep 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +13
-12
lines changed
src/SqlStreamStore.Server Expand file tree Collapse file tree 7 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 88 - secure : fKxyki9JzY95G17hNHSy4dgDmH+zXIk50BR6honAz7LmsA9jGv2gg+l1AIUERH3eckdJwxze4K0e5hX88Xfn4j5nN8TnEw7Wwn7c1vjR9FxvRr5cjaJC0SVsOTZj4VC1R9Sqjzrkqv3jJDtDdz9B8aZMdEzJ+BkHwUMFxmuko2p2qabKnAonaGk5VDSTtDyvDMa0aFjKDYuB6MrnrxhfCzLk1ciyGL61SNfz0/u7Hj3xC6v4U0f0BQ9n65l5dIVn+mpuCdQ7GO0HGj0ySo7ffif3qqXXTx7ZWIl3wvf5RCp0PouA8q2dRHYYyGqhhCwuRNU7dfhS/eFtUtcITclZ/DJE86NBQGJ9tpUUhL7BJ3sNJZzbajh1F28paJgi595SKpScp4VGx3iBuDSKH4eb3cRj5TJqCUoscue8/uIZGgR4PGkGF4lbad3b7xexIk1YY/2Rwun1J0N7tqS0rej3ZRZBtipMF64NrVnt9dZzgsIlssZ0W2NvG0vcLX6DUdeZaR0diz8bUl1DXrMFxAUQ/QYxilvaESmCslRElzlb+5eaqQTG5lSP5l6f3ZcKAhvcUGggu9t3vjzpEq3zFa5dorCyK+es1ASNlwZtZr8in9oYkvam9aiDkZD8cEc+9u+qxvnX9w3MsA0P047YCMQGgwRl5dpizoySC3wr52voK7I=
99 - secure : HvSSWjsLR6qFi9/iHMKKoVUT4BDN7h4QjKHLvcrznwpfojrA1+nIlIwgcaIkxi5WClsoPmwW8YInPlyIyV+37+SaNK4sxB2puzwaC3iHBi6Ql38q+olsLdCE8u+DcfEcnzQo8pinNoyBLRjBgHjTAbrwIkLETNOZchss4A4UVhvPSznuNz5imlZxp4LqZ2pW/YcaLeCMQzuJHt5iRM6O4CMu7O4kMP/SPQXIXcqqYWI+o4um1JFO5juXBXtrhcTkOHfvGjqZghwma1F3v7zLHtqrbGBxaTLGNj0EIWPQhQEE5wDpvAqLEZcySl0ZjsPQUJd2Uxi9b8mWM1x6WaZTu9uqIy5t9lkCwUkEAwc/LUXZxwL0oi8HncgJvu7Q5KwVn375sJ0CER0Vn1FO8jphnMbpfkqUmbZmkwoIAUENNNYyGEp6zoNnRvaFQTjEW4bL2huPS0g3BgC2xyh8d5ZsPykIgQXlM8EEA2BZkd+ep2rKjOPT94rs5V5IPuVi9FYzFIsc2kpEkKZO/38j6pEAdCVIZp1m0+KRlLNQ9FeaI+xtil95V5ALIEXpc44o5OuUSoxt5ZirYaGSJtUtxo8E+HqpNL5WrTUeE8+aZos6Tu7jF63U2ehwg5xR6EubvrBjWvSHsQKcwDfdeHK2m15S/mVlahpwyyoCASAJtV7mRJI=
1010 matrix :
11- - LIBRARY_VERSION=1.2.0-beta.3.25 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=alpine3.9 RUNTIME=alpine-x64
12- - LIBRARY_VERSION=1.2.0-beta.3.25 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=alpine3.8 RUNTIME=alpine-x64
13- - LIBRARY_VERSION=1.2.0-beta.3.25 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=bionic RUNTIME=ubuntu.18.04-x64
14- - LIBRARY_VERSION=1.2.0-beta.3.25 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=stretch-slim RUNTIME=debian.9-x64
11+ - LIBRARY_VERSION=1.2.0-beta.3.28 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=alpine3.9 RUNTIME=alpine-x64
12+ - LIBRARY_VERSION=1.2.0-beta.3.28 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=alpine3.8 RUNTIME=alpine-x64
13+ - LIBRARY_VERSION=1.2.0-beta.3.28 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=bionic RUNTIME=ubuntu.18.04-x64
14+ - LIBRARY_VERSION=1.2.0-beta.3.28 CONTAINER_RUNTIME_VERSION=2.2.5 CONTAINER_RUNTIME=stretch-slim RUNTIME=debian.9-x64
1515git :
1616 depth : false
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN yarn && \
2020 yarn react-scripts-ts build && \
2121 echo ${CLIENT_VERSION} > /app/.clientversion
2222
23- FROM mcr.microsoft.com/dotnet/core/sdk:2.2.204 -stretch AS build-dotnet
23+ FROM mcr.microsoft.com/dotnet/core/sdk:2.2.300 -stretch AS build-dotnet
2424ARG CLIENT_PACKAGE=@sqlstreamstore/browser
2525ARG RUNTIME=alpine-x64
2626ARG LIBRARY_VERSION=1.2.0
Original file line number Diff line number Diff line change 33set -e
44
55CONTAINER_RUNTIME=${CONTAINER_RUNTIME:- alpine3.9}
6- LIBRARY_VERSION=${LIBRARY_VERSION:- 1.2.0-beta.3.25 }
6+ LIBRARY_VERSION=${LIBRARY_VERSION:- 1.2.0-beta.3.28 }
77CLIENT_VERSION=${CLIENT_VERSION:- 0.9.3}
88
99LOCAL_IMAGE=" sql-stream-store-server"
Original file line number Diff line number Diff line change 66using Npgsql ;
77using Serilog ;
88using SqlStreamStore . Infrastructure ;
9-
9+ using static SqlStreamStore . Server . Constants ;
1010namespace SqlStreamStore . Server
1111{
1212 internal class DatabaseInitializer
@@ -27,11 +27,11 @@ public Task Initialize(CancellationToken cancellationToken = default)
2727 {
2828 switch ( _configuration . Provider )
2929 {
30- case Constants . mssql :
30+ case mssql :
3131 return InitializeMsSql ( cancellationToken ) ;
32- case Constants . mysql :
32+ case mysql :
3333 return InitializeMySql ( cancellationToken ) ;
34- case Constants . postgres :
34+ case postgres :
3535 return InitializePostgres ( cancellationToken ) ;
3636 default :
3737 Log . Warning ( "Provider {provider} has no database initializer." , _configuration . Provider ) ;
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ private Program(SqlStreamStoreServerConfiguration configuration)
3131 {
3232 Log . Logger = new LoggerConfiguration ( )
3333 . MinimumLevel . Is ( configuration . LogLevel )
34+ . MinimumLevel . Override ( "Microsoft.AspNetCore" , LogEventLevel . Warning )
3435 . Enrich . FromLogContext ( )
3536 . WriteTo . Console ( outputTemplate : "[{Timestamp:HH:mm:ss} {Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}" )
3637 . CreateLogger ( ) ;
Original file line number Diff line number Diff line change 55 <TargetLatestRuntimePatch >true</TargetLatestRuntimePatch >
66 <LangVersion >latest</LangVersion >
77 <CrossGenDuringPublish >false</CrossGenDuringPublish >
8- <LibraryVersion Condition =" $(LibraryVersion) == ''" >1.2.0-beta.3.25 </LibraryVersion >
8+ <LibraryVersion Condition =" $(LibraryVersion) == ''" >1.2.0-beta.3.26 </LibraryVersion >
99 </PropertyGroup >
1010 <ItemGroup >
1111 <PackageReference Include =" ILLink.Tasks" Version =" 0.1.5-preview-1841731" />
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public SqlStreamStoreServerStartup(
3939
4040 public IServiceProvider ConfigureServices ( IServiceCollection services ) => services
4141 . AddResponseCompression ( options => options . MimeTypes = s_CompressableMimeTypes )
42- . AddRouting ( )
42+ . AddSqlStreamStoreHal ( )
4343 . BuildServiceProvider ( ) ;
4444
4545 public void Configure ( IApplicationBuilder app ) => app
You can’t perform that action at this time.
0 commit comments