-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
252 changed files
with
9,728 additions
and
975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
pull_request_rules: | ||
- name: update pull request | ||
conditions: | ||
- label!=wip | ||
- label != wip | ||
- author != renovate[bot] | ||
actions: | ||
update: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="SSE Server" type="LaunchSettings" factoryName=".NET Launch Settings Profile"> | ||
<option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/Applications/SseServer/src/SseServer/SseServer.csproj"/> | ||
<option name="LAUNCH_PROFILE_TFM" value="net8.0"/> | ||
<option name="LAUNCH_PROFILE_NAME" value="Default"/> | ||
<option name="USE_EXTERNAL_CONSOLE" value="0"/> | ||
<option name="USE_MONO" value="0"/> | ||
<option name="RUNTIME_ARGUMENTS" value=""/> | ||
<option name="GENERATE_APPLICATIONHOST_CONFIG" value="1"/> | ||
<option name="SHOW_IIS_EXPRESS_OUTPUT" value="0"/> | ||
<option name="SEND_DEBUG_REQUEST" value="1"/> | ||
<option name="ADDITIONAL_IIS_EXPRESS_ARGUMENTS" value=""/> | ||
<method v="2"> | ||
<option name="Build"/> | ||
</method> | ||
</configuration> | ||
</component> | ||
<configuration default="false" name="SSE Server" type="LaunchSettings" factoryName=".NET Launch Settings Profile"> | ||
<option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/Applications/SseServer/src/SseServer/SseServer.csproj" /> | ||
<option name="LAUNCH_PROFILE_TFM" value="net9.0" /> | ||
<option name="LAUNCH_PROFILE_NAME" value="Default" /> | ||
<option name="USE_EXTERNAL_CONSOLE" value="0" /> | ||
<option name="USE_MONO" value="0" /> | ||
<option name="RUNTIME_ARGUMENTS" value="" /> | ||
<option name="GENERATE_APPLICATIONHOST_CONFIG" value="1" /> | ||
<option name="SHOW_IIS_EXPRESS_OUTPUT" value="0" /> | ||
<option name="SEND_DEBUG_REQUEST" value="1" /> | ||
<option name="ADDITIONAL_IIS_EXPRESS_ARGUMENTS" value="" /> | ||
<method v="2"> | ||
<option name="Build" /> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
Applications/AdminApi/src/AdminApi/Configuration/AnnouncementsConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
using Backbone.Modules.Announcements.Application; | ||
|
||
namespace Backbone.AdminApi.Configuration; | ||
|
||
public class AnnouncementsConfiguration | ||
{ | ||
[Required] | ||
public ApplicationOptions Application { get; set; } = new(); | ||
|
||
[Required] | ||
public InfrastructureConfiguration Infrastructure { get; set; } = new(); | ||
|
||
public class InfrastructureConfiguration | ||
{ | ||
[Required] | ||
public SqlDatabaseConfiguration SqlDatabase { get; set; } = new(); | ||
|
||
public class SqlDatabaseConfiguration | ||
{ | ||
[Required] | ||
[MinLength(1)] | ||
[RegularExpression("SqlServer|Postgres")] | ||
public string Provider { get; set; } = string.Empty; | ||
|
||
[Required] | ||
[MinLength(1)] | ||
public string ConnectionString { get; set; } = string.Empty; | ||
|
||
[Required] | ||
public bool EnableHealthCheck { get; set; } = true; | ||
} | ||
} | ||
} |
Oops, something went wrong.