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

Update routes when production or sandbox endpoints changed #1686

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

Tharsanan1
Copy link
Contributor

@Tharsanan1 Tharsanan1 commented Aug 29, 2023

Purpose

Fixes: #1684

@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.15% ⚠️

Comparison is base (ee32b71) 25.63% compared to head (649bf59) 25.48%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1686      +/-   ##
==========================================
- Coverage   25.63%   25.48%   -0.15%     
==========================================
  Files          40      131      +91     
  Lines        8633    15142    +6509     
  Branches        0     2557    +2557     
==========================================
+ Hits         2213     3859    +1646     
- Misses       6289    11152    +4863     
  Partials      131      131              
Flag Coverage Δ
adapter 25.60% <ø> (-0.04%) ⬇️
common-controller 1.11% <ø> (?)
config-deployer-service 26.34% <ø> (?)
idp-domain-service 80.10% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 92 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -86,6 +86,10 @@ func (ods *OperatorDataStore) processAPIState(apiNamespacedName types.Namespaced
}
} else {
cachedAPI.ProdHTTPRoute = nil
if cachedAPI.ProdHTTPRoute != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

this line always would be false due to above line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed the logic.

@Krishanx92 Krishanx92 merged commit eb0cb2b into wso2:main Aug 31, 2023
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.

API update not working as expected
4 participants