diff --git a/.gitignore b/.gitignore index e62f146..5db954b 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,8 @@ BundleArtifacts/ # Local settings and secrets Config/appsettings.local.json Config/*.secrets.json +Config/database.local.json +**/database.local.json *.local.ini .env .env.* diff --git a/Config/appsettings.example.json b/Config/appsettings.example.json index 72f4af6..6797854 100644 --- a/Config/appsettings.example.json +++ b/Config/appsettings.example.json @@ -1,21 +1,29 @@ { - "database": { - "oracle": { - "host": "", - "port": 1521, - "serviceName": "", - "userName": "" - }, - "mariaDb": { - "host": "", - "port": 3306, - "database": "", - "userName": "" - } + "oracle": { + "host": "", + "port": 1521, + "sid": "", + "serviceName": null, + "userName": "", + "password": "", + "connectTimeoutSeconds": 10, + "commandTimeoutSeconds": 30, + "pooling": true }, - "playout": { - "host": "127.0.0.1", - "port": 30001, - "sceneFolder": "" + "mariaDb": { + "host": "", + "port": 3306, + "database": "", + "userName": "", + "password": "", + "tlsMode": "Preferred", + "connectTimeoutSeconds": 10, + "commandTimeoutSeconds": 30, + "pooling": true + }, + "resilience": { + "operationTimeoutSeconds": 45, + "maximumRetryCount": 2, + "initialRetryDelayMilliseconds": 250 } } diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..9d9c636 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,12 @@ + + + + false + None + false + + diff --git a/MBN_STOCK_WEBVIEW.csproj b/MBN_STOCK_WEBVIEW.csproj index 1a41b95..cb3b5b4 100644 --- a/MBN_STOCK_WEBVIEW.csproj +++ b/MBN_STOCK_WEBVIEW.csproj @@ -42,11 +42,15 @@ PreserveNewest + + PreserveNewest + PreserveNewest + - + @@ -67,6 +71,7 @@ +