Skip to content

Commit 74056aa

Browse files
CDR-AidenJCDR-CI
andauthored
v3.0.1 release (#25)
Co-authored-by: CDR Open Source <[email protected]>
1 parent 2a646a6 commit 74056aa

File tree

22 files changed

+260
-414
lines changed

22 files changed

+260
-414
lines changed

.azuredevops/pipelines/build-dr-func-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ steps:
122122
condition: always()
123123
inputs:
124124
command: login
125-
containerRegistry: $(AcrBaseUrl)
125+
containerRegistry: $(SpSharedAcr)
126126

127127
# Run trx formatter to output .MD and .CSV
128128
- script: |
129129
docker run \
130130
-v=$(Build.SourcesDirectory)/cdr-auth-server/Source/_temp/getdatarecipients-integration-tests/testresults/results.trx:/app/results.trx:ro \
131131
-v=$(Build.SourcesDirectory)/cdr-auth-server/Source/_temp/getdatarecipients-integration-tests/testresults/formatted/:/app/out/:rw \
132-
$(AcrBaseUrl).azurecr.io/trx-formatter -i results.trx -t "CDRAuthServer-GetDataRecipients" --outputprefix "CDRAuthServer-GetDataRecipients" -o out/
132+
$(SharedAcrBaseUrl).azurecr.io/trx-formatter -i results.trx -t "CDRAuthServer-GetDataRecipients" --outputprefix "CDRAuthServer-GetDataRecipients" -o out/
133133
displayName: 'Run trx-formatter'
134134
condition: always()
135135

.azuredevops/pipelines/build-v2.yml

Lines changed: 45 additions & 261 deletions
Large diffs are not rendered by default.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
resources:
2+
repositories:
3+
- repository: shared-code-scanning
4+
type: git
5+
name: Common/shared-code-scanning
6+
ref: refs/heads/main
7+
trigger: none
8+
9+
schedules:
10+
- cron: '0 17 * * 0' # Run at 17:00 Sunday night UTC (03:00+10:00 Monday Morning)
11+
displayName: 'Weekly code scan'
12+
branches:
13+
include:
14+
- develop
15+
always: true
16+
17+
# Disable standard CI build
18+
trigger: none
19+
20+
pool:
21+
vmImage: 'ubuntu-latest'
22+
23+
extends:
24+
template: pipeline-templates/code-scanning.yml@shared-code-scanning
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
parameters:
2+
- name: name # Name of the variable to set
3+
type: string
4+
- name: input
5+
type: string
6+
default: ''
7+
- name: context
8+
type: string # e.g., $(Build.SourceBranchName)
9+
10+
steps:
11+
- powershell: |
12+
$input = "${{ parameters.input }}"
13+
$context = "${{ parameters.context }}"
14+
$varName = "${{ parameters.name }}"
15+
16+
Write-Host "Setting variable: $varName"
17+
Write-Host "Input provided: $input"
18+
Write-Host "Context: $context"
19+
20+
if (-not [string]::IsNullOrWhiteSpace($input)) {
21+
Write-Host "##vso[task.setvariable variable=$varName]$input"
22+
Write-Host "Used provided value for ${varName}: ${input}"
23+
} else {
24+
switch -Wildcard ($context) {
25+
"main" { $value = "main-latest" }
26+
"develop" { $value = "develop-latest" }
27+
"*release*" { $value = "main-latest" }
28+
default { $value = "develop-latest" }
29+
}
30+
Write-Host "Resolved ${varName} to: ${value}"
31+
Write-Host "##vso[task.setvariable variable=$varName]$value"
32+
}
33+
displayName: 'Set ${{ parameters.name }} variable'
Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
1-
**Checklist:** (Put an `x` in all the boxes that apply)
2-
- [ ] My code follows the code style of this project.
3-
- [ ] I have set this Pull Request to Auto Complete with the delete source branch option selected.
4-
- [ ] Commented out code has been removed or will be removed.
5-
- [ ] I have updated the documentation accordingly.
6-
- [ ] I have added tests to cover my changes.
7-
- [ ] All new and existing tests passed.
8-
- [ ] I have updated the `CHANGELOG.md` file as appropriate.
9-
10-
11-
**What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
12-
13-
14-
15-
**What is the current behavior?** (You can also link to an open issue here)
1+
**What is the new behaviour?**
162

3+
(if this is a feature change)
174

5+
**Does this PR introduce a breaking change?**
186

19-
**What is the new behavior?** (if this is a feature change)
20-
21-
22-
23-
**Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?)
7+
(What changes might users need to make in their application due to this PR?)
248

9+
**Other information**:
2510

11+
**Checklist:** (Put an `x` in all the boxes that apply)
2612

27-
**Other information**:
13+
- [ ] I have set this Pull Request to auto complete with the delete source branch option selected.
14+
- [ ] I have updated the documentation in confluence or relevant readme.md text accordingly.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [3.0.1] - 2025-06-19
10+
11+
### Changed
12+
- Fixed multiple build warnings to improve code quality and maintainability
13+
914
## [3.0.0] - 2025-03-19
1015

