From 811dd7fed143b74e8ab603d2e791339629c14321 Mon Sep 17 00:00:00 2001 From: Xeon Date: Wed, 10 Jul 2024 18:01:18 +0800 Subject: [PATCH] Removed sensitive data from appsettings.Staging.json --- .../XFramework.Blazor/Components/GenericPreloader.razor | 2 +- .../Community.Api/appsettings.Development.json | 3 --- .../Community.Api/appsettings.Staging.json | 4 ---- .../IdentityServer.Api/appsettings.Staging.json | 5 +---- .../Messaging.Api/appsettings.Staging.json | 5 +---- .../SmsGateway.Api/appsettings.Staging.json | 5 +---- .../XFramework.Wallets/Wallets.Api/appsettings.Staging.json | 5 +---- 7 files changed, 5 insertions(+), 24 deletions(-) diff --git a/src/Modules/XFramework.Blazor/Components/GenericPreloader.razor b/src/Modules/XFramework.Blazor/Components/GenericPreloader.razor index fe3ec2fa0..86eaa14bd 100644 --- a/src/Modules/XFramework.Blazor/Components/GenericPreloader.razor +++ b/src/Modules/XFramework.Blazor/Components/GenericPreloader.razor @@ -1,6 +1,6 @@ @inherits XComponentsBase -@if (ApplicationState.IsBusy && !ApplicationState.NoSpinner) +@if (ApplicationState is { IsBusy: true, NoSpinner: false }) { diff --git a/src/Modules/XFramework.Community/Community.Api/appsettings.Development.json b/src/Modules/XFramework.Community/Community.Api/appsettings.Development.json index 4ce6b5261..d892c7e35 100644 --- a/src/Modules/XFramework.Community/Community.Api/appsettings.Development.json +++ b/src/Modules/XFramework.Community/Community.Api/appsettings.Development.json @@ -14,9 +14,6 @@ } }, "AllowedHosts": "*", - "ConnectionStrings": { - "DefaultDatabaseConnection": "Host=localhost;Database=XnelSystems;Username=xnelsystems-migration;Password=BqzX}V~,/p:7]K(FRH-bun!6PG?_g^<#h2EdtAQM[35x8;Pooling=true;MinPoolSize=2;MaxPoolSize=900;Timeout=300;CommandTimeout=300;" - }, "Application": { "DefaultUID": "3902761a-822d-4c6b-8e2d-323fd501bcd6", "MemoryLimit": "512MB" diff --git a/src/Modules/XFramework.Community/Community.Api/appsettings.Staging.json b/src/Modules/XFramework.Community/Community.Api/appsettings.Staging.json index d7ed279ac..e63ffc5a0 100644 --- a/src/Modules/XFramework.Community/Community.Api/appsettings.Staging.json +++ b/src/Modules/XFramework.Community/Community.Api/appsettings.Staging.json @@ -14,9 +14,6 @@ } }, "AllowedHosts": "*", - "ConnectionStrings": { - "DefaultDatabaseConnection": "Host=xnelsystems-production.postgres.database.azure.com;Database=XnelSystems;Username=dbAdmin;Password=(DzNaw#N+mr?xg4$;Pooling=true;MinPoolSize=2;MaxPoolSize=900;Timeout=300;CommandTimeout=300;" - }, "Application": { "DefaultUID": "3902761a-822d-4c6b-8e2d-323fd501bcd6", "MemoryLimit": "2048MB" @@ -29,7 +26,6 @@ "RefreshTokenLifespan": "00:30:00" }, "StreamFlowConfiguration": { - "ServerUrls": ["http://localhost:7000/stream-flow/queue"], "Targets": { "IdentityServerService": "3902761a-822d-4c6b-8e2d-323fd501bcd6", "BillsPaymentService": "fc449d3e-4e78-4c95-8826-970a5dd9d88b", diff --git a/src/Modules/XFramework.IdentityServer/IdentityServer.Api/appsettings.Staging.json b/src/Modules/XFramework.IdentityServer/IdentityServer.Api/appsettings.Staging.json index be71889ba..bf62c0c50 100644 --- a/src/Modules/XFramework.IdentityServer/IdentityServer.Api/appsettings.Staging.json +++ b/src/Modules/XFramework.IdentityServer/IdentityServer.Api/appsettings.Staging.json @@ -14,9 +14,7 @@ } }, "AllowedHosts": "*", - "ConnectionStrings": { - "DefaultDatabaseConnection": "Host=100.98.161.54;Database=XnelSystems;Username=dbAdmin;Password=4*5WD-K8%f*NqmPY;Pooling=true;MinPoolSize=2;MaxPoolSize=900;Timeout=300;CommandTimeout=300;" - }, + "Application": { "MemoryLimit": "2048MB" }, @@ -31,7 +29,6 @@ "RefreshTokenLifespan": "00:30:00" }, "StreamFlowConfiguration": { - "ServerUrls": ["http://localhost:7000/stream-flow/queue"], "Targets": { "IdentityServerService": "3902761a-822d-4c6b-8e2d-323fd501bcd6", "BillsPaymentService": "fc449d3e-4e78-4c95-8826-970a5dd9d88b", diff --git a/src/Modules/XFramework.Messaging/Messaging.Api/appsettings.Staging.json b/src/Modules/XFramework.Messaging/Messaging.Api/appsettings.Staging.json index 87ad18181..b6750bd0d 100644 --- a/src/Modules/XFramework.Messaging/Messaging.Api/appsettings.Staging.json +++ b/src/Modules/XFramework.Messaging/Messaging.Api/appsettings.Staging.json @@ -14,9 +14,7 @@ } }, "AllowedHosts": "*", - "ConnectionStrings": { - "DefaultDatabaseConnection": "Host=100.98.161.54;Database=XnelSystems;Username=dbAdmin;Password=4*5WD-K8%f*NqmPY;Pooling=true;MinPoolSize=2;MaxPoolSize=900;Timeout=300;CommandTimeout=300;" - }, + "Application": { "MemoryLimit": "2048MB" }, @@ -31,7 +29,6 @@ "RefreshTokenLifespan": "00:30:00" }, "StreamFlowConfiguration": { - "ServerUrls": ["http://localhost:7000/stream-flow/queue"], "Targets": { "IdentityServerService": "3902761a-822d-4c6b-8e2d-323fd501bcd6", "BillsPaymentService": "fc449d3e-4e78-4c95-8826-970a5dd9d88b", diff --git a/src/Modules/XFramework.SmsGateway/SmsGateway.Api/appsettings.Staging.json b/src/Modules/XFramework.SmsGateway/SmsGateway.Api/appsettings.Staging.json index 5971b7c1c..62375ce7a 100644 --- a/src/Modules/XFramework.SmsGateway/SmsGateway.Api/appsettings.Staging.json +++ b/src/Modules/XFramework.SmsGateway/SmsGateway.Api/appsettings.Staging.json @@ -14,9 +14,7 @@ } }, "AllowedHosts": "*", - "ConnectionStrings": { - "DefaultDatabaseConnection": "Host=100.98.161.54;Database=XnelSystems;Username=dbAdmin;Password=4*5WD-K8%f*NqmPY;Pooling=true;MinPoolSize=2;MaxPoolSize=900;Timeout=300;CommandTimeout=300;" - }, + "Application": { "MemoryLimit": "2048MB" }, @@ -31,7 +29,6 @@ "RefreshTokenLifespan": "00:30:00" }, "StreamFlowConfiguration": { - "ServerUrls": ["http://localhost:7000/stream-flow/queue"], "Targets": { "IdentityServerService": "3902761a-822d-4c6b-8e2d-323fd501bcd6", "BillsPaymentService": "fc449d3e-4e78-4c95-8826-970a5dd9d88b", diff --git a/src/Modules/XFramework.Wallets/Wallets.Api/appsettings.Staging.json b/src/Modules/XFramework.Wallets/Wallets.Api/appsettings.Staging.json index 9552d0201..e1d3f56b3 100644 --- a/src/Modules/XFramework.Wallets/Wallets.Api/appsettings.Staging.json +++ b/src/Modules/XFramework.Wallets/Wallets.Api/appsettings.Staging.json @@ -14,9 +14,7 @@ } }, "AllowedHosts": "*", - "ConnectionStrings": { - "DefaultDatabaseConnection": "Host=100.98.161.54;Database=XnelSystems;Username=dbAdmin;Password=4*5WD-K8%f*NqmPY;Pooling=true;MinPoolSize=2;MaxPoolSize=900;Timeout=300;CommandTimeout=300;" - }, + "Application": { "DefaultUID": "ec57bc89-914d-4d92-a36f-12a1ce3b221c", "MemoryLimit": "2048MB" @@ -32,7 +30,6 @@ "RefreshTokenLifespan": "00:30:00" }, "StreamFlowConfiguration": { - "ServerUrls": ["http://localhost:7000/stream-flow/queue"], "Targets": { "IdentityServerService": "3902761a-822d-4c6b-8e2d-323fd501bcd6", "BillsPaymentService": "fc449d3e-4e78-4c95-8826-970a5dd9d88b",