Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
v0.1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
CDR-AndrewG authored Jun 9, 2022
2 parents ba3b722 + f9c0f5c commit 3c48f30
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 60 deletions.
77 changes: 36 additions & 41 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
build-and-test:
runs-on: ubuntu-latest

## NOTE: This workflow needs to also checkout the Mock Register for testing.
## NOTE: This workflow needs to also checkout the Mock Register for testing.
## This workflow will checkout the ConsumerDataRight/mock-register project

steps:
Expand All @@ -44,21 +44,17 @@ jobs:
with:
path: ./mock-data-holder-energy

- name: Checkout Register (Main Branch)
uses: actions/checkout@v2
- name: Pull Mock Register Image (main)
if: ${{ github.ref == 'refs/heads/main' }}
with:
repository: ConsumerDataRight/mock-register
ref: main
path: ./mock-register

- name: Checkout Register (Develop Branch)
uses: actions/checkout@v2
run: |
docker pull consumerdataright/mock-register:main
docker image tag consumerdataright/mock-register:main mock-register:latest
- name: Pull Mock Register Image (develop)
if: ${{ github.ref != 'refs/heads/main' }}
with:
repository: ConsumerDataRight/mock-register
ref: develop
path: ./mock-register
run: |
docker pull consumerdataright/mock-register:develop
docker image tag consumerdataright/mock-register:develop mock-register:latest
- name: List contents
if: always()
Expand All @@ -67,10 +63,7 @@ jobs:
cd mock-data-holder-energy
ls
cd ..
# Build mock-register image
- name: Build the mock-register image
run: |
docker build ./mock-register/Source --file ./mock-register/Source/Dockerfile --tag mock-register:latest
# Build mock-data-holder-energy image
- name: Build the mock-data-holder-energy image
run: |
Expand All @@ -87,6 +80,7 @@ jobs:
- name: List Docker images
run: |
docker images
# Run unit tests
- name: Run unit tests
run: |
Expand All @@ -103,34 +97,35 @@ jobs:
- name: Remove integration tests
run: |
docker-compose -f './mock-data-holder-energy/Source/docker-compose.IntegrationTests.yml' down
# Publish Unit Test Results
- name: Publish Unit Test Report
uses: dorny/test-reporter@v1
# Archive unit test results
- name: Archive unit test results
uses: actions/upload-artifact@v2
if: always()
with:
artifact: unit-test-results
name: Unit Tests
path: './mock-data-holder-energy/Source/_temp/mock-data-holder-energy-unit-tests/testresults/*.trx'
reporter: dotnet-trx
name: unit-test-results
path: ${{ github.workspace }}/mock-data-holder-energy/Source/_temp/mock-data-holder-energy-unit-tests/testresults

# Publish Integration Test Results
- name: Publish Integration Test Report
uses: dorny/test-reporter@v1
# Archive integration test results
- name: Archive integration test results
uses: actions/upload-artifact@v2
if: always()
with:
artifact: integration-test-results
name: Integration Tests
path: './mock-data-holder-energy/Source/_temp/mock-data-holder-energy-integration-tests/testresults/*.trx'
reporter: dotnet-trx
name: integration-test-results
path: ${{ github.workspace }}/mock-data-holder-energy/Source/_temp/mock-data-holder-energy-integration-tests/testresults

- name: List contents
# Archive mock data holder energy logs
- name: Archive mock data holder energy logs
uses: actions/upload-artifact@v2
if: always()
run: |
ls
# Publish log files from containers.
- name: Archive container logs
with:
name: integration-test-artifacts
path: ${{ github.workspace }}/mock-data-holder-energy/Source/_temp/mock-data-holder-energy/tmp

# Archive mock register logs
- name: Archive mock register logs
uses: actions/upload-artifact@v2
if: always()
with:
name: container-logs-artifacts
path: |
./mock-register/Source/_temp/mock-register/tmp
./mock-data-holder-energy/Source/_temp/mock-data-holder-energy/tmp
name: integration-test-artifacts
path: ${{ github.workspace }}/mock-data-holder-energy/Source/_temp/mock-register/tmp
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.1] - 2022-06-09
### Changed
- Person information in seed data.
- Build and Test action to download containers from docker hub.

