Skip to content

device-reachability-status & device-roaming-status: Alignment of errors with Commonalities#183

Merged
akoshunyadi merged 6 commits intocamaraproject:mainfrom
maxl2287:feature/align-error-codes
Jul 9, 2024
Merged

device-reachability-status & device-roaming-status: Alignment of errors with Commonalities#183
akoshunyadi merged 6 commits intocamaraproject:mainfrom
maxl2287:feature/align-error-codes

Conversation

@maxl2287
Copy link
Contributor

@maxl2287 maxl2287 commented Jul 8, 2024

What type of PR is this?

Add one of the following kinds:

  • enhancement/feature

What this PR does / why we need it:

Alignement of errors according to Commonalities guideline.

Which issue(s) this PR fixes:

Fixes #180 #181

Special notes for reviewers:

Changelog input

 release-note

- Aligned error code list with Commonalities for device-reachability-status and device-roaming-status API

@maxl2287 maxl2287 self-assigned this Jul 8, 2024
@maxl2287 maxl2287 added enhancement New feature or request Fall24 labels Jul 8, 2024
@maxl2287 maxl2287 changed the title Alignment of errors with Commonalities device-reachability-status & device-roaming-status: Alignment of errors with Commonalities Jul 8, 2024
bigludo7
bigludo7 previously approved these changes Jul 8, 2024
Copy link
Collaborator

@bigludo7 bigludo7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @maxl2287 thanks
One issue: the changelog in the PR itself mention geofencing ;) - easy fix.

Copy link
Collaborator

@bigludo7 bigludo7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxl2287 checking with my own yaml.
Seems that the 422 with error code UNSUPPORTED_DEVICE_IDENTIFIERS is missing.
Check case 1 https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#62-error-responses---device-object

@maxl2287 maxl2287 requested a review from bigludo7 July 9, 2024 11:18
Copy link
Collaborator

@bigludo7 bigludo7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akoshunyadi akoshunyadi merged commit 6d0e459 into camaraproject:main Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Fall24

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align Status Reachability with guidelines for error scenarios

4 participants