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

Test scenarios for Datasource authentication #1286

Open
28 tasks
chandrams opened this issue Sep 10, 2024 · 0 comments · Fixed by #1289
Open
28 tasks

Test scenarios for Datasource authentication #1286

chandrams opened this issue Sep 10, 2024 · 0 comments · Fixed by #1289
Assignees
Labels
enhancement New feature or request epic

Comments

@chandrams
Copy link
Contributor

chandrams commented Sep 10, 2024

Authentication Types

Basic Authentication Scenarios

  • Datasource authentication & connection with valid credentials

    • Valid username and password for basic auth
  • End-to-End test - pass valid credentials & ensure recommendations are generated

  • Exception handling when incorrect credentials are passed

    • Basic authentication
      • Invalid username, valid password
      • Valid username, invalid password
      • Invalid username and password
      • Empty username or password
      • Case sensitive username or password
      • Invalid characters
  • Authentication of Multiple datasources (Is it supported?)

  • Test with supported datasources

  • Test logging for any authentication messages, retries

  • Validate documentation

Bearer Authentication Scenarios

  • Datasource authentication & connection with valid bearer token

    • Valid token for bearer authentication
  • End-to-End test - pass valid bearer token & ensure recommendations are generated

  • Exception handling when incorrect token is passed

    • Bearer authentication
      • Expired token
      • Invalid token
      • Empty token
      • Invalid characters in token
  • Authentication of Multiple datasources (Is it supported?)

  • Test with supported datasources

  • Test logging for any authentication messages, retries

  • Validate documentation

@chandrams chandrams added the enhancement New feature or request label Sep 10, 2024
@khansaad khansaad changed the title Test scenarios for Basic datasource authentication Test scenarios for Datasource authentication Sep 12, 2024
@khansaad khansaad added the epic label Sep 12, 2024
@khansaad khansaad added this to the Kruize 0.0.26_rm Release milestone Sep 12, 2024
@rbadagandi1 rbadagandi1 linked a pull request Sep 17, 2024 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request epic
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants