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 WcaNoDefaultModelId exception #997

Conversation

TamiTakamiya
Copy link
Contributor

Jira Issue: AAP-23031

Description

This is the service side change corresponding to the vscode-ansible PR#1309. With this change, a new exception WcaOrganizationNotLinked is added for the case that the user is not linked to an organization because the WcaModelIdNotFound was thrown for those cases as well.

Testing

A test case is included in the PR.

Steps to test

  1. Pull down the PR
  2. Run unit tests following the regular procedure.

Scenarios tested

See the above.

Production deployment

  • This code change is ready for production on its own
  • This code change requires the following considerations before going to production:
    For the new WcaOrganizationNotLinkedException is correctly processed on VS Code extension, vscode-ansible PR#1309 needs to be merged.

manstis
manstis previously approved these changes May 10, 2024
Copy link
Contributor

@manstis manstis left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@TamiTakamiya TamiTakamiya force-pushed the ttakamiy/AAP-23031/improve-errmsg-when-org-has-apikey-but-no-model-id branch from 148ad52 to b0419ba Compare May 10, 2024 14:28
@TamiTakamiya TamiTakamiya marked this pull request as ready for review May 10, 2024 14:47
@goneri goneri requested a review from manstis May 10, 2024 17:26
goneri
goneri previously approved these changes May 10, 2024
manstis
manstis previously approved these changes May 10, 2024
Copy link
Contributor

@manstis manstis left a comment

Choose a reason for hiding this comment

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

Thank-you @TamiTakamiya

LGTM 👍

@TamiTakamiya TamiTakamiya dismissed stale reviews from manstis and goneri via 084c897 May 14, 2024 17:05
@TamiTakamiya TamiTakamiya force-pushed the ttakamiy/AAP-23031/improve-errmsg-when-org-has-apikey-but-no-model-id branch from b0419ba to 084c897 Compare May 14, 2024 17:05
@TamiTakamiya TamiTakamiya changed the title Add WcaOrganizationNotLinked exception Add WcaNoDefaultModelId exception May 14, 2024
@TamiTakamiya
Copy link
Contributor Author

@robinbobbitt Would you take a look at this again? Thanks.

@TamiTakamiya TamiTakamiya merged commit 3ba736a into main May 23, 2024
6 checks passed
@TamiTakamiya TamiTakamiya deleted the ttakamiy/AAP-23031/improve-errmsg-when-org-has-apikey-but-no-model-id branch May 23, 2024 16:50
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.

None yet

4 participants