use JsonSchema, update AppSettings

This commit is contained in:
Tim Hess 2020-08-18 14:22:32 -04:00
Родитель 3b34d80456
Коммит e3f872e0b1
84 изменённых файлов: 485 добавлений и 410 удалений

Просмотреть файл

@ -1,10 +1,10 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Information",
"Steeltoe": "Debug",
"Pivotal": "Debug"
"Steeltoe": "Debug"
}
}
}

Просмотреть файл

@ -1,33 +1,34 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Information"
}
},
"spring": {
"application": {
"name": "fortuneService"
"Spring": {
"Application": {
"Name": "fortuneService"
}
// Remove comments to enable Container to Container (C2C)
// requests on Cloud Foundry
// ,"cloud" : {
// "discovery" : {
// "registrationMethod" : "direct"
// }
// }
,"Cloud" : {
"Discovery" : {
"registrationMethod" : "direct"
}
}
},
"eureka": {
"client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldFetchRegistry": false,
"validateCertificates": false
"Eureka": {
"Client": {
"ServiceUrl": "http://localhost:8761/eureka/",
"ShouldFetchRegistry": false,
"ValidateCertificates": false
},
"instance": {
"port": 5000
"Instance": {
"NonSecurePort": 5000
// Remove comments to enable SSL requests
// More changes in Program.cs are required if using direct C2C communications
//,"securePortEnabled": true
//,"SecurePortEnabled": true
}
}
}

Просмотреть файл

@ -1,10 +1,10 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Information",
"Steeltoe": "Debug",
"Pivotal": "Debug"
"Steeltoe": "Debug"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,19 +7,19 @@
}
},
"spring": {
"application": {
"name": "fortuneui"
"Spring": {
"Application": {
"Name": "fortuneui"
}
},
"eureka": {
"client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldRegisterWithEureka": false,
"validateCertificates": false
"Eureka": {
"Client": {
"ServiceUrl": "http://localhost:8761/eureka/",
"ShouldRegisterWithEureka": false,
"ValidateCertificates": false
}
},
"hystrix": {
"Hystrix": {
"collapser": {
"FortuneServiceCollapser": {
"timerDelayInMilliseconds": 250

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Debug",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Warning"

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Debug",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Warning"

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,19 +1,15 @@
{
"spring": {
"application": {
"name": "foo"
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Spring": {
"Application": {
"Name": "foo"
},
"cloud": {
"config": {
// Discovery first and health contributor (Steeltoe 2.2)
//"health": {
// "enabled": true
//},
//"discovery": {
// "enabled": true
//},
"uri": "http://localhost:8888",
"validate_certifates": false
"Cloud": {
"Config": {
"HealthEnabled": true,
"DiscoveryEnabled": true,
"Uri": "http://localhost:8888",
"ValidateCertificates": false
}
}
},
@ -23,10 +19,10 @@
"Default": "Warning"
}
}
// Discovery first (Steeltoe 2.2)
//,"eureka": {
// "client": {
// "serviceUrl": "http://localhost:8761/eureka/"
// Discovery-first
//,"Eureka": {
// "Client": {
// "ServiceUrl": "http://localhost:8761/eureka/"
// }
//}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,12 +1,13 @@
{
"spring": {
"application": {
"name": "foo"
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Spring": {
"Application": {
"Name": "foo"
},
"cloud": {
"config": {
"uri": "http://localhost:8888",
"validate_certificates": false
"Cloud": {
"Config": {
"Uri": "http://localhost:8888",
"ValidateCertificates": false
}
}
},

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Information",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Information",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Debug",

Просмотреть файл

@ -1,13 +1,14 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
}
}
},

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Information",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -7,9 +8,9 @@
"Microsoft": "Information"
}
},
"mysql": {
"client": {
"sslmode": "none",
"MySql": {
"Client": {
"SslMode": "none",
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=steeltoe;Pwd=steeltoe;sslmode=none;"
}
}

Просмотреть файл

@ -1,13 +1,14 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"mysql": {
"client": {
"sslmode": "none"
"MySql": {
"Client": {
"SslMode": "none"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -7,9 +8,9 @@
"Microsoft": "Information"
}
},
"mysql": {
"client": {
"sslmode": "none",
"MySql": {
"Client": {
"SslMode": "none",
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=steeltoe;Pwd=steeltoe;sslmode=none;"
// setting the connection string this way works fine with a single database
}

Просмотреть файл

@ -1,18 +1,19 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"mysql": {
"client": {
"sslmode": "none"
"MySql": {
"Client": {
"SslMode": "none"
}
},
"management": {
"endpoints": {
"path": "/cloudfoundryapplication"
"Management": {
"Endpoints": {
"Path": "/cloudfoundryapplication"
}
},
"multipleMySqlDatabases": false

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,14 +1,15 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"security": {
"oauth2": {
"client": {
"validate_certificates": false
"Security": {
"Oauth2": {
"Client": {
"ValidateCertificates": false
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -7,8 +8,8 @@
"Microsoft": "Information"
}
},
"postgres": {
"client": {
"Postgres": {
"Client": {
"sslmode": "none",
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=steeltoe;Pwd=steeltoe"
}

Просмотреть файл

@ -1,13 +1,9 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"postgres": {
"client": {
"urlEncodedCredentials": true
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -7,9 +8,9 @@
"Microsoft": "Information"
}
},
"postgres": {
"client": {
"sslmode": "none",
"Postgres": {
"Client": {
"SslMode": "none",
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=steeltoe;Pwd=steeltoe"
}
}

Просмотреть файл

@ -1,13 +1,14 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"postgres": {
"client": {
"urlEncodedCredentials": true
"Postgres": {
"Client": {
"UrlEncodedCredentials": true
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,15 +1,16 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"management": {
"endpoints": {
"path": "/cloudfoundryapplication",
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"Path": "/cloudfoundryapplication",
"Cloudfoundry": {
"ValidateCertificates": false
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,20 +1,21 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"redis": {
"client": {
"connectRetry": 3
"Redis": {
"Client": {
"ConnectRetry": 3
}
},
"management": {
"endpoints": {
"path": "/cloudfoundryapplication",
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"Path": "/cloudfoundryapplication",
"Cloudfoundry": {
"ValidateCertificates": false
}
}
}

Просмотреть файл

@ -1,15 +1,16 @@
{
"SqlServer": {
"credentials": {
"ConnectionString": "Server=(localdb)\\mssqllocaldb;database=SteeltoeEFCore;Trusted_Connection=True;"
}
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"SqlServer": {
"Credentials": {
"ConnectionString": "Server=(localdb)\\mssqllocaldb;database=SteeltoeEFCore;Trusted_Connection=True;"
}
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,11 +7,11 @@
"Steeltoe": "Debug"
}
},
"eureka": {
"client": {
"Eureka": {
"Client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldRegisterWithEureka": false,
"shouldFetchRegistry": true
"ShouldRegisterWithEureka": false,
"ShouldFetchRegistry": true
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,17 +7,17 @@
"Steeltoe": "Debug"
}
},
"eureka": {
"client": {
"Eureka": {
"Client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldRegisterWithEureka": true,
"shouldFetchRegistry": false
"ShouldRegisterWithEureka": true,
"ShouldFetchRegistry": false
},
"instance": {
"Instance": {
"port": 5000,
"appName": "MyApp",
"instanceId": "Instance-5000",
"isInstanceEnabledOnInit": true
"AppName": "MyApp",
"InstanceId": "Instance-5000",
"IsInstanceEnabledOnInit": true
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,18 +7,18 @@
"Steeltoe.Discovery": "Trace"
}
},
"eureka": {
"client": {
"Eureka": {
"Client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldFetchRegistry": false,
"ShouldFetchRegistry": false,
"ValidateCertificates": false
},
"instance": {
"Instance": {
"port": 5000,
"instanceId": "${spring:application:name}"
"InstanceId": "${spring:application:name}"
// Remove comments to enable SSL requests
// More changes in Program.cs are required if using direct C2C communications
//,"securePortEnabled": true
//,"SecurePortEnabled": true
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -9,9 +10,9 @@
"DisableColors": true
}
},
"spring": {
"application": {
"name": "fortuneService"
"Spring": {
"Application": {
"Name": "fortuneService"
}
},

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -8,13 +9,13 @@
"DisableColors": true
}
},
"spring": {
"application": {
"name": "fortuneService"
"Spring": {
"Application": {
"Name": "fortuneService"
}
// Remove comments to enable Container to Container (C2C)
// requests on Cloud Foundry
// ,"cloud" : {
// ,"Cloud" : {
// "discovery" : {
// "registrationMethod" : "direct"
// }

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,10 +7,10 @@
"Steeltoe.Discovery": "Trace"
}
},
"eureka": {
"client": {
"Eureka": {
"Client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldRegisterWithEureka": false,
"ShouldRegisterWithEureka": false,
"ValidateCertificates": false
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -9,9 +10,9 @@
"DisableColors": true
}
},
"spring": {
"application": {
"name": "fortuneUI"
"Spring": {
"Application": {
"Name": "fortuneUI"
}
},
"consul": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -9,9 +10,9 @@
"DisableColors": true
}
},
"spring": {
"application": {
"name": "fortuneUI"
"Spring": {
"Application": {
"Name": "fortuneUI"
}
}
}

Просмотреть файл

@ -1,11 +1,16 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2002
# Visual Studio Version 16
VisualStudioVersion = 16.0.30320.27
MinimumVisualStudioVersion = 15.0.26124.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fortune-Teller-Service", "Fortune-Teller-Service\Fortune-Teller-Service.csproj", "{47CC1025-CDA0-4DBF-A19D-D71F61CA45A2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Fortune-Teller-UI", "Fortune-Teller-UI\Fortune-Teller-UI.csproj", "{F215C9E4-EE4B-4ADC-9099-ABABE475F9B0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{ADB1693B-1D87-4019-978D-9E57811D3782}"
ProjectSection(SolutionItems) = preProject
..\..\config\versions.props = ..\..\config\versions.props
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Debug",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Warning"

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,40 +1,41 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"spring": {
"application": {
"name": "admin-portal"
"Spring": {
"Application": {
"Name": "admin-portal"
},
"cloud": {
"config": {
"Cloud": {
"Config": {
"uri": "http://localhost:8888",
"validate_certificates": false
"ValidateCertificates": false
}
}
},
"eureka": {
"client": {
"validateCertificates": false
"Eureka": {
"Client": {
"ValidateCertificates": false
},
"instance": {
"Instance": {
"port": 8000
}
},
"mysql": {
"client": {
"server": "localhost"
"MySql": {
"Client": {
"Server": "localhost"
}
},
"security": {
"oauth2": {
"client": {
"Security": {
"Oauth2": {
"Client": {
"additionalScopes": "menu.read menu.write order.admin order.me",
"saveTokens": true,
"validateCertificates": false
"ValidateCertificates": false
}
}
},

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,38 +1,39 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"spring": {
"application": {
"name": "order-service"
"Spring": {
"Application": {
"Name": "order-service"
},
"cloud": {
"config": {
"Cloud": {
"Config": {
"uri": "http://localhost:8888",
"validate_certificates": false
"ValidateCertificates": false
}
}
},
"eureka": {
"client": {
"validateCertificates": false
"Eureka": {
"Client": {
"ValidateCertificates": false
},
"instance": {
"Instance": {
"port": 7000
}
},
"mysql": {
"client": {
"server": "localhost"
"MySql": {
"Client": {
"Server": "localhost"
}
},
"security": {
"oauth2": {
"client": {
"validateCertificates": false
"Security": {
"Oauth2": {
"Client": {
"ValidateCertificates": false
}
}
}

Просмотреть файл

@ -1,17 +1,17 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information",
"Pivotal": "Debug",
"Steeltoe": "Debug"
}
},
"mysql": {
"client": {
"connectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
"MySql": {
"Client": {
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
}
}
}

Просмотреть файл

@ -1,56 +1,62 @@
{
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Warning",
"CloudFoundry.Controllers": "Verbose"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {SourceContext}: {Properties} {NewLine} {EventId} {Message:lj}{NewLine}{Exception}"
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ]
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft": "Warning",
"CloudFoundry.Controllers": "Verbose"
}
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"Pivotal": "Information",
"Steeltoe": "Information"
},
"Console": {
"DisableColors": true
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {SourceContext}: {Properties} {NewLine} {EventId} {Message:lj}{NewLine}{Exception}"
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ]
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"Steeltoe": "Information"
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
}
},
"metrics": {
"exporter": {
"cloudfoundry": {
"validateCertificates": false
}
}
}
},
"info": {
"appsetting1": "appsetting1",
"appsetting2": "appsetting2",
"appsetting3": "appsetting3",
"appsetting4": "appsetting4"
},
"mysql": {
"client": {
"sslmode": "none"
}
"Console": {
"DisableColors": true
}
},
"Management": {
"Endpoints": {
"Actuator": {
"Exposure": {
"Include": [ "*" ],
"Exclude": [ "env", "refresh" ]
}
},
"Cloudfoundry": {
"ValidateCertificates": false
}
},
"metrics": {
"exporter": {
"cloudfoundry": {
"validateCertificates": false
}
}
}
},
"info": {
"appsetting1": "appsetting1",
"appsetting2": "appsetting2",
"appsetting3": "appsetting3",
"appsetting4": "appsetting4"
},
"MySql": {
"Client": {
"SslMode": "none"
}
}
}

Просмотреть файл

@ -1,11 +1,11 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information",
"Pivotal": "Debug",
"Steeltoe": "Debug"
}
}

Просмотреть файл

@ -1,29 +1,29 @@
{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"Pivotal": "Information",
"Steeltoe": "Information"
},
"Console": {
"DisableColors": true
}
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"Steeltoe": "Information"
},
"management": {
"endpoints": {
"path": "/cloudfoundryapplication",
"Console": {
"DisableColors": true
}
},
"Management": {
"Endpoints": {
"Path": "/cloudfoundryapplication",
"CloudFoundry": {
"ValidateCertificates": false
}
},
"metrics": {
"exporter": {
"cloudfoundry": {
"validateCertificates": false
}
},
"metrics": {
"exporter": {
"cloudfoundry": {
"validateCertificates": false
}
}
}
}
}
}
},
"info": {
"appsetting1": "appsetting1",
@ -31,10 +31,10 @@
"appsetting3": "appsetting3",
"appsetting4": "appsetting4"
},
"mysql": {
"client": {
"sslmode": "none"
}
"MySql": {
"Client": {
"SslMode": "none"
}
},
"HealthChecks-UI": {
"HealthChecks": [
@ -54,4 +54,4 @@
"EvaluationTimeOnSeconds": 10,
"MinimumSecondsBetweenFailureNotifications": 60
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -9,9 +10,9 @@
"Steeltoe": "Debug"
}
},
"mysql": {
"client": {
"connectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
"MySql": {
"Client": {
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
}
}
}

Просмотреть файл

@ -1,23 +1,23 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"Pivotal": "Information",
"Steeltoe": "Information"
},
"Console": {
"DisableColors": true
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
},
"actuator": {
"exposure": {
"include": [ "*" ]
"Actuator": {
"Exposure": {
"Include": [ "*" ]
}
}
}
@ -28,24 +28,24 @@
"appsetting3": "appsetting3",
"appsetting4": "appsetting4"
},
"mysql": {
"client": {
"sslmode": "none"
"MySql": {
"Client": {
"SslMode": "none"
}
},
"security": {
"oauth2": {
"client": {
"clientId": "fortuneui",
"Security": {
"Oauth2": {
"Client": {
"ClientId": "fortuneui",
"ClientSecret": "fortuneui_secret",
"authorizationEndpoint": "http://localhost:8080/uaa/oauth/authorize",
"tokenEndpoint": "http://localhost:8080/uaa/oauth/token",
"tokenInfoUrl": "http://localhost:8080/uaa/check_token",
"userInformationEndpoint": "http://localhost:8080/uaa/userinfo",
"jwtKeyUrl": "http://localhost:8080/uaa/token_keys",
"JwtKeyUri": "http://localhost:8080/uaa/token_keys",
"additionalScopes": "fortunes.read",
"saveTokens": true,
"validateCertificates": false,
"ValidateCertificates": false,
"TokenValidationParameters": {
"ValidateAudience": true
}

Просмотреть файл

@ -1,17 +1,17 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information",
"Pivotal": "Debug",
"Steeltoe": "Debug"
}
},
"mysql": {
"client": {
"connectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
"MySql": {
"Client": {
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -10,14 +11,14 @@
"DisableColors": true
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
},
"actuator": {
"exposure": {
"include": [ "*" ]
"Actuator": {
"Exposure": {
"Include": [ "*" ]
}
}
}
@ -28,24 +29,24 @@
"appsetting3": "appsetting3",
"appsetting4": "appsetting4"
},
"mysql": {
"client": {
"sslmode": "none"
"MySql": {
"Client": {
"SslMode": "none"
}
},
"security": {
"oauth2": {
"client": {
"clientId": "fortuneui",
"Security": {
"Oauth2": {
"Client": {
"ClientId": "fortuneui",
"ClientSecret": "fortuneui_secret",
"authorizationEndpoint": "http://localhost:8080/uaa/oauth/authorize",
"tokenEndpoint": "http://localhost:8080/uaa/oauth/token",
"tokenInfoUrl": "http://localhost:8080/uaa/check_token",
"userInformationEndpoint": "http://localhost:8080/uaa/userinfo",
"jwtKeyUrl": "http://localhost:8080/uaa/token_keys",
"JwtKeyUri": "http://localhost:8080/uaa/token_keys",
"additionalScopes": "fortunes.read",
"saveTokens": true,
"validateCertificates": false,
"ValidateCertificates": false,
"TokenValidationParameters": {
"ValidateAudience": true
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -9,9 +10,9 @@
"Steeltoe": "Debug"
}
},
"mysql": {
"client": {
"connectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
"MySql": {
"Client": {
"ConnectionString": "Server=localhost;Database=steeltoe;Uid=root;Pwd=;sslmode=none;"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"URLS": [ "http://host.docker.internal:5000" ],
"Serilog": {
"MinimumLevel": {
@ -22,21 +23,20 @@
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"Pivotal": "Information",
"Steeltoe": "Information"
},
"Console": {
"DisableColors": true
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
},
"actuator": {
"exposure": {
"include": ["*"]
"Actuator": {
"Exposure": {
"Include": ["*"]
}
}
@ -55,14 +55,14 @@
"appsetting3": "appsetting3",
"appsetting4": "appsetting4"
},
"mysql": {
"client": {
"sslmode": "none"
"MySql": {
"Client": {
"SslMode": "none"
}
},
"spring": {
"application": {
"name": "SteeltoeApp"
"Spring": {
"Application": {
"Name": "SteeltoeApp"
},
"boot": {
"admin": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -9,22 +10,22 @@
"DisableColors": true
}
},
"spring": {
"application": {
"name": "fortuneService"
"Spring": {
"Application": {
"Name": "fortuneService"
}
},
"eureka": {
"client": {
"Eureka": {
"Client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldFetchRegistry": false,
"ShouldFetchRegistry": false,
"ValidateCertificates": false
},
"instance": {
"Instance": {
"port": 5000
}
},
"management": {
"Management": {
"tracing": {
"alwaysSample": true,
"egressIgnorePattern": "/api/v2/spans|/v2/apps/.*/permissions|/eureka/.*|/oauth/.*",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -9,18 +10,18 @@
"DisableColors": true
}
},
"spring": {
"application": {
"name": "fortuneUI"
"Spring": {
"Application": {
"Name": "fortuneUI"
}
},
"eureka": {
"client": {
"Eureka": {
"Client": {
"serviceUrl": "http://localhost:8761/eureka/",
"shouldRegisterWithEureka": false
"ShouldRegisterWithEureka": false
}
},
"management": {
"Management": {
"tracing": {
"alwaysSample": true,
"egressIgnorePattern": "/api/v2/spans|/v2/apps/.*/permissions|/eureka/.*|/oauth/.*",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Information",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Debug",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,25 +1,26 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Information"
}
},
"spring": {
"application": {
"name": "musicservice"
"Spring": {
"Application": {
"Name": "musicservice"
},
"cloud": {
"config": {
"Cloud": {
"Config": {
"uri": "http://localhost:8888",
"validate_certificates": false
"ValidateCertificates": false
}
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
}
},
"tracing":{
@ -34,9 +35,9 @@
}
}
},
"sqlserver": {
"credentials": {
"database": "MusicService"
"SqlServer": {
"Credentials": {
"Database": "MusicService"
}
}
}

Просмотреть файл

@ -1,9 +1,10 @@
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": true,
"LogLevel": {
@ -6,14 +7,14 @@
"Steeltoe": "Trace"
}
},
"spring": {
"application": {
"name": "musicstore"
"Spring": {
"Application": {
"Name": "musicstore"
},
"cloud": {
"config": {
"Cloud": {
"Config": {
"uri": "http://localhost:8888",
"validate_certificates": false
"ValidateCertificates": false
}
}
},
@ -29,10 +30,10 @@
"validate_certificates": false
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
}
},
"tracing":{
@ -47,9 +48,9 @@
}
}
},
"sqlserver": {
"credentials": {
"database": "MusicStore"
"SqlServer": {
"Credentials": {
"Database": "MusicStore"
}
},
"DefaultAdminUsername": "Administrator@test.com",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,26 +1,27 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
}
},
"spring": {
"application": {
"name": "orderprocessing"
"Spring": {
"Application": {
"Name": "orderprocessing"
},
"cloud": {
"config": {
"Cloud": {
"Config": {
"uri": "http://localhost:8888",
"validate_certificates": false
"ValidateCertificates": false
}
}
},
"management": {
"endpoints": {
"path": "/cloudfoundryapplication",
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"Path": "/cloudfoundryapplication",
"CloudFoundry": {
"ValidateCertificates": false
}
},
"tracing":{
@ -35,9 +36,9 @@
}
}
},
"sqlserver": {
"credentials": {
"database": "OrderProcessing"
"SqlServer": {
"Credentials": {
"Database": "OrderProcessing"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": true,
"LogLevel": {

Просмотреть файл

@ -1,23 +1,24 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"spring": {
"application": {
"name": "shoppingcart"
"Spring": {
"Application": {
"Name": "shoppingcart"
},
"cloud": {
"config": {
"validateCertificates": false
"Cloud": {
"Config": {
"ValidateCertificates": false
}
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
}
},
"tracing":{
@ -32,9 +33,9 @@
}
}
},
"sqlserver": {
"credentials": {
"database": "ShoppingCart"
"SqlServer": {
"Credentials": {
"Database": "ShoppingCart"
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Information",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"LogLevel": {
"Default": "Information",

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,10 +7,10 @@
"Microsoft": "Debug"
}
},
"security": {
"oauth2": {
"client": {
"validate_certificates": false
"Security": {
"Oauth2": {
"Client": {
"ValidateCertificates": false
}
}
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,12 +7,12 @@
"Steeltoe": "Debug"
}
},
"security": {
"oauth2": {
"client": {
"Security": {
"Oauth2": {
"Client": {
"additionalScopes": "testgroup",
"saveTokens": true,
"validateCertificates": false,
"ValidateCertificates": false,
"TokenValidationParameters": {
"ValidateAudience": true
}

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {
@ -6,10 +7,10 @@
"Steeltoe.Security.DataProtection.CredHub": "Trace"
}
},
"management": {
"endpoints": {
"cloudfoundry": {
"validateCertificates": false
"Management": {
"Endpoints": {
"CloudFoundry": {
"ValidateCertificates": false
}
}
},

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {

Просмотреть файл

@ -1,4 +1,5 @@
{
"$schema": "https://steeltoe.io/schema/latest/schema.json",
"Logging": {
"IncludeScopes": false,
"LogLevel": {