-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release 0.0.16 * Bump HIC.BadMedicine from 1.1.0 to 1.1.1 * Bump SixLabors.ImageSharp.Drawing from 1.0.0-beta15 to 2.0.0 * Bump SixLabors.ImageSharp from 2.1.3 to 3.0.2
- Loading branch information
Showing
32 changed files
with
1,729 additions
and
1,781 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "develop" ] | ||
pull_request: | ||
branches: [ "develop" ] | ||
schedule: | ||
- cron: "22 19 * * 4" | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ csharp ] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
queries: +security-and-quality | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{ matrix.language }}" |
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,8 +1,10 @@ | ||
namespace BadDicom.Configuration | ||
using YamlDotNet.Serialization; | ||
|
||
namespace BadDicom.Configuration; | ||
|
||
[YamlSerializable] | ||
internal class Config | ||
{ | ||
class Config | ||
{ | ||
public TargetDatabase Database { get;set; } | ||
public ExplicitUIDs UIDs { get; set; } | ||
} | ||
public TargetDatabase? Database { get;set; } | ||
public ExplicitUIDs? UIDs { get; set; } | ||
} |
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,8 @@ | ||
using YamlDotNet.Serialization; | ||
|
||
namespace BadDicom.Configuration; | ||
|
||
[YamlStaticContext] | ||
public partial class ConfigContext : StaticContext | ||
{ | ||
} |
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,46 +1,47 @@ | ||
using FAnsi; | ||
using YamlDotNet.Serialization; | ||
|
||
namespace BadDicom.Configuration | ||
namespace BadDicom.Configuration; | ||
|
||
/// <summary> | ||
/// Identify the target database and configuration for generated data | ||
/// </summary> | ||
[YamlSerializable] | ||
public class TargetDatabase | ||
{ | ||
/// <summary> | ||
/// Identify the target database and configuration for generated data | ||
/// Which RDBMS the database is (MySQL, Microsoft SQL Server, etc) | ||
/// </summary> | ||
public DatabaseType DatabaseType { get; set; } | ||
/// <summary> | ||
/// The ConnectionString containing the server name, credentials and other parameters for the connection | ||
/// </summary> | ||
public class TargetDatabase | ||
{ | ||
/// <summary> | ||
/// Which RDBMS the database is (MySQL, Microsoft SQL Server, etc) | ||
/// </summary> | ||
public DatabaseType DatabaseType { get; set; } | ||
/// <summary> | ||
/// The ConnectionString containing the server name, credentials and other parameters for the connection | ||
/// </summary> | ||
public string ConnectionString { get; set; } | ||
public string? ConnectionString { get; set; } | ||
|
||
/// <summary> | ||
/// The name of database | ||
/// </summary> | ||
public string DatabaseName { get; set; } | ||
/// <summary> | ||
/// The name of database | ||
/// </summary> | ||
public string? DatabaseName { get; set; } | ||
|
||
/// <summary> | ||
/// The filename of a YAML template file to be used for this database | ||
/// </summary> | ||
public string Template { get; set; } | ||
/// <summary> | ||
/// The filename of a YAML template file to be used for this database | ||
/// </summary> | ||
public string? Template { get; set; } | ||
|
||
/// <summary> | ||
/// Pass true to create tables from template that do not have primary key. Do bulk insert | ||
/// then deduplicate final tables and recreate primary key | ||
/// </summary> | ||
public bool MakeDistinct { get; set; } | ||
/// <summary> | ||
/// Pass true to create tables from template that do not have primary key. Do bulk insert | ||
/// then deduplicate final tables and recreate primary key | ||
/// </summary> | ||
public bool MakeDistinct { get; set; } | ||
|
||
/// <summary> | ||
/// Set to true to drop and recreate tables described in the Template | ||
/// </summary> | ||
public bool DropTables { get; set; } | ||
/// <summary> | ||
/// Set to true to drop and recreate tables described in the Template | ||
/// </summary> | ||
public bool DropTables { get; set; } | ||
|
||
/// <summary> | ||
/// The number of parallel batches to execute (each batch gets the full count of studies | ||
/// then they are merged at the end). | ||
/// </summary> | ||
public int Batches { get; set; } = 1; | ||
} | ||
} | ||
/// <summary> | ||
/// The number of parallel batches to execute (each batch gets the full count of studies | ||
/// then they are merged at the end). | ||
/// </summary> | ||
public int Batches { get; set; } = 1; | ||
} |
Oops, something went wrong.