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

feat: support multi-geo for Konnect #732

Merged
merged 2 commits into from
Aug 19, 2022
Merged

feat: support multi-geo for Konnect #732

merged 2 commits into from
Aug 19, 2022

Conversation

GGabriele
Copy link
Collaborator

No description provided.

@GGabriele GGabriele requested a review from a team August 10, 2022 17:51
@hbagdi
Copy link
Member

hbagdi commented Aug 12, 2022

Please rebase.

@GGabriele GGabriele temporarily deployed to Configure ci August 17, 2022 15:17 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 17, 2022 15:17 Inactive
@GGabriele
Copy link
Collaborator Author

Please rebase.

done

@GGabriele GGabriele temporarily deployed to Configure ci August 17, 2022 15:21 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 17, 2022 15:21 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 17, 2022 15:25 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 17, 2022 15:25 Inactive
}

parts := strings.Split(baseURL, "api.konghq")
endpoint := baseEndpointUS + parts[len(parts)-1] + authEndpointV2
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be best to pull this out and unit test it thoroughly to just be sure. Breeding ground for a bug.

@GGabriele GGabriele temporarily deployed to Configure ci August 18, 2022 22:57 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 18, 2022 22:57 Inactive
@codecov-commenter
Copy link

Codecov Report

Merging #732 (36a55d3) into main (49d2f98) will decrease coverage by 3.06%.
The diff coverage is 13.63%.

@@            Coverage Diff             @@
##             main     #732      +/-   ##
==========================================
- Coverage   43.05%   39.98%   -3.07%     
==========================================
  Files          74       87      +13     
  Lines        9016     9715     +699     
==========================================
+ Hits         3882     3885       +3     
- Misses       4763     5459     +696     
  Partials      371      371              
Impacted Files Coverage Δ
konnect/types.go 0.00% <ø> (ø)
konnect/login_service.go 3.06% <13.63%> (ø)
konnect/control_plane_service.go 0.00% <0.00%> (ø)
konnect/error.go 0.00% <0.00%> (ø)
konnect/document_service.go 0.00% <0.00%> (ø)
konnect/request.go 0.00% <0.00%> (ø)
konnect/service_package_service.go 0.00% <0.00%> (ø)
konnect/client.go 0.00% <0.00%> (ø)
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@GGabriele GGabriele requested a review from hbagdi August 18, 2022 23:36
hbagdi
hbagdi previously approved these changes Aug 19, 2022
@GGabriele GGabriele temporarily deployed to Configure ci August 19, 2022 18:29 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 19, 2022 18:29 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 19, 2022 18:31 Inactive
@GGabriele GGabriele temporarily deployed to Configure ci August 19, 2022 18:31 Inactive
@GGabriele GGabriele merged commit fe0f337 into main Aug 19, 2022
@GGabriele GGabriele deleted the feat/geo branch August 19, 2022 18:34
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.

3 participants