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

Improve integration tests on the definedBy authentication property #21315

Conversation

Thisara-Welmilla
Copy link
Contributor

Issue:

With the above issue, following APIs response body will be changed.
For the following APIs, definedBy type property will be returned in the response payload for all authenticators.

  • List Authenticators - /api/server/v1/authenticators
  • List all local authentications - /api/server/v1/configs/authenticators
  • Get IDP by IDP ID - /api/server/v1/identity-providers/{Identity_Proivder_Id}
  • Get authenticator by IDP ID and authenticator ID - /api/server/v1/identity-providers/{Identity_Proivder_Id}/federated-authenticators/{Authenticator_ID}

For all existing authenticators, this value will be SYSTEM.

With this PR, we improve integration tests check the whether definedBy property in available in the above payload responses.

@Thisara-Welmilla Thisara-Welmilla added this to the 7.1.0-m3 milestone Oct 10, 2024
@Thisara-Welmilla Thisara-Welmilla force-pushed the improve-authentication-api-integration-test branch 2 times, most recently from 4b6140e to ffdf6ef Compare October 10, 2024 12:24
@Thisara-Welmilla Thisara-Welmilla force-pushed the improve-authentication-api-integration-test branch from ffdf6ef to 7a3b410 Compare October 10, 2024 12:31
@Thisara-Welmilla Thisara-Welmilla marked this pull request as ready for review October 10, 2024 12:51
malithie
malithie previously approved these changes Oct 14, 2024
@NipuniBhagya NipuniBhagya modified the milestones: 7.1.0-m3, 7.1.0-m4 Oct 18, 2024
@jenkins-is-staging
Copy link
Contributor

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11416005922

@jenkins-is-staging
Copy link
Contributor

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11416005922
Status: success

Copy link
Contributor

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

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

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/11416005922

@Thisara-Welmilla Thisara-Welmilla merged commit 01587c3 into wso2:master Oct 19, 2024
1 check passed
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.

5 participants