Skip to content

Commit 0a49c8b

Browse files
authored
v2.1.0 release (#80)
2 parents 07fa78f + 7d91344 commit 0a49c8b

File tree

96 files changed

+2098
-1157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2098
-1157
lines changed

.azuredevops/pipelines/build-dcr-func.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
schedules:
2+
- cron: '0 5 * * 0'
3+
displayName: 'Run at 5:00 AM every Sunday (UTC)'
4+
always: true
5+
branches:
6+
include:
7+
- develop
8+
19
trigger:
210
- develop
311
- main
@@ -8,10 +16,10 @@ pool:
816

917
steps:
1018
- task: UseDotNet@2
11-
displayName: 'Install .NET 6 SDK'
19+
displayName: 'Install .NET 8 SDK'
1220
inputs:
1321
packageType: 'sdk'
14-
version: '6.0.x'
22+
version: '8.0.x'
1523
performMultiLevelLookup: true
1624

1725
- script: |

.azuredevops/pipelines/build-dh-func.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
schedules:
2+
- cron: '0 5 * * 0'
3+
displayName: 'Run at 5:00 AM every Sunday (UTC)'
4+
always: true
5+
branches:
6+
include:
7+
- develop
8+
19
trigger:
210
- develop
311
- main
@@ -8,10 +16,10 @@ pool:
816

917
steps:
1018
- task: UseDotNet@2
11-
displayName: 'Install .NET 6 SDK'
19+
displayName: 'Install .NET 8 SDK'
1220
inputs:
1321
packageType: 'sdk'
14-
version: '6.0.x'
22+
version: '8.0.x'
1523
performMultiLevelLookup: true
1624

1725
- script: |

.azuredevops/pipelines/build-no-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ steps:
5959
condition: always()
6060
inputs:
6161
packageType: sdk
62-
version: '6.0.x'
62+
version: '8.0.x'
6363
performMultiLevelLookup: true
6464

6565
- task: CmdLine@2

.azuredevops/pipelines/build-v2.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Build pipeline v2 (Containerised)
1+
schedules:
2+
- cron: '0 5 * * 0'
3+
displayName: 'Run at 5:00 AM every Sunday (UTC)'
4+
always: true
5+
branches:
6+
include:
7+
- develop
8+
29

310
variables:
411

@@ -194,18 +201,18 @@ jobs:
194201
artifact: Mock-Data-Recipient - E2E tests
195202

196203
- task: UseDotNet@2
197-
displayName: 'Use .NET 6 sdk'
204+
displayName: 'Use .NET 8 sdk'
198205
condition: always()
199206
inputs:
200207
packageType: sdk
201-
version: '6.0.x'
208+
version: '8.0.x'
202209
performMultiLevelLookup: true
203210

204211
- task: CmdLine@2
205212
displayName: 'Install dotnet-ef'
206213
condition: always()
207214
inputs:
208-
script: 'dotnet tool install --version 7.0.13 --global dotnet-ef'
215+
script: 'dotnet tool install --version 8.0.4 --global dotnet-ef'
209216

210217
- task: CmdLine@2
211218
displayName: 'Check dotnet-ef version'

.github/workflows/docker.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ on:
1212
- '.github/ISSUE_TEMPLATE/**'
1313
- '.github/pull_request_template.md'
1414
- '.github/stale.yml'
15-
- 'LICENSE'
16-
- 'Postman/**'
15+
- 'LICENSE'
1716
pull_request:
1817
branches: [main, develop]
1918
types: [opened, synchronize, reopened]
@@ -24,8 +23,7 @@ on:
2423
- '.github/ISSUE_TEMPLATE/**'
2524
- '.github/pull_request_template.md'
2625
- '.github/stale.yml'
27-
- 'LICENSE'
28-
- 'Postman/**'
26+
- 'LICENSE'
2927

3028
env:
3129
DOCKER_IMAGE: consumerdataright/mock-data-recipient
@@ -36,11 +34,11 @@ jobs:
3634

3735
steps:
3836
- name: Checkout
39-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
4038

4139
- name: Setup Docker Metadata
4240
id: meta
43-
uses: docker/metadata-action@v3
41+
uses: docker/metadata-action@v5
4442
with:
4543
# list of Docker images to use as base name for tags
4644
images: |
@@ -54,21 +52,21 @@ jobs:
5452
type=semver,pattern={{major}}
5553
5654
- name: Setup Docker QEMU
57-
uses: docker/setup-qemu-action@v1
55+
uses: docker/setup-qemu-action@v3
5856

5957
- name: Setup Docker Buildx
60-
uses: docker/setup-buildx-action@v1
58+
uses: docker/setup-buildx-action@v3
6159

6260
- name: Login to DockerHub
6361
if: ${{ github.repository_owner == 'ConsumerDataRight' && github.event_name != 'pull_request' }}
64-
uses: docker/login-action@v1
62+
uses: docker/login-action@v3
6563
with:
6664
username: ${{ secrets.DOCKERHUB_USERNAME }}
6765
password: ${{ secrets.DOCKERHUB_TOKEN }}
6866

6967
- name: Build and push Docker image
7068
id: docker_build
71-
uses: docker/build-push-action@v2
69+
uses: docker/build-push-action@v6
7270
with:
7371
context: ./Source
7472
file: ./Source/Dockerfile

.github/workflows/dotnet.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on:
1010
- '.github/ISSUE_TEMPLATE/**'
1111
- '.github/pull_request_template.md'
1212
- '.github/stale.yml'
13-
- 'LICENSE'
14-
- 'Postman/**'
13+
- 'LICENSE'
1514
pull_request:
1615
branches: [ main, develop ]
1716
types: [opened, synchronize, reopened]
@@ -22,8 +21,7 @@ on:
2221
- '.github/ISSUE_TEMPLATE/**'
2322
- '.github/pull_request_template.md'
2423
- '.github/stale.yml'
25-
- 'LICENSE'
26-
- 'Postman/**'
24+
- 'LICENSE'
2725

2826
env:
2927
buildConfiguration: 'Release'

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [2.1.0] - 2024-08-16
10+
### Changed
11+
- Updated nuget package versions
12+
13+
## [2.0.0] - 2024-06-12
14+
### Changed
15+
- Migrated from .NET 6 to .NET 8
16+
- Migrated docker compose from v1 to v2
17+
18+
## [1.3.0] - 2024-03-13
19+
### Changed
20+
- Removed Bank Participant Data scope (i.e. cdr-register:bank:read) references.
21+
- Updated NuGet packages to avoid vulnerabilities.
22+
- DCR and PAR screen defaults to Authorisation Code Flow (ACF).
23+
24+
### Fixed
25+
- Fixed Consumer Data Sharing Common swagger proxy UI failure due to 'IndustryName' validation - [Mock Data Recipient Issue 68](https://github.com/ConsumerDataRight/mock-data-recipient/issues/68)
26+
927
## [1.2.5] - 2023-11-29
1028
### Fixed
1129
- Refactored code and minor bug fixes

Help/azurefunctions/HELP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ azurite --silent --location c:\azurite --debug c:\azurite\debug.log
4545

4646
```
4747
navigate to .\mock-data-holder\Source\CDR.GetDataRecipients
48-
func start --verbose
48+
func host start --verbose
4949
```
5050

5151
<div style="margin-left:18px;">

Help/container/HELP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Example of accepting the `ACCEPT_EULA` environment variable of the SQL Server co
4949
```
5050
mssql:
5151
container_name: sql1
52-
image: 'mcr.microsoft.com/mssql/server:2019-latest'
52+
image: 'mcr.microsoft.com/mssql/server:2022-latest'
5353
ports:
5454
- '1433:1433'
5555
environment:
@@ -109,7 +109,7 @@ docker build -f Dockerfile -t mock-data-recipient .
109109
```
110110
Run the SQL Server image.
111111
```
112-
docker run -d -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Pa{}w0rd2019" -p 1433:1433 --name sql1 -h sql1 -d mcr.microsoft.com/mssql/server:2019-latest
112+
docker run -d -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Pa{}w0rd2019" -p 1433:1433 --name sql1 -h sql1 -d mcr.microsoft.com/mssql/server:2022-latest
113113
```
114114
Run the new docker image.
115115
```

README.md

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

3-
[![Consumer Data Standards v1.27.0](https://img.shields.io/badge/Consumer%20Data%20Standards-v1.27.0-blue.svg)](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.27.0/#introduction)
3+
[![Consumer Data Standards v1.31.0](https://img.shields.io/badge/Consumer%20Data%20Standards-v1.31.0-blue.svg)](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.31.0/#introduction)
44
[![made-with-dotnet](https://img.shields.io/badge/Made%20with-.NET-1f425Ff.svg)](https://dotnet.microsoft.com/)
55
[![made-with-csharp](https://img.shields.io/badge/Made%20with-C%23-1f425Ff.svg)](https://docs.microsoft.com/en-us/dotnet/csharp/)
66
[![MIT License](https://img.shields.io/github/license/ConsumerDataRight/mock-data-recipient)](./LICENSE)
@@ -13,7 +13,7 @@ This repository contains a mock implementation of a Data Recipient and is offere
1313

1414
## Mock Data Recipient - Alignment
1515
The Mock Data Recipient in this release:
16-
* aligns to [v1.27.0](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.27.0/#introduction) of the [Consumer Data Standards](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.27.0/#introduction);
16+
* aligns to [v1.31.0](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.31.0/#introduction) of the [Consumer Data Standards](https://consumerdatastandardsaustralia.github.io/standards-archives/standards-1.31.0/#introduction);
1717
* can connect to and complete authentication against both [FAPI 1.0 Migration Phase 2 and Phase 3](https://consumerdatastandardsaustralia.github.io/standards/#authentication-flows) compliant data holders.
1818

1919
## Getting Started
@@ -89,7 +89,7 @@ The Mock Data Recipient contains the following components:
8989
- Used internally within the Mock Data Recipient to simplify interactions with the Register and Data Holders.
9090
- Azure Functions
9191
- Azure Functions that can automate the continuous Get Data Holders discovery and Dynamic Client Registration process.
92-
- For each Data Holder retrieved from the Register, a message will be added to the DynamicClietnRegistration queue. A function listening to the queue, will pick up the message and attempt to register the Data Recipient with the Data Holder.
92+
- For each Data Holder retrieved from the Register, a message will be added to the DynamicClientRegistration queue. A function listening to the queue, will pick up the message and attempt to register the Data Recipient with the Data Holder.
9393
- To get help on the Azure Functions, see the [help guide](./Help/azurefunctions/HELP.md).
9494
- Repository
9595
- A SQL repository is included that contains local data used within the Mock Data Recipient.
@@ -100,7 +100,7 @@ The Mock Data Recipient contains the following components:
100100

101101
## Technology Stack
102102
The following technologies have been used to build the Mock Data Recipient:
103-
- The source code has been written in `C#` using the `.Net 6` framework.
103+
- The source code has been written in `C#` using the `.Net 8` framework.
104104
- The Repository utilises a `SQL` instance.
105105

106106
# Testing
@@ -125,4 +125,4 @@ See our [security policy](./SECURITY.md) for information on security controls, r
125125
[MIT License](./LICENSE)
126126

127127
# Notes
128-
The Mock Data Recipient is provided as a development tool only. It conforms to the Consumer Data Standards.
128+
The Mock Data Recipient is provided as a development tool only. It conforms to the Consumer Data Standards.

0 commit comments

Comments
 (0)