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

Add basic testcases for the new APIs conncted-network-type and connected-network-type-subscriptions #251

Merged
merged 33 commits into from
Feb 10, 2025

Conversation

dfischer-tech
Copy link
Contributor

@dfischer-tech dfischer-tech commented Jan 25, 2025

What type of PR is this?

Add one of the following kinds:

  • enhancement/feature

What this PR does / why we need it:

In order to participate in the next meta release, we need basic test cases for the new APIs.
Fixed typos and format issues in the existing ones.

Which issue(s) this PR fixes:

Fixes #234

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

I've one comment common to all 3 subscriptions for SUBSCRIPTION_MISMATCH UC.
This is not related to the device token but to the event type "consented" vs requested.

@maxl2287 maxl2287 requested a review from bigludo7 January 29, 2025 09:57
Copy link
Contributor

@maxl2287 maxl2287 left a comment

Choose a reason for hiding this comment

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

LGTM

bigludo7
bigludo7 previously approved these changes Jan 31, 2025
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.

Look good for me.
Thanks @dfischer-tech

Note that it could be unsupported or unauthorized. Indeed for me the error is triggered as long as the event type(s) linked to the token are not aligned with event type in the request. But I'm fine with your proposal.

dfischer-tech and others added 2 commits February 6, 2025 11:38
Copy link
Contributor

@maxl2287 maxl2287 left a comment

Choose a reason for hiding this comment

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

LGTM

@bigludo7 @akoshunyadi @eric-murray can we get this approved / merged asap so that we can progress on the Pre-Release PR?

akoshunyadi
akoshunyadi previously approved these changes Feb 7, 2025
@maxl2287 maxl2287 requested a review from bigludo7 February 7, 2025 10:45
dfischer-tech and others added 24 commits February 9, 2025 05:34
…ture

Co-authored-by: Eric Murray <[email protected]>
…ture

Co-authored-by: Eric Murray <[email protected]>
…ture

Co-authored-by: Eric Murray <[email protected]>
…ture

Co-authored-by: Eric Murray <[email protected]>
…ture

Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
….feature

Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
….feature

Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
Co-authored-by: Eric Murray <[email protected]>
@dfischer-tech
Copy link
Contributor Author

LGTM
@bigludo7 @akoshunyadi @eric-murray can we get this approved / merged asap so that we can progress on the Pre-Release PR?

I've reviewed, but changes required. Some of the test cases use the old error messages, which will be updated by #232. That PR should be merged first, and then cross-checked again with this one.

A few remarks from my side:

  • First of all, thank you everyone for the reviews.
  • This PR was solely intended to add new basic test cases for the two new APIs:
    -- Connected Network Type
    -- Connected Network Type Subscriptions
  • Adjustments to existing test cases regarding the new commonality models, version number updates or adopting the "operationId" as the request name were not within the scope of this PR.
  • If there is a need to integrate adjustments from Update device error model #232, this should be done in a separate PR.

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

Copy link
Collaborator

@eric-murray eric-murray left a comment

Choose a reason for hiding this comment

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

OK. Let's merge this one as well.

@akoshunyadi akoshunyadi merged commit 3e4c428 into camaraproject:main Feb 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create basic test specifications for connected-network-type APIs
5 participants