### Fixed
- Intermittent issue when creating the LogEventsManageAPI database table.

## [0.1.0] - 2022-05-25

### Added
Expand Down
2 changes: 1 addition & 1 deletion CertificateManagement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Certificates play an important part in the CDR ecosystem to establish trust between participants and protect communications. **DigiCert** is the Certificate Authority (CA) for the CDR and the ACCC is responsible for provisioning DigiCert certificates to participants during the on-boarding process.

For more information, consult the [Certificate Management](https://cdr-register.github.io/register/#certificate-management) section of the Register Design.
For more information, consult the [Certificate Management](https://consumerdatastandardsaustralia.github.io/standards/#certificate-management) section of the Consumer Data Standards.

The Mock Data Holder will mimic the behaviour of a data holder in the CDR ecosystem and therefore will use certificates in its interactions. However, the use of DigiCert for this purpose is not feasible or scalable so an alternative approach is adopted.

Expand Down
30 changes: 15 additions & 15 deletions Source/CDR.DataHolder.Manage.API/Data/seed-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"LastName": "Moss",
"MiddleNames": "",
"Prefix": "Ms",
"Suffix": "",
"OccupationCode": "",
"OccupationCodeVersion": "",
"Suffix": null,
"OccupationCode": null,
"OccupationCodeVersion": null,
"LastUpdateTime": "2021-04-01T10:30:00Z"
},
"Accounts": [
Expand Down Expand Up @@ -188,9 +188,9 @@
"LastName": "Hare",
"MiddleNames": "",
"Prefix": "Ms",
"Suffix": "",
"OccupationCode": "",
"OccupationCodeVersion": "",
"Suffix": null,
"OccupationCode": null,
"OccupationCodeVersion": null,
"LastUpdateTime": "2021-12-01T10:30:00Z"
},
"Accounts": [
Expand Down Expand Up @@ -237,9 +237,9 @@
"LastName": "Johnson",
"MiddleNames": "",
"Prefix": "Mr",
"Suffix": "",
"OccupationCode": "",
"OccupationCodeVersion": "",
"Suffix": null,
"OccupationCode": null,
"OccupationCodeVersion": null,
"LastUpdateTime": "2021-07-01T10:30:00Z"
},
"Accounts": [
Expand Down Expand Up @@ -302,9 +302,9 @@
"LastName": "Wilson",
"MiddleNames": "",
"Prefix": "Mr",
"Suffix": "",
"OccupationCode": "",
"OccupationCodeVersion": "",
"Suffix": null,
"OccupationCode": null,
"OccupationCodeVersion": null,
"LastUpdateTime": "2020-03-01T10:30:00Z"
},
"Accounts": [
Expand Down Expand Up @@ -383,9 +383,9 @@
"LastName": "Robertson",
"MiddleNames": "",
"Prefix": "Mr",
"Suffix": "",
"OccupationCode": "",
"OccupationCodeVersion": "",
"Suffix": null,
"OccupationCode": null,
"OccupationCodeVersion": null,
"LastUpdateTime": "2020-05-01T10:30:00Z"
},
"Accounts": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"connectionString": "DataHolder_Energy_Logging_DB",
"sinkOptionsSection": {
"tableName": "LogEventsManageAPI",
"autoCreateSqlTable": true
"autoCreateSqlTable": false
},
"restrictedToMinimumLevel": "Verbose",
"batchPostingLimit": 1000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"connectionString": "DataHolder_Energy_Logging_DB",
"sinkOptionsSection": {
"tableName": "LogEventsManageAPI",
"autoCreateSqlTable": true
"autoCreateSqlTable": false
},
"restrictedToMinimumLevel": "Verbose",
"batchPostingLimit": 1000,
Expand Down
2 changes: 1 addition & 1 deletion Source/CDR.DataHolder.Manage.API/appsettings.Release.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"connectionString": "DataHolder_Energy_Logging_DB",
"sinkOptionsSection": {
"tableName": "LogEventsManageAPI",
"autoCreateSqlTable": true
"autoCreateSqlTable": false
},
"restrictedToMinimumLevel": "Verbose",
"batchPostingLimit": 1000,
Expand Down

0 comments on commit 3c48f30

Please sign in to comment.