From ef52e9c74037a32199e8f4d7fe4372ece6e66caf Mon Sep 17 00:00:00 2001 From: EngincanV Date: Thu, 29 Apr 2021 20:39:56 +0300 Subject: [PATCH] Change connection strings for postgresql remote server --- src/EventHub.BackgroundServices/appsettings.json | 4 +--- src/EventHub.DbMigrator/appsettings.json | 4 +--- src/EventHub.HttpApi.Host/appsettings.json | 4 +--- src/EventHub.IdentityServer/appsettings.json | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/EventHub.BackgroundServices/appsettings.json b/src/EventHub.BackgroundServices/appsettings.json index fef526a..69f7cd4 100644 --- a/src/EventHub.BackgroundServices/appsettings.json +++ b/src/EventHub.BackgroundServices/appsettings.json @@ -1,8 +1,6 @@ { "ConnectionStrings": { - - "Default": "Server=tcp:volosofteventhub.database.windows.net,1433;Initial Catalog=volosofteventhub;Persist Security Info=False;User ID=volosoft;Password=@Palandoken2021;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" - + "Default": "Server=volo-postgre-eventhub.postgres.database.azure.com;Database=eventhubdev;Port=5432;User Id=volosoft;Password=@Palandoken2021;Ssl Mode=Require;" }, "Redis": { "Configuration": "Server=tcp:volosofteventhub.database.windows.net,1433;Initial Catalog=volosofteventhub;Persist Security Info=False;User ID=volosoft;Password=@Palandoken2021;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" diff --git a/src/EventHub.DbMigrator/appsettings.json b/src/EventHub.DbMigrator/appsettings.json index 5c40679..1ab6b70 100644 --- a/src/EventHub.DbMigrator/appsettings.json +++ b/src/EventHub.DbMigrator/appsettings.json @@ -1,8 +1,6 @@ { "ConnectionStrings": { - - "Default": "Server=tcp:volosofteventhub.database.windows.net,1433;Initial Catalog=volosofteventhub;Persist Security Info=False;User ID=volosoft;Password=@Palandoken2021;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" - + "Default": "Server=volo-postgre-eventhub.postgres.database.azure.com;Database=eventhubdev;Port=5432;User Id=volosoft;Password=@Palandoken2021;Ssl Mode=Require;" }, "IdentityServer": { "Clients": { diff --git a/src/EventHub.HttpApi.Host/appsettings.json b/src/EventHub.HttpApi.Host/appsettings.json index a88dd3d..593e523 100644 --- a/src/EventHub.HttpApi.Host/appsettings.json +++ b/src/EventHub.HttpApi.Host/appsettings.json @@ -3,9 +3,7 @@ "CorsOrigins": "https://*.EventHub.com,https://localhost:44307,https://localhost:44308" }, "ConnectionStrings": { - - "Default": "Server=tcp:volosofteventhub.database.windows.net,1433;Initial Catalog=volosofteventhub;Persist Security Info=False;User ID=volosoft;Password=@Palandoken2021;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" - + "Default": "Server=volo-postgre-eventhub.postgres.database.azure.com;Database=eventhubdev;Port=5432;User Id=volosoft;Password=@Palandoken2021;Ssl Mode=Require;" }, "Redis": { "Configuration": "volosofteventhub.redis.cache.windows.net:6380,password=9Kc6E1lbwy5c+RHR1KZS26JPydYR5SeR8UixdECQWv4=,ssl=True,abortConnect=False" diff --git a/src/EventHub.IdentityServer/appsettings.json b/src/EventHub.IdentityServer/appsettings.json index 2b3f928..4357612 100644 --- a/src/EventHub.IdentityServer/appsettings.json +++ b/src/EventHub.IdentityServer/appsettings.json @@ -5,9 +5,7 @@ "RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307" }, "ConnectionStrings": { - - "Default": "Server=tcp:volosofteventhub.database.windows.net,1433;Initial Catalog=volosofteventhub;Persist Security Info=False;User ID=volosoft;Password=@Palandoken2021;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" - + "Default": "Server=volo-postgre-eventhub.postgres.database.azure.com;Database=eventhubdev;Port=5432;User Id=volosoft;Password=@Palandoken2021;Ssl Mode=Require;" }, "Redis": { "Configuration": "volosofteventhub.redis.cache.windows.net:6380,password=9Kc6E1lbwy5c+RHR1KZS26JPydYR5SeR8UixdECQWv4=,ssl=True,abortConnect=False"