Skip to content

Remove IDENTIFIER_MISMATCH from testing artifacts#479

Merged
rartych merged 4 commits intocamaraproject:mainfrom
jlurien:adjust-device-test-artifacts-Fall25
Jun 10, 2025
Merged

Remove IDENTIFIER_MISMATCH from testing artifacts#479
rartych merged 4 commits intocamaraproject:mainfrom
jlurien:adjust-device-test-artifacts-Fall25

Conversation

@jlurien
Copy link
Contributor

@jlurien jlurien commented Jun 5, 2025

What type of PR is this?

  • tests

What this PR does / why we need it:

Error 422 IDENTIFIER_MISMATCH has been deprecated from

Which issue(s) this PR fixes:

Fixes #476

Does this PR introduce a breaking change?

  • Yes
  • No

It can be discussed. Previously, clients got an error for the mismatch and now the service may be applied for one of the provided identifiers

Special notes for reviewers:

I have added a line indicating the Commonalities version that the artifact is aligned with. This makes easier to see if an artifact has been updated after certain version of Commonalities.

I have not included alternative scenarios as guidelines do not dictate an specific behaviour for cases where there is a mismatch. Only that an error indicating so must not be returned. Implementations may consider any of the provided identifiers and response may be 2xx or even another error, like 404

Changelog input

* Removed scenarios testing 422 IDENTIFIER_MISMATCH

rartych
rartych previously approved these changes Jun 5, 2025
Copy link
Contributor

@rartych rartych left a comment

Choose a reason for hiding this comment

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

LGTM

PedroDiez
PedroDiez previously approved these changes Jun 5, 2025
Copy link
Contributor

@PedroDiez PedroDiez left a comment

Choose a reason for hiding this comment

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

LGTM

@jlurien jlurien dismissed stale reviews from PedroDiez and rartych via 8059d88 June 5, 2025 14:20
@jlurien jlurien requested review from PedroDiez and rartych June 5, 2025 14:21
@jlurien
Copy link
Contributor Author

jlurien commented Jun 5, 2025

@PedroDiez @rartych please review again as I just realised that the wording for the When step was not aligned with the Testing guidelines and the proposal in #470

@jlurien jlurien requested a review from PedroDiez June 6, 2025 12:25
Copy link
Contributor

@PedroDiez PedroDiez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@rartych rartych left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@patrice-conil patrice-conil left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@KevScarr KevScarr left a comment

Choose a reason for hiding this comment

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

Approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Testing Documentation Update with withdrawal of 422 - IDENTIFIER_MISMATCH exception

5 participants