From 55c20aec8edba1b14747abccb414260d1bcc5d29 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 15 Sep 2022 12:05:12 +0200 Subject: [PATCH] refactor(blazorapp): use Pascal json file --- .../wwwroot/appsettings.Development.json | 22 +++++----- .../wwwroot/appsettings.heroku-duende.json | 32 +++++++------- .../wwwroot/appsettings.heroku.json | 32 +++++++------- .../wwwroot/appsettings.json | 44 +++++++++---------- 4 files changed, 65 insertions(+), 65 deletions(-) diff --git a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.Development.json b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.Development.json index 515aa705a..80da1a7d5 100644 --- a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.Development.json +++ b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.Development.json @@ -1,20 +1,20 @@ { - "loggingOptions": { - "minimum": "Debug", - "filters": [ + "LoggingOptions": { + "Minimum": "Debug", + "Filters": [ { - "category": "System", - "level": "Warning" + "Category": "System", + "Level": "Warning" }, { - "category": "Microsoft", - "level": "Information" + "Category": "Microsoft", + "Level": "Information" } ] }, - "providerOptions": { - "postLogoutRedirectUri": "https://localhost:5443/authentication/logout-callback", - "redirectUri": "https://localhost:5443/authentication/login-callback" + "ProviderOptions": { + "PostLogoutRedirectUri": "https://localhost:5443/authentication/logout-callback", + "RedirectUri": "https://localhost:5443/authentication/login-callback" }, - "welcomeContenUrl": "https://localhost:5443/api/welcomefragment" + "WelcomeContenUrl": "https://localhost:5443/api/welcomefragment" } diff --git a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku-duende.json b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku-duende.json index 98af711a1..d211e56a3 100644 --- a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku-duende.json +++ b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku-duende.json @@ -1,26 +1,26 @@ { - "apiBaseUrl": "https://theidserver-duende.herokuapp.com/api", - "loggingOptions": { - "minimum": "Debug", - "filters": [ + "ApiBaseUrl": "https://theidserver-duende.herokuapp.com/api", + "LoggingOptions": { + "Minimum": "Debug", + "Filters": [ { - "category": "System", - "level": "Warning" + "Category": "System", + "Level": "Warning" }, { - "category": "Microsoft", - "level": "Information" + "Category": "Microsoft", + "Level": "Information" } ] }, - "settingsOptions": { - "apiUrl": "https://theidserver-duende.herokuapp.com/api/api/configuration" + "SettingsOptions": { + "ApiUrl": "https://theidserver-duende.herokuapp.com/api/api/configuration" }, - "providerOptions": { - "authority": "https://theidserver-duende.herokuapp.com/", - "metadataUrl": "https://theidserver-duende.herokuapp.com/heroku-metadata.json", - "postLogoutRedirectUri": "https://theidserver-duende.herokuapp.com/authentication/logout-callback", - "redirectUri": "https://theidserver-duende.herokuapp.com/authentication/login-callback" + "ProviderOptions": { + "Authority": "https://theidserver-duende.herokuapp.com/", + "MetadataUrl": "https://theidserver-duende.herokuapp.com/heroku-metadata.json", + "PostLogoutRedirectUri": "https://theidserver-duende.herokuapp.com/authentication/logout-callback", + "RedirectUri": "https://theidserver-duende.herokuapp.com/authentication/login-callback" }, - "welcomeContenUrl": "https://theidserver-duende.herokuapp.com/api/welcomefragment" + "WelcomeContenUrl": "https://theidserver-duende.herokuapp.com/api/welcomefragment" } diff --git a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku.json b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku.json index 74f4f5a55..c4ea883b2 100644 --- a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku.json +++ b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.heroku.json @@ -1,26 +1,26 @@ { - "apiBaseUrl": "https://theidserver.herokuapp.com/api", - "loggingOptions": { - "minimum": "Debug", - "filters": [ + "ApiBaseUrl": "https://theidserver.herokuapp.com/api", + "LoggingOptions": { + "Minimum": "Debug", + "Filters": [ { - "category": "System", - "level": "Warning" + "Category": "System", + "Level": "Warning" }, { - "category": "Microsoft", - "level": "Information" + "Category": "Microsoft", + "Level": "Information" } ] }, - "settingsOptions": { - "apiUrl": "https://theidserver.herokuapp.com/api/api/configuration" + "SettingsOptions": { + "ApiUrl": "https://theidserver.herokuapp.com/api/api/configuration" }, - "providerOptions": { - "authority": "https://theidserver.herokuapp.com/", - "metadataUrl": "https://theidserver.herokuapp.com/heroku-metadata.json", - "postLogoutRedirectUri": "https://theidserver.herokuapp.com/authentication/logout-callback", - "redirectUri": "https://theidserver.herokuapp.com/authentication/login-callback" + "ProviderOptions": { + "Authority": "https://theidserver.herokuapp.com/", + "MetadataUrl": "https://theidserver.herokuapp.com/heroku-metadata.json", + "PostLogoutRedirectUri": "https://theidserver.herokuapp.com/authentication/logout-callback", + "RedirectUri": "https://theidserver.herokuapp.com/authentication/login-callback" }, - "welcomeContenUrl": "https://theidserver.herokuapp.com/api/welcomefragment" + "WelcomeContenUrl": "https://theidserver.herokuapp.com/api/welcomefragment" } diff --git a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.json b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.json index 0ab14083f..5838640cd 100644 --- a/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.json +++ b/src/Aguacongas.TheIdServer.BlazorApp/wwwroot/appsettings.json @@ -1,35 +1,35 @@ { - "prerendered": true, - "administratorEmail": "aguacongas@gmail.com", - "apiBaseUrl": "https://localhost:5443/api", - "loggingOptions": { - "minimum": "Warning" + "Prerendered": true, + "AdministratorEmail": "aguacongas@gmail.com", + "ApiBaseUrl": "https://localhost:5443/api", + "LoggingOptions": { + "Minimum": "Warning" }, - "authenticationPaths": { - "remoteRegisterPath": "/identity/account/register", - "remoteProfilePath": "/identity/account/manage" + "AuthenticationPaths": { + "RemoteRegisterPath": "/identity/account/register", + "RemoteProfilePath": "/identity/account/manage" }, - "userOptions": { + "UserOptions": { "roleClaim": "role" }, - "providerOptions": { - "authority": "https://localhost:5443/", - "clientId": "theidserveradmin", - "defaultScopes": [ + "ProviderOptions": { + "Authority": "https://localhost:5443/", + "ClientId": "theidserveradmin", + "DefaultScopes": [ "openid", "profile", "theidserveradminapi" ], - "postLogoutRedirectUri": "/authentication/logout-callback", - "redirectUri": "/authentication/login-callback", - "responseType": "code" + "PostLogoutRedirectUri": "/authentication/logout-callback", + "RedirectUri": "/authentication/login-callback", + "ResponseType": "code" }, - "welcomeContenUrl": "/api/welcomefragment", - "settingsOptions": { - "typeName": "Aguacongas.TheIdServer.BlazorApp.Models.ServerConfig, Aguacongas.TheIdServer.BlazorApp.Infrastructure", - "apiUrl": "https://localhost:5443/api/api/configuration" + "WelcomeContenUrl": "/api/welcomefragment", + "SettingsOptions": { + "TypeName": "Aguacongas.TheIdServer.BlazorApp.Models.ServerConfig, Aguacongas.TheIdServer.BlazorApp.Infrastructure", + "ApiUrl": "https://localhost:5443/api/api/configuration" }, - "menuOptions": { - "showSettings": true + "MenuOptions": { + "ShowSettings": true } }