Skip to content

Moves private token from the params to the header#54

Open
atttiwari wants to merge 4 commits into
masterfrom
SAC-31453-params-to-header
Open

Moves private token from the params to the header#54
atttiwari wants to merge 4 commits into
masterfrom
SAC-31453-params-to-header

Conversation

@atttiwari

@atttiwari atttiwari commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Description of change

PR include fix involves two changes: update authenticate to pass the token via PRIVATE-TOKEN header instead of params, and simplify check_api_credentials to reuse authenticate. SAC-31453

Updated the exception handling in tap_gitlab/exceptions.py. Improved error parsing to surface the actual GitLab error message when available. Retained the fallback behavior only when no meaningful error message can be extracted from the response. SAC-31205

Manual QA steps

  • - Discovery: Running
  • - Sync: Running
  • - Unit tests: Running
  • - Integration Tests: Running

Risks

Rollback steps

  • revert this branch

AI generated code

https://internal.qlik.dev/general/ways-of-working/code-reviews/#guidelines-for-ai-generated-code

  • this PR has been written with the help of GitHub Copilot or another generative AI tool

@atttiwari atttiwari force-pushed the SAC-31453-params-to-header branch 2 times, most recently from af62ffe to fb5adf6 Compare June 30, 2026 06:51
@atttiwari atttiwari force-pushed the SAC-31453-params-to-header branch from fb5adf6 to 0e323ca Compare June 30, 2026 07:09

@RushiT0122 RushiT0122 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add unit tests.

@atttiwari atttiwari force-pushed the SAC-31453-params-to-header branch from f1b9ba8 to b8c090b Compare July 3, 2026 08:28
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.

2 participants