-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
credentials 2.3.16
CredentialsProvider#lookupCredentials does a sort by name (#42) in order to display credentials in dropdowns listed by name.
This causes a full scan of credentials even when calling something like CredentialsProvider#findCredentialById that is supposed to return a single credentials object.
When the CredentialsProvider implementation depends on a remote system, this causes a lookup of all credentials name, even when it is being used to look up a single one (when using the withCredentials step for example). This can be mitigated by implementing a cache, however it is still really inefficient because that sort shouldn't even happen.
This sorting should rather happen only in methods that are building ListBoxModel.
- is related to
-
JENKINS-73151 Performance of CredentialsProvider lookups
-
- Open
-
- links to
[JENKINS-65333] Performance of CredentialsProvider#lookupCredentials
Assignee | New: Vincent Latombe [ vlatombe ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR #194 (Web Link)" [ 26614 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Fixed but Unreleased [ 10203 ] |
Released As | New: credentials 2.3.16 | |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |
Link | New: This issue is related to JENKINS-73151 [ JENKINS-73151 ] |