-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring 25 release #47
Spring 25 release #47
Conversation
@hdamker We have modified the CHANGELOG.MD and README.MD according to the release requirements and would like to submit a ReleaseManagement review application. What else do we need to do? |
That's great and thanks for asking. I will add some smaller comments about things I spotted. Beyond that:
If you are ready, add @camaraproject/release-management_maintainers as reviewers to this PR. But I will create already now the review issue within ReleaseManagement to make your PR visible there. |
@@ -62,7 +62,7 @@ externalDocs: | |||
description: Project documentation at CAMARA | |||
url: https://github.com/camaraproject/RegionDeviceCount | |||
servers: | |||
- url: '{apiRoot}/regionDeviceCount/vwip' | |||
- url: '{apiRoot}/regionDeviceCount/r1.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL is derived from the API Version, not the release number, cf https://github.com/camaraproject/Commonalities/blob/r2.1/documentation/API-design-guidelines.md#53-api-versions-throughout-the-release-process
And the API name isregion-device-count
(as correctly listed in CHANGELOG and README)
- url: '{apiRoot}/regionDeviceCount/r1.1' | |
- url: '{apiRoot}/region-device-count/v0.1rc1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URL has been changed in dcdf595
contact: | ||
email: [email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove contact, but add
x-camara-commonalities: 0.5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion, I have updated it by dcdf595
CHANGELOG.md
Outdated
- **[r1.1](#r11)** | ||
- [v0.1.0](#v010) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I see there was not previous release, so content is for now only r1.1:
- **[r1.1](#r11)** | |
- [v0.1.0](#v010) | |
- **[r1.1](#r11)** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion, I have updated CHANGELOG.md by 134358d
CHANGELOG.md
Outdated
This public release contains the definition and documentation of | ||
* region-device-count v0.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not the public, but a pre-release, the API Version in this release is v0.1.0-rc.1
This public release contains the definition and documentation of | |
* region-device-count v0.1.0 | |
This pre-release contains the definition and documentation of | |
* region-device-count 0.1.0-rc.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion, I have updated CHANGELOG.md by 134358d
CHANGELOG.md
Outdated
The API definition(s) are based on | ||
* Commonalities v0.4.0 | ||
* Identity and Consent Management v0.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Spring25 the API should be based on:
The API definition(s) are based on | |
* Commonalities v0.4.0 | |
* Identity and Consent Management v0.2.1 | |
The API definition(s) are based on | |
* Commonalities v0.5.0 | |
* Identity and Consent Management v0.3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion, I have updated CHANGELOG.md by 134358d
CHANGELOG.md
Outdated
# v0.1.0 | ||
# region-device-count v0.1.0-rc.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following the template, this should be:
# v0.1.0 | |
# region-device-count v0.1.0-rc.1 | |
## region-device-count v0.1.0-rc.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion, I have updated CHANGELOG.md by 134358d
README.md
Outdated
@@ -24,6 +24,11 @@ Repository to describe, develop, document and test the RegionDeviceCount API | |||
<!-- The latest public release is available here: https://github.com/camaraproject/§repo_name§/releases/latest --> | |||
<!-- For changes see [CHANGELOG.md](https://github.com/camaraproject/§repo_name§/blob/main/CHANGELOG.md) --> | |||
|
|||
* **region-device-count v0.1.0-rc.1** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* **region-device-count v0.1.0-rc.1** | |
* **Pre-release r1.1 with region-device-count v0.1.0-rc.1:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the suggestion, I have updated CHANGELOG.md by 134358d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the suggestion also for the changelog ... but this suggestion was actually within the README.md and could be changed here as well.
…r_Story_Outdoor_Live_Streaming.md
@hdamker Thank you very much for your reply and suggestions. I have made modifications to the relevant files in the latest commit.
Please review again, if there are no issues, I will add @camaraproject/release-management_maintainers as reviewers to this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the done changes. Please find below my comments from a second review. Some of the comments are based on the changes between Commonalities r2.1 and r2.2, see https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/62357505/Analysis+of+Commonalities+0.5.0-rc.1+changes for further details.
README.md
Outdated
@@ -24,6 +24,11 @@ Repository to describe, develop, document and test the RegionDeviceCount API | |||
<!-- The latest public release is available here: https://github.com/camaraproject/§repo_name§/releases/latest --> | |||
<!-- For changes see [CHANGELOG.md](https://github.com/camaraproject/§repo_name§/blob/main/CHANGELOG.md) --> | |||
|
|||
* **region-device-count v0.1.0-rc.1** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the suggestion also for the changelog ... but this suggestion was actually within the README.md and could be changed here as well.
$ref: '#/components/responses/Generic503' | ||
'504': | ||
$ref: '#/components/responses/Generic504' | ||
'404': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could 404 be a valid error response of the API Consumer on the callback notification?
'404': | ||
$ref: '#/components/responses/Generic404' | ||
'405': | ||
$ref: '#/components/responses/Generic405' | ||
'406': | ||
$ref: '#/components/responses/Generic406' | ||
'429': | ||
$ref: '#/components/responses/Generic429' | ||
'500': | ||
$ref: '#/components/responses/Generic500' | ||
'501': | ||
$ref: '#/components/responses/Generic501' | ||
'502': | ||
$ref: '#/components/responses/Generic502' | ||
'503': | ||
$ref: '#/components/responses/Generic503' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check with https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#61-standardized-use-of-camara-error-responses which of these error messages are mandatory (401, 403) and check for the remaining ones if they are needed. 405, 406, 410, 412, 415, and 5xx are not documented by default in the API specification. However, they should be included if there is a relevant use case that justifies their documentation. Definitely not a valid error response is 501, as that would mean that the implementation of the endpoint is optional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary error codes has been reduced: 404,405,406,5xx.
Only keep 400,401,403,429 for the count endpoint.
Keep 400,401,403,410 for the callback endpoint.
- 404 | ||
code: | ||
enum: | ||
- NOT_FOUND |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there scenarios for this error response? (there is no id within the request body)
- 405 | ||
code: | ||
enum: | ||
- METHOD_NOT_ALLOWED | ||
examples: | ||
GENERIC_405_METHOD_NOT_ALLOWED: | ||
description: Invalid HTTP verb used with a given endpoint | ||
value: | ||
status: 405 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
405 should not be documented for "POST /count" (as POST is always valid for this endpoint)
- 406 | ||
code: | ||
enum: | ||
- NOT_ACCEPTABLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also in the set of error responses which are not documented by default
- 500 | ||
code: | ||
enum: | ||
- INTERNAL | ||
examples: | ||
GENERIC_500_INTERNAL: | ||
description: Problem in Server side. Regular Server Exception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this regular exception does not need to be documented in the API Spec
properties: | ||
status: | ||
enum: | ||
- 501 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
501 MUST NOT be documented, except /count is optional to implement (which would not make sense).
[[View it on ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/RegionDeviceCount/r1.1/code/API_definitions/region-device-count.yaml&nocors) | ||
[[View it on Swagger Editor]](https://editor.swagger.io/?url=https://raw.githubusercontent.com/camaraproject/RegionDeviceCount/r1.1/code/API_definitions/region-device-count.yaml) | ||
|
||
**Initial contribution of API definitions for Region Device Count**, including initial documentation and implementation code. | ||
|
||
## What's Changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please think about if you want to document also some of the changes done within this PR #47.
As this is the very first release you can as an alternative also just summarize as "first version of ..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -9,10 +9,10 @@ Checklist for region-device-count 0.1.0 in r1.1 | |||
| 3 | Guidelines from ICM applied | O | M | M | M | Y | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the release number of the used ICM release here. Currently released is r2.1, r2.2 will be released most probably tomorrow, no relevant changes for region-device-count as far as I can see.
For Commonalities the same. Please use here already r2.2 which is currently in preparation in camaraproject/Commonalities#388, and will release the content which is currently in the main
branch. There are some relevant changes between r2.1 (alpha) and r2.2 (release candidate), e.g.:
- the clarification about mandatory error responses (and the ones which should not be documented by default)
- the pattern for the x-correlator (see Allow zero-length strings in x-correlator header Commonalities#387)
See https://lf-camaraproject.atlassian.net/wiki/spaces/CAM/pages/62357505/Analysis+of+Commonalities+0.5.0-rc.1+changes for more details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look on the current template https://github.com/camaraproject/ReleaseManagement/blob/main/documentation/API-Readiness-Checklist.md for your reference (the last column is renamed into "Reference information" and some more explanations are added).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File has been updated. see a374342
- Change title comments to Reference information
- Add Design guidelines from Commonalities applied Reference information r2.2
- Add Guidelines from ICM applied Reference information r2.2
Two further remarks:
Hope the review was helpful, don't hesitate to ask if some of my comments are unclear. |
Reduced unnecessary error codes: 404,405,406,5xx. Only keep 400,401,403,429 for the count endpoint. Keep 400,401,403,410 for the callback endpoint.
Fix megalint error
Fix Megalint error
Fix Megalint Error
update pre-release information
Add Spring25 review changelog
Change title comments to Reference information Add Design guidelines from Commonalities applied Reference information r2.2 Add Guidelines from ICM applied Reference information r2.2
@hdamker Thanks for the review.It has been of great help to the standardization of our API.
I have completed the revisions regarding the review comments. Please review again and provide your feedback. |
@chinaunicomyangfan thanks for all the changes - we are almost there Please apply these two changes coming from Commonalities r2.2 (confirm https://github.com/camaraproject/Commonalities/blob/r2.2/artifacts/CAMARA_common.yaml):
|
add the schema for the x-correlator change the examples for error response 429 to the latest version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from Release Management perspective - thanks for the great work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
What type of PR is this?
Add one of the following kinds:
What this PR does / why we need it:
Publication of Spring'25 M3 release candidate v0.1.0-rc.1