diff --git a/src/Bootstrap/src/AutoConfiguration/ConfigurationSchema.json b/src/Bootstrap/src/AutoConfiguration/ConfigurationSchema.json new file mode 100644 index 0000000000..d3dd0a402f --- /dev/null +++ b/src/Bootstrap/src/AutoConfiguration/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Bootstrap": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Bootstrap.AutoConfiguration": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Bootstrap/src/AutoConfiguration/Properties/AssemblyInfo.cs b/src/Bootstrap/src/AutoConfiguration/Properties/AssemblyInfo.cs index 84aa78e3ca..584c9ab7d9 100644 --- a/src/Bootstrap/src/AutoConfiguration/Properties/AssemblyInfo.cs +++ b/src/Bootstrap/src/AutoConfiguration/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Bootstrap", "Steeltoe.Bootstrap.AutoConfiguration")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] diff --git a/src/Common/src/Common/ConfigurationSchema.json b/src/Common/src/Common/ConfigurationSchema.json new file mode 100644 index 0000000000..2f5c0236d4 --- /dev/null +++ b/src/Common/src/Common/ConfigurationSchema.json @@ -0,0 +1,14 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Common/src/Common/Properties/AssemblyInfo.cs b/src/Common/src/Common/Properties/AssemblyInfo.cs index 61e3dec787..cb106ca1a6 100644 --- a/src/Common/src/Common/Properties/AssemblyInfo.cs +++ b/src/Common/src/Common/Properties/AssemblyInfo.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] @@ -11,13 +12,18 @@ [assembly: InternalsVisibleTo("Steeltoe.Common.Hosting")] [assembly: InternalsVisibleTo("Steeltoe.Common.Hosting.Test")] [assembly: InternalsVisibleTo("Steeltoe.Common.Http")] +[assembly: InternalsVisibleTo("Steeltoe.Common.Logging")] +[assembly: InternalsVisibleTo("Steeltoe.Common.Net")] [assembly: InternalsVisibleTo("Steeltoe.Common.Test")] +[assembly: InternalsVisibleTo("Steeltoe.Configuration.Abstractions")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.CloudFoundry")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.CloudFoundry.Test")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.ConfigServer")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.Encryption")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.Kubernetes.ServiceBindings")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.Placeholder")] +[assembly: InternalsVisibleTo("Steeltoe.Configuration.RandomValue")] +[assembly: InternalsVisibleTo("Steeltoe.Configuration.SpringBoot")] [assembly: InternalsVisibleTo("Steeltoe.Connectors")] [assembly: InternalsVisibleTo("Steeltoe.Connectors.EntityFrameworkCore")] [assembly: InternalsVisibleTo("Steeltoe.Discovery.Configuration")] @@ -38,6 +44,11 @@ [assembly: InternalsVisibleTo("Steeltoe.Management.Tasks")] [assembly: InternalsVisibleTo("Steeltoe.Management.Tracing")] [assembly: InternalsVisibleTo("Steeltoe.Management.Tracing.Test")] +[assembly: InternalsVisibleTo("Steeltoe.Security.Authentication.JwtBearer")] [assembly: InternalsVisibleTo("Steeltoe.Security.Authentication.CloudFoundry.Test")] +[assembly: InternalsVisibleTo("Steeltoe.Security.Authentication.OpenIdConnect")] [assembly: InternalsVisibleTo("Steeltoe.Security.Authorization.Certificate")] +[assembly: InternalsVisibleTo("Steeltoe.Security.DataProtection.Redis")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Common")] diff --git a/src/Common/src/Hosting/ConfigurationSchema.json b/src/Common/src/Hosting/ConfigurationSchema.json new file mode 100644 index 0000000000..3ca1828da6 --- /dev/null +++ b/src/Common/src/Hosting/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common.Hosting": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Common/src/Hosting/Properties/AssemblyInfo.cs b/src/Common/src/Hosting/Properties/AssemblyInfo.cs index c073f1765b..cdcc9e9e37 100644 --- a/src/Common/src/Hosting/Properties/AssemblyInfo.cs +++ b/src/Common/src/Hosting/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Common", "Steeltoe.Common.Hosting")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration")] [assembly: InternalsVisibleTo("Steeltoe.Common.Hosting.Test")] diff --git a/src/Common/src/Http/ConfigurationSchema.json b/src/Common/src/Http/ConfigurationSchema.json new file mode 100644 index 0000000000..be28e95f0f --- /dev/null +++ b/src/Common/src/Http/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common.Http": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Common/src/Http/Properties/AssemblyInfo.cs b/src/Common/src/Http/Properties/AssemblyInfo.cs index 313de07940..0978e3a5c1 100644 --- a/src/Common/src/Http/Properties/AssemblyInfo.cs +++ b/src/Common/src/Http/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Common", "Steeltoe.Common.Http")] [assembly: InternalsVisibleTo("Steeltoe.Common.Http.Test")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.ConfigServer")] diff --git a/src/Common/src/Logging/ConfigurationSchema.json b/src/Common/src/Logging/ConfigurationSchema.json new file mode 100644 index 0000000000..4dc17d7a1f --- /dev/null +++ b/src/Common/src/Logging/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common.Logging": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Common/src/Logging/Properties/AssemblyInfo.cs b/src/Common/src/Logging/Properties/AssemblyInfo.cs index d6487d6f38..156a9a3d45 100644 --- a/src/Common/src/Logging/Properties/AssemblyInfo.cs +++ b/src/Common/src/Logging/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Common", "Steeltoe.Common.Logging")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration")] [assembly: InternalsVisibleTo("Steeltoe.Common.Logging.Test")] diff --git a/src/Common/src/Net/ConfigurationSchema.json b/src/Common/src/Net/ConfigurationSchema.json new file mode 100644 index 0000000000..d1b98cae74 --- /dev/null +++ b/src/Common/src/Net/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Common.Net": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Common/src/Net/Properties/AssemblyInfo.cs b/src/Common/src/Net/Properties/AssemblyInfo.cs index c2d054e7ae..ac25e802b1 100644 --- a/src/Common/src/Net/Properties/AssemblyInfo.cs +++ b/src/Common/src/Net/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Common", "Steeltoe.Common.Net")] [assembly: InternalsVisibleTo("Steeltoe.Common.Net.Test")] diff --git a/src/Configuration/src/Abstractions/ConfigurationSchema.json b/src/Configuration/src/Abstractions/ConfigurationSchema.json new file mode 100644 index 0000000000..4e42c281ea --- /dev/null +++ b/src/Configuration/src/Abstractions/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration.Abstractions": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Configuration/src/Abstractions/Properties/AssemblyInfo.cs b/src/Configuration/src/Abstractions/Properties/AssemblyInfo.cs index 0140d8c883..296b2a6cce 100644 --- a/src/Configuration/src/Abstractions/Properties/AssemblyInfo.cs +++ b/src/Configuration/src/Abstractions/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Configuration", "Steeltoe.Configuration.Abstractions")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.CloudFoundry")] diff --git a/src/Configuration/src/CloudFoundry/ConfigurationSchema.json b/src/Configuration/src/CloudFoundry/ConfigurationSchema.json new file mode 100644 index 0000000000..c44c85ae27 --- /dev/null +++ b/src/Configuration/src/CloudFoundry/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration.CloudFoundry": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Configuration/src/CloudFoundry/Properties/AssemblyInfo.cs b/src/Configuration/src/CloudFoundry/Properties/AssemblyInfo.cs index e15ccb54fe..a9b0b36089 100644 --- a/src/Configuration/src/CloudFoundry/Properties/AssemblyInfo.cs +++ b/src/Configuration/src/CloudFoundry/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Configuration", "Steeltoe.Configuration.CloudFoundry")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] diff --git a/src/Configuration/src/Kubernetes.ServiceBindings/ConfigurationSchema.json b/src/Configuration/src/Kubernetes.ServiceBindings/ConfigurationSchema.json new file mode 100644 index 0000000000..df9796cf2b --- /dev/null +++ b/src/Configuration/src/Kubernetes.ServiceBindings/ConfigurationSchema.json @@ -0,0 +1,20 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration.Kubernetes": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration.Kubernetes.ServiceBindings": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Configuration/src/Kubernetes.ServiceBindings/Properties/AssemblyInfo.cs b/src/Configuration/src/Kubernetes.ServiceBindings/Properties/AssemblyInfo.cs index 81a5cd3ad3..2f1ffe7ab8 100644 --- a/src/Configuration/src/Kubernetes.ServiceBindings/Properties/AssemblyInfo.cs +++ b/src/Configuration/src/Kubernetes.ServiceBindings/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Configuration", "Steeltoe.Configuration.Kubernetes", "Steeltoe.Configuration.Kubernetes.ServiceBindings")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.Kubernetes.ServiceBindings.Test")] diff --git a/src/Configuration/src/Placeholder/ConfigurationSchema.json b/src/Configuration/src/Placeholder/ConfigurationSchema.json new file mode 100644 index 0000000000..fd9d115255 --- /dev/null +++ b/src/Configuration/src/Placeholder/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration.Placeholder": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Configuration/src/Placeholder/Properties/AssemblyInfo.cs b/src/Configuration/src/Placeholder/Properties/AssemblyInfo.cs index 1a575f9ac5..db6fab0b9f 100644 --- a/src/Configuration/src/Placeholder/Properties/AssemblyInfo.cs +++ b/src/Configuration/src/Placeholder/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Configuration", "Steeltoe.Configuration.Placeholder")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.ConfigServer")] diff --git a/src/Configuration/src/RandomValue/ConfigurationSchema.json b/src/Configuration/src/RandomValue/ConfigurationSchema.json new file mode 100644 index 0000000000..049c278508 --- /dev/null +++ b/src/Configuration/src/RandomValue/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration.RandomValue": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Configuration/src/RandomValue/Properties/AssemblyInfo.cs b/src/Configuration/src/RandomValue/Properties/AssemblyInfo.cs index 11ef1de91a..e2e0837a76 100644 --- a/src/Configuration/src/RandomValue/Properties/AssemblyInfo.cs +++ b/src/Configuration/src/RandomValue/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Configuration", "Steeltoe.Configuration.RandomValue")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.RandomValue.Test")] diff --git a/src/Configuration/src/SpringBoot/ConfigurationSchema.json b/src/Configuration/src/SpringBoot/ConfigurationSchema.json new file mode 100644 index 0000000000..5082a91d02 --- /dev/null +++ b/src/Configuration/src/SpringBoot/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Configuration.SpringBoot": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Configuration/src/SpringBoot/Properties/AssemblyInfo.cs b/src/Configuration/src/SpringBoot/Properties/AssemblyInfo.cs index 6f92dcdbb9..ac320c12db 100644 --- a/src/Configuration/src/SpringBoot/Properties/AssemblyInfo.cs +++ b/src/Configuration/src/SpringBoot/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Configuration", "Steeltoe.Configuration.SpringBoot")] [assembly: InternalsVisibleTo("Steeltoe.Bootstrap.AutoConfiguration.Test")] [assembly: InternalsVisibleTo("Steeltoe.Configuration.SpringBoot.Test")] diff --git a/src/Connectors/src/EntityFrameworkCore/ConfigurationSchema.json b/src/Connectors/src/EntityFrameworkCore/ConfigurationSchema.json new file mode 100644 index 0000000000..d07e30ca58 --- /dev/null +++ b/src/Connectors/src/EntityFrameworkCore/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Connectors": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Connectors.EntityFrameworkCore": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Connectors/src/EntityFrameworkCore/Properties/AssemblyInfo.cs b/src/Connectors/src/EntityFrameworkCore/Properties/AssemblyInfo.cs index df6dc2105e..02b620e310 100644 --- a/src/Connectors/src/EntityFrameworkCore/Properties/AssemblyInfo.cs +++ b/src/Connectors/src/EntityFrameworkCore/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Connectors", "Steeltoe.Connectors.EntityFrameworkCore")] [assembly: InternalsVisibleTo("Steeltoe.Connectors.EntityFrameworkCore.Test")] diff --git a/src/Discovery/src/HttpClients/ConfigurationSchema.json b/src/Discovery/src/HttpClients/ConfigurationSchema.json new file mode 100644 index 0000000000..7543664787 --- /dev/null +++ b/src/Discovery/src/HttpClients/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Discovery": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Discovery.HttpClients": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Discovery/src/HttpClients/Properties/AssemblyInfo.cs b/src/Discovery/src/HttpClients/Properties/AssemblyInfo.cs index 5bed50d08c..61c147559d 100644 --- a/src/Discovery/src/HttpClients/Properties/AssemblyInfo.cs +++ b/src/Discovery/src/HttpClients/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Discovery", "Steeltoe.Discovery.HttpClients")] [assembly: InternalsVisibleTo("Steeltoe.Discovery.HttpClients.Test")] diff --git a/src/Logging/src/Abstractions/ConfigurationSchema.json b/src/Logging/src/Abstractions/ConfigurationSchema.json new file mode 100644 index 0000000000..4a14939b1c --- /dev/null +++ b/src/Logging/src/Abstractions/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Logging": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Logging.Abstractions": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Logging/src/Abstractions/Properties/AssemblyInfo.cs b/src/Logging/src/Abstractions/Properties/AssemblyInfo.cs index e74dba04fc..39195e6162 100644 --- a/src/Logging/src/Abstractions/Properties/AssemblyInfo.cs +++ b/src/Logging/src/Abstractions/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Logging", "Steeltoe.Logging.Abstractions")] [assembly: InternalsVisibleTo("Steeltoe.Logging.DynamicSerilog.Test")] diff --git a/src/Management/src/Abstractions/ConfigurationSchema.json b/src/Management/src/Abstractions/ConfigurationSchema.json new file mode 100644 index 0000000000..20ca549eec --- /dev/null +++ b/src/Management/src/Abstractions/ConfigurationSchema.json @@ -0,0 +1,17 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Management": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Management.Abstractions": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Management/src/Abstractions/Properties/AssemblyInfo.cs b/src/Management/src/Abstractions/Properties/AssemblyInfo.cs index e92dcc05ab..2aa6de9a8f 100644 --- a/src/Management/src/Abstractions/Properties/AssemblyInfo.cs +++ b/src/Management/src/Abstractions/Properties/AssemblyInfo.cs @@ -3,6 +3,9 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Management", "Steeltoe.Management.Abstractions")] [assembly: InternalsVisibleTo("Steeltoe.Management.Endpoint")] [assembly: InternalsVisibleTo("Steeltoe.Management.Endpoint.Test")] diff --git a/src/Management/src/Tracing/ConfigurationSchema.json b/src/Management/src/Tracing/ConfigurationSchema.json index a36a6c531c..bcccfa21ed 100644 --- a/src/Management/src/Tracing/ConfigurationSchema.json +++ b/src/Management/src/Tracing/ConfigurationSchema.json @@ -1,4 +1,19 @@ { + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Management": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Management.Tracing": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + }, "type": "object", "properties": { "Spring": { diff --git a/src/Management/src/Tracing/Properties/AssemblyInfo.cs b/src/Management/src/Tracing/Properties/AssemblyInfo.cs index 882eca9492..44d789a80e 100644 --- a/src/Management/src/Tracing/Properties/AssemblyInfo.cs +++ b/src/Management/src/Tracing/Properties/AssemblyInfo.cs @@ -7,5 +7,6 @@ using Steeltoe.Common.Configuration; [assembly: ConfigurationSchema("Spring:Application", typeof(SpringApplicationSettings))] +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Management", "Steeltoe.Management.Tracing")] [assembly: InternalsVisibleTo("Steeltoe.Management.Tracing.Test")] diff --git a/src/Security/src/Authentication.JwtBearer/ConfigurationSchema.json b/src/Security/src/Authentication.JwtBearer/ConfigurationSchema.json new file mode 100644 index 0000000000..215b1d2242 --- /dev/null +++ b/src/Security/src/Authentication.JwtBearer/ConfigurationSchema.json @@ -0,0 +1,20 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security.Authentication": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security.Authentication.JwtBearer": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Security/src/Authentication.JwtBearer/Properties/AssemblyInfo.cs b/src/Security/src/Authentication.JwtBearer/Properties/AssemblyInfo.cs index 5dbdb9307b..0b844a8323 100644 --- a/src/Security/src/Authentication.JwtBearer/Properties/AssemblyInfo.cs +++ b/src/Security/src/Authentication.JwtBearer/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Security", "Steeltoe.Security.Authentication", "Steeltoe.Security.Authentication.JwtBearer")] [assembly: InternalsVisibleTo("Steeltoe.Security.Authentication.JwtBearer.Test")] diff --git a/src/Security/src/Authentication.OpenIdConnect/ConfigurationSchema.json b/src/Security/src/Authentication.OpenIdConnect/ConfigurationSchema.json new file mode 100644 index 0000000000..59d837acda --- /dev/null +++ b/src/Security/src/Authentication.OpenIdConnect/ConfigurationSchema.json @@ -0,0 +1,20 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security.Authentication": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security.Authentication.OpenIdConnect": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Security/src/Authentication.OpenIdConnect/Properties/AssemblyInfo.cs b/src/Security/src/Authentication.OpenIdConnect/Properties/AssemblyInfo.cs index c087fbbab4..cb4419c6c0 100644 --- a/src/Security/src/Authentication.OpenIdConnect/Properties/AssemblyInfo.cs +++ b/src/Security/src/Authentication.OpenIdConnect/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Security", "Steeltoe.Security.Authentication", "Steeltoe.Security.Authentication.OpenIdConnect")] [assembly: InternalsVisibleTo("Steeltoe.Security.Authentication.OpenIdConnect.Test")] diff --git a/src/Security/src/DataProtection.Redis/ConfigurationSchema.json b/src/Security/src/DataProtection.Redis/ConfigurationSchema.json new file mode 100644 index 0000000000..1ccb69c5e4 --- /dev/null +++ b/src/Security/src/DataProtection.Redis/ConfigurationSchema.json @@ -0,0 +1,20 @@ +{ + "definitions": { + "logLevel": { + "properties": { + "Steeltoe": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security.DataProtection": { + "$ref": "#/definitions/logLevelThreshold" + }, + "Steeltoe.Security.DataProtection.Redis": { + "$ref": "#/definitions/logLevelThreshold" + } + } + } + } +} diff --git a/src/Security/src/DataProtection.Redis/Properties/AssemblyInfo.cs b/src/Security/src/DataProtection.Redis/Properties/AssemblyInfo.cs index 022305bba9..ce180d3c47 100644 --- a/src/Security/src/DataProtection.Redis/Properties/AssemblyInfo.cs +++ b/src/Security/src/DataProtection.Redis/Properties/AssemblyInfo.cs @@ -3,5 +3,8 @@ // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; +using Aspire; + +[assembly: LoggingCategories("Steeltoe", "Steeltoe.Security", "Steeltoe.Security.DataProtection", "Steeltoe.Security.DataProtection.Redis")] [assembly: InternalsVisibleTo("Steeltoe.Security.DataProtection.Redis.Test")]