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

Delete unused organization related entries from internal map #1695

Merged
merged 5 commits into from
Aug 31, 2023

Conversation

Tharsanan1
Copy link
Contributor

Purpose

$subject

@@ -846,6 +846,21 @@ func RemoveAPICacheForEnv(adapterInternalAPI model.AdapterInternalAPI, envType s
}
}

// RemoveAPIFromOrgAPIMap removes api from orgAPI map
func RemoveAPIFromOrgAPIMap(adapterInternalAPI model.AdapterInternalAPI, orgId string) {
Copy link
Contributor

Choose a reason for hiding this comment

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

you just use the uuid from the adapterInternalAPI right? why not directly send it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Modified the code

@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2023

Codecov Report

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

Comparison is base (43a92ab) 25.48% compared to head (f73b5d1) 25.46%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1695      +/-   ##
==========================================
- Coverage   25.48%   25.46%   -0.03%     
==========================================
  Files         262      131     -131     
  Lines       30288    15153   -15135     
  Branches     5116     2558    -2558     
==========================================
- Hits         7718     3858    -3860     
+ Misses      22308    11164   -11144     
+ Partials      262      131     -131     
Flag Coverage Δ
adapter 25.56% <ø> (-0.04%) ⬇️
common-controller 1.11% <ø> (ø)
config-deployer-service 26.33% <ø> (ø)
idp-domain-service 80.10% <ø> (ø)
router ?

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

see 132 files with indirect coverage changes

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

@Tharsanan1 Tharsanan1 merged commit e105094 into wso2:main Aug 31, 2023
10 checks passed
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.

4 participants