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 Bearer token prefix for project service requests #10477

Merged
merged 2 commits into from Jul 19, 2018
Merged

Conversation

mshaposhnik
Copy link
Contributor

@mshaposhnik mshaposhnik commented Jul 19, 2018

What does this PR do?

This PR adds "Bearer" token identifier for the all project service related requests, since it is required by jwtproxy.
That can greatly reduce number of failing tests on jwtproxy auth.

What issues does this PR fix or reference?

Release Notes

N/A

Docs PR

N/A

@benoitf benoitf added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Jul 19, 2018
@@ -38,6 +38,8 @@
*/
@Singleton
public class TestProjectServiceClient {

private final String BEARER_TOKEN_PREFIX = "Bearer ";
Copy link
Member

Choose a reason for hiding this comment

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

Should not be constant marked with static?

@Ohrimenko1988
Copy link
Contributor

Looks great, but what about change target branch from "master" to "exclusions". Because as I understood this PR fixes the problem which appears in the "exclusions" branch. And it will be nice to merge this branch to "exclusions" branch and rerun tests.

@mshaposhnik mshaposhnik changed the base branch from master to exclusions July 19, 2018 10:39
@mshaposhnik mshaposhnik merged commit 9495735 into exclusions Jul 19, 2018
@mshaposhnik
Copy link
Contributor Author

I'll merge that into my feature branch, and then will request QE review on it.

@benoitf benoitf added target/branch Indicates that a PR will be merged into a branch other than master. and removed status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Jul 19, 2018
@skabashnyuk skabashnyuk deleted the bearer_pfx branch August 16, 2018 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. target/branch Indicates that a PR will be merged into a branch other than master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants