Skip to content

Commit

Permalink
Move ConfigConstants to MicroserviceConstants
Browse files Browse the repository at this point in the history
  • Loading branch information
2nnar committed Dec 3, 2024
1 parent 34a585e commit 94aa5f5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 28 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Monq.Core.BasicDotNetMicroservice;
/// <summary>
/// Unified microservice constants.
/// </summary>
public class MicroserviceConstants
public static class MicroserviceConstants
{
/// <summary>
/// Http header containing logging event Id.
Expand Down Expand Up @@ -39,6 +39,32 @@ public class MicroserviceConstants
/// </summary>
public const string CertsDirDefault = "/certs";

/// <summary>
/// Configuration constants.
/// </summary>
public static class ConfigConstants
{
/// <summary>
/// Redis section.
/// </summary>
public const string Redis = "Redis";

/// <summary>
/// RabbitMQ section.
/// </summary>
public const string RabbitMq = "RabbitMQ";

/// <summary>
/// ClickHouse connection string.
/// </summary>
public const string ClickHouseConnectionString = "ClickHouseHttp:DefaultConnection:ConnectionString";

/// <summary>
/// PostgreSQL connection string.
/// </summary>
public const string PostgresConnectionString = "PostgreSQL:DefaultConnection:ConnectionString";
}

internal static class HostConfiguration
{
public const string ConsulConfigFileEnv = "CONSUL_CONFIG_FILE";
Expand Down

0 comments on commit 94aa5f5

Please sign in to comment.