1116
### Changed

Help/container/HELP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<p>2. Run the Authorisation Server container</p>
1212

1313
<span style="display:inline-block;margin-left:1em;">
14-
docker run -d -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Pa{}w0rd2019" -p 1433:1433 --name mssql -h sql1 -d mcr.microsoft.com/mssql/server:2022-latest
14+
docker run -d -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=Pa{}w0rd2019" -p 1433:1433 --name mssql -h sql1 -d mcr.microsoft.com/mssql/server:2022-latest
1515
docker run -d -h authorisation-server -p 8001:8001 -p 3000:3000 --add-host=mssql:host-gateway --name authorisation-server consumerdataright/authorisation-server<br \>
1616
<br \><br \>
1717
Please note - This docker compose file utilises the Microsoft SQL Server Image from Docker Hub.<br \>
@@ -28,7 +28,7 @@
2828
open a command prompt and execute the following;<br \>
2929
docker build -f Dockerfile.standalone -t authorisation-server .<br \>
3030
Please note - By default, the container above will be using a MS SQL database container, using this command from a MS Windows command prompt will run the database,<br \>
31-
docker run -d -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Pa{}w0rd2019" -p 1433:1433 --name mssql -h sql1 -d mcr.microsoft.com/mssql/server:2022-latest
31+
docker run -d -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=Pa{}w0rd2019" -p 1433:1433 --name mssql -h sql1 -d mcr.microsoft.com/mssql/server:2022-latest
3232
docker run -d -h authorisation-server -p 8001:8001 -p 3000:3000 --add-host=mssql:host-gateway --name authorisation-server authorisation-server<br \><br \>
3333
</span>
3434

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![Consumer Data Right Logo](./Assets/cdr-logo.png?raw=true)
22

3-
[![Consumer Data Standards v1.33.0](https://img.shields.io/badge/Consumer%20Data%20Standards-v1.33.0-blue.svg)](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.33.0/#introduction)
3+
[![Consumer Data Standards v1.34.0](https://img.shields.io/badge/Consumer%20Data%20Standards-v1.34.0-blue.svg)](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.34.0/#introduction)
44
[![Conformance Test Suite Data Recipients 4.4.0](https://img.shields.io/badge/Conformance%20Test%20Suite%20Data%20Recipients-v4.4.0-darkblue.svg)](https://www.cdr.gov.au/for-providers/conformance-test-suite-data-recipients)
55
[![FAPI 1.0 Advanced Profile](https://img.shields.io/badge/FAPI%201.0-orange.svg)](https://openid.net/specs/openid-financial-api-part-2-1_0.html)
66
[![made-with-dotnet](https://img.shields.io/badge/Made%20with-.NET-1f425Ff.svg)](https://dotnet.microsoft.com/)
@@ -16,7 +16,7 @@ The project is used in the Participant Tooling Authorisation Server, providing t
1616
## Authorisation Server - Alignment
1717
The Authorisation Server:
1818

19-
- aligns to [v1.33.0](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.33.0/#introduction) of the [Consumer Data Standards](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.33.0/#introduction) in particular [FAPI 1.0 Migration Phase 4](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.33.0/#introduction) with backwards compatibility to Migration Phase 2 and 3;
19+
- aligns to [v1.34.0](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.34.0/#introduction) of the [Consumer Data Standards](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.34.0/#introduction) in particular [FAPI 1.0 Migration Phase 4](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.34.0/#introduction) with backwards compatibility to Migration Phase 2 and 3;
2020
- has passed v4.4.0 of the [Conformance Test Suite for Data Recipients](https://www.cdr.gov.au/for-providers/conformance-test-suite-data-recipients);
2121
and
2222
- is certified with the [FAPI 1.0 Advanced Profile](https://openid.net/specs/openid-financial-api-part-2-1_0.html) .

Source/CdrAuthServer.API.Logger/CdrAuthServer.API.Logger.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Azure.Identity" Version="1.13.1" />
14+
<PackageReference Include="Azure.Identity" Version="1.13.2" />
1515
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.7" />
16-
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.1" />
16+
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
1717
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
1818
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
1919
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.2" />

Source/CdrAuthServer.GetDataRecipients.IntegrationTests/CdrAuthServer.GetDataRecipients.IntegrationTests.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<ItemGroup>
2323
<PackageReference Include="FluentAssertions" Version="6.12.0" />
2424
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.7" />
25-
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.1" />
25+
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
2626
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" />
2727
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
2828
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
@@ -44,16 +44,16 @@
4444
</PackageReference>
4545
<PackageReference Include="Dapper" Version="2.1.35" />
4646

47-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.7" />
48-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.7">
47+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.14" />
48+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.14">
4949
<PrivateAssets>all</PrivateAssets>
5050
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5151
</PackageReference>
52-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
53-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.7">
52+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
53+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.14">
5454
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5555
<PrivateAssets>all</PrivateAssets>
5656
</PackageReference>
57-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.7" />
57+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.14" />
5858
</ItemGroup>
5959
</Project>

0 commit comments

Comments
 (0)