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

chore: Refactoring OpenShiftOAuth #1167

Merged
merged 1 commit into from
Nov 10, 2021
Merged

chore: Refactoring OpenShiftOAuth #1167

merged 1 commit into from
Nov 10, 2021

Conversation

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@codecov
Copy link

codecov bot commented Nov 8, 2021

Codecov Report

Merging #1167 (10ec4ae) into main (3e2be04) will increase coverage by 0.03%.
The diff coverage is 58.10%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1167      +/-   ##
==========================================
+ Coverage   57.41%   57.45%   +0.03%     
==========================================
  Files          75       76       +1     
  Lines        8639     8642       +3     
==========================================
+ Hits         4960     4965       +5     
+ Misses       3140     3139       -1     
+ Partials      539      538       -1     
Impacted Files Coverage Δ
pkg/deploy/dashboard/dashboard.go 59.25% <0.00%> (ø)
pkg/deploy/identity-provider/identity_provider.go 10.23% <0.00%> (ø)
pkg/deploy/server/server_deployment.go 67.89% <0.00%> (ø)
pkg/util/util.go 14.63% <ø> (+0.08%) ⬆️
pkg/deploy/openshift-oauth/openshiftoauth.go 47.91% <47.91%> (ø)
controllers/che/create.go 44.80% <66.66%> (+0.50%) ⬆️
controllers/che/checluster_controller.go 24.34% <100.00%> (-2.40%) ⬇️
controllers/che/gateway_permission.go 62.16% <100.00%> (ø)
pkg/deploy/gateway/gateway.go 85.86% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e2be04...10ec4ae. Read the comment docs.

@tolusha tolusha mentioned this pull request Nov 9, 2021
27 tasks
@openshift-ci openshift-ci bot added the lgtm label Nov 10, 2021
@tolusha tolusha changed the title Refactoring OpenShiftOAuth chore: Refactoring OpenShiftOAuth Nov 10, 2021
@@ -108,17 +93,17 @@ func NewReconciler(

openShiftOAuthUser := openshiftoauth.NewOpenShiftOAuthUser()
reconcileManager.RegisterReconciler(openShiftOAuthUser)
reconcileManager.RegisterReconciler(openshiftoauth.NewOpenShiftOAuth(openShiftOAuthUser))
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we have a dependency between these reconcilers?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is dependency between class.
Because they actually depends on each other.

@openshift-ci
Copy link

openshift-ci bot commented Nov 10, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: AndrienkoAleksandr, mmorhun, tolusha

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tolusha tolusha merged commit 8bdbbc1 into main Nov 10, 2021
@tolusha tolusha deleted the refactoring branch November 10, 2021 15:41
@che-bot che-bot added this to the 7.39 milestone Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants