Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Added Initializing auth client from config method #140

Merged
merged 7 commits into from
Apr 14, 2021

Conversation

pmahindrakar-oss
Copy link
Contributor

Signed-off-by: Prafulla Mahindrakar prafulla.mahindrakar@gmail.com

TL;DR

Please replace this text with a description of what this PR accomplishes.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

https://github.com/lyft/flyte/issues/

Follow-up issue

NA
OR
https://github.com/lyft/flyte/issues/

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
clients/go/admin/client.go Outdated Show resolved Hide resolved
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
clients/go/admin/client.go Outdated Show resolved Hide resolved
clients/go/admin/client.go Outdated Show resolved Hide resolved
Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
@EngHabu EngHabu merged commit 6869af2 into auth-endpoint Apr 14, 2021
EngHabu pushed a commit that referenced this pull request Apr 20, 2021
* Added Initializing auth client from config method

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Using sync.Once only once for initializing all the clients

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added mock generation for AuthServiceClient

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added clientset wrapping adminClient and authClient

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added initialization of the mock client set

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Exposed the AdminServiceClient and AuthServiceClient for mocking

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Incorporated the feedback

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

Co-authored-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
EngHabu pushed a commit that referenced this pull request Apr 26, 2021
* Added Initializing auth client from config method

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Using sync.Once only once for initializing all the clients

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added mock generation for AuthServiceClient

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added clientset wrapping adminClient and authClient

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added initialization of the mock client set

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Exposed the AdminServiceClient and AuthServiceClient for mocking

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Incorporated the feedback

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

Co-authored-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
EngHabu pushed a commit that referenced this pull request Apr 26, 2021
* Added Initializing auth client from config method

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Using sync.Once only once for initializing all the clients

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added mock generation for AuthServiceClient

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added clientset wrapping adminClient and authClient

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Added initialization of the mock client set

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Exposed the AdminServiceClient and AuthServiceClient for mocking

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

* Incorporated the feedback

Signed-off-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>

Co-authored-by: Prafulla Mahindrakar <prafulla.mahindrakar@gmail.com>
Signed-off-by: Haytham Abuelfutuh <haytham@afutuh.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants