From fa3d92404e5ec6b65cb20994eee7c35fb5c69481 Mon Sep 17 00:00:00 2001 From: Nils Berge <60594671+nils-work@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:14:03 +1000 Subject: [PATCH] Corrected authorisations reqt in Get Metrics v4/v5 Addresses comment: https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599#issuecomment-1691010927 --- slate/source/includes/_admin.md.erb | 4 ++++ slate/source/includes/obsolete/get-metrics-v4.html.md | 2 +- .../source/includes/releasenotes/releasenotes.1.27.0.html.md | 1 + swagger-gen/api/cds_admin.json | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/slate/source/includes/_admin.md.erb b/slate/source/includes/_admin.md.erb index 63c0c7cc..2f81fb12 100644 --- a/slate/source/includes/_admin.md.erb +++ b/slate/source/includes/_admin.md.erb @@ -16,4 +16,8 @@ for Get Metrics v3 Corrected the obligation date for Get Metrics v5 ``` +```diff +Corrected the requirement for the authorisations property of Get Metrics v4 and v5 to be mandatory +``` + <%= partial "includes/cds_admin.md" %> diff --git a/slate/source/includes/obsolete/get-metrics-v4.html.md b/slate/source/includes/obsolete/get-metrics-v4.html.md index 08c69653..93a6918d 100644 --- a/slate/source/includes/obsolete/get-metrics-v4.html.md +++ b/slate/source/includes/obsolete/get-metrics-v4.html.md @@ -797,7 +797,7 @@ This operation may only be called by the CDR Register |» customerCount|[NaturalNumber](#common-field-types)|mandatory|Number of customers with active authorisations at the time of the call| |» recipientCount|[NaturalNumber](#common-field-types)|mandatory|Number of Data Recipient Software Products with active authorisations at the time of the call| |» secondaryHolder|[SecondaryHolderMetricsV2](#schemacdr-admin-apisecondaryholdermetricsv2)|conditional|Errors and rejections received by the primary data holder from the secondary data holder. Mandatory for data holders designated for a Shared Responsibility Data Request data cluster| -|» authorisations|[AuthorisationMetrics](#schemacdr-admin-apiauthorisationmetrics)|optional|Authorisation counts for the data holder| +|» authorisations|[AuthorisationMetrics](#schemacdr-admin-apiauthorisationmetrics)|mandatory|Authorisation counts for the data holder| |links|[Links](#schemacdr-admin-apilinks)|mandatory|none| |meta|[Meta](#schemacdr-admin-apimeta)|optional|none| diff --git a/slate/source/includes/releasenotes/releasenotes.1.27.0.html.md b/slate/source/includes/releasenotes/releasenotes.1.27.0.html.md index 96a5ad81..ba2e5421 100644 --- a/slate/source/includes/releasenotes/releasenotes.1.27.0.html.md +++ b/slate/source/includes/releasenotes/releasenotes.1.27.0.html.md @@ -49,6 +49,7 @@ No Change |Change|Description|Link| |------|-----------|----| | Corrected typos | **[Standards Maintenance #599](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599):** Corrected descriptions mentioning electricity in the EnergyInvoiceGasUsageCharges schema. Addresses [this issue comment](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599#issuecomment-1678450294) | [Energy APIs](../../#energy-apis) | +| Corrected requirement | **[Standards Maintenance #599](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599):** Corrected the requirement for the authorisations property of Get Metrics v4 and v5 to be mandatory. Addresses [this issue comment](https://github.com/ConsumerDataStandardsAustralia/standards-maintenance/issues/599#issuecomment-1691010927) | [Admin APIs](../../#admin-apis) | ## Information Security Profile diff --git a/swagger-gen/api/cds_admin.json b/swagger-gen/api/cds_admin.json index b10b4e64..0ca9418b 100644 --- a/swagger-gen/api/cds_admin.json +++ b/swagger-gen/api/cds_admin.json @@ -243,7 +243,8 @@ "recipientCount", "rejections", "requestTime", - "sessionCount" + "sessionCount", + "authorisations" ], "type": "object", "properties": {