Skip to content
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

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

Merged
merged 6 commits into from
Jul 9, 2024

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 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
1 check passed
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