-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the workflow tempalte to use SonarCloud and added more libraries
- Loading branch information
Farshad DASHTI
authored and
Farshad DASHTI
committed
Oct 4, 2024
1 parent
c609926
commit ed87306
Showing
53 changed files
with
1,636 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Build DfE.CoreLibs.AsyncProcessing | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'src/DfE.CoreLibs.AsyncProcessing/**' | ||
|
||
jobs: | ||
build-and-test: | ||
uses: ./.github/workflows/build-test-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.AsyncProcessing | ||
project_path: src/DfE.CoreLibs.AsyncProcessing | ||
sonar_project_key: DFE-Digital_corelibs-asyncprocessing |
This file was deleted.
Oops, something went wrong.
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,16 @@ | ||
name: Build DfE.CoreLibs.Contracts | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'src/DfE.CoreLibs.Contracts/**' | ||
|
||
jobs: | ||
build-and-test: | ||
uses: ./.github/workflows/build-test-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.Contracts | ||
project_path: src/DfE.CoreLibs.Contracts | ||
sonar_project_key: DFE-Digital_corelibs-contracts |
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,16 @@ | ||
name: Build DfE.CoreLibs.Http | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'src/DfE.CoreLibs.Http/**' | ||
|
||
jobs: | ||
build-and-test: | ||
uses: ./.github/workflows/build-test-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.Http | ||
project_path: src/DfE.CoreLibs.Http | ||
sonar_project_key: DFE-Digital_corelibs-http |
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,16 @@ | ||
name: Build DfE.CoreLibs.Utilities | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'src/DfE.CoreLibs.Utilities/**' | ||
|
||
jobs: | ||
build-and-test: | ||
uses: ./.github/workflows/build-test-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.Utilities | ||
project_path: src/DfE.CoreLibs.Utilities | ||
sonar_project_key: DFE-Digital_corelibs-utilities |
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,15 @@ | ||
name: Pack DfE.CoreLibs.AsyncProcessing | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Build DfE.CoreLibs.AsyncProcessing"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build-and-package: | ||
uses: ./.github/workflows/nuget-package-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.AsyncProcessing | ||
project_path: src/DfE.CoreLibs.AsyncProcessing | ||
nuget_package_name: DfE.CoreLibs.AsyncProcessing |
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
name: Pack DfE.CoreLibs.Contracts | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Build DfE.CoreLibs.Contracts"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build-and-package: | ||
uses: ./.github/workflows/nuget-package-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.Contracts | ||
project_path: src/DfE.CoreLibs.Contracts | ||
nuget_package_name: DfE.CoreLibs.Contracts |
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,15 @@ | ||
name: Pack DfE.CoreLibs.Http | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Build DfE.CoreLibs.Http"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build-and-package: | ||
uses: ./.github/workflows/nuget-package-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.Http | ||
project_path: src/DfE.CoreLibs.Http | ||
nuget_package_name: DfE.CoreLibs.Http |
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,15 @@ | ||
name: Pack DfE.CoreLibs.Utilities | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["Build DfE.CoreLibs.Utilities"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build-and-package: | ||
uses: ./.github/workflows/nuget-package-template.yml | ||
with: | ||
project_name: DfE.CoreLibs.Utilities | ||
project_path: src/DfE.CoreLibs.Utilities | ||
nuget_package_name: DfE.CoreLibs.Utilities |
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
2 changes: 1 addition & 1 deletion
2
...ice/Interfaces/IBackgroundServiceEvent.cs → ...ing/Interfaces/IBackgroundServiceEvent.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
2 changes: 1 addition & 1 deletion
2
...erfaces/IBackgroundServiceEventHandler.cs → ...erfaces/IBackgroundServiceEventHandler.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
2 changes: 1 addition & 1 deletion
2
...e/Interfaces/IBackgroundServiceFactory.cs → ...g/Interfaces/IBackgroundServiceFactory.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
4 changes: 2 additions & 2 deletions
4
...undService/ServiceCollectionExtensions.cs → ...Processing/ServiceCollectionExtensions.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
4 changes: 2 additions & 2 deletions
4
...vice/Services/BackgroundServiceFactory.cs → ...sing/Services/BackgroundServiceFactory.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
File renamed without changes.
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ public static IServiceCollection AddServiceCaching( | |
return services; | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
src/DfE.CoreLibs.Contracts/Academies/V1/EducationalPerformance/SchoolAbsenceDataDto.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,26 @@ | ||
namespace DfE.CoreLibs.Contracts.Academies.V1.EducationalPerformance | ||
{ | ||
/// <summary> | ||
/// Absence Data Response | ||
/// </summary> | ||
public class SchoolAbsenceDataDto | ||
{ | ||
/// <summary> | ||
/// Acdemic Year | ||
/// </summary> | ||
public string Year { get; set; } | ||
|
||
/// <summary> | ||
///Percentage of possible mornings or afternoons recorded as an absence from school for whatever reason, | ||
///whether authorised or unauthorised, across the full academic year. | ||
/// </summary> | ||
public string? OverallAbsence { get; set; } | ||
|
||
/// <summary> | ||
///The percentage of pupils missing 10% or more of the mornings or afternoons they could attend, | ||
///meaning that if a pupil’s overall rate of absence is 10% or higher across the full academic | ||
///year they will be classified as persistently absent. | ||
/// </summary> | ||
public string? PersistentAbsence { 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,17 @@ | ||
namespace DfE.CoreLibs.Contracts.Academies.V4; | ||
|
||
[Serializable] | ||
public class AddressDto | ||
{ | ||
public string Street { get; set; } | ||
|
||
public string Town { get; set; } | ||
|
||
public string County { get; set; } | ||
|
||
public string Postcode { get; set; } | ||
|
||
public string Locality { get; set; } | ||
|
||
public string Additional { get; set; } | ||
} |
Oops, something went wrong.