yasithdev opened a new pull request, #637: URL: https://github.com/apache/airavata/pull/637
CredentialStoreService repeated the same scaffolding three times over: the typed getters (SSH/Certificate/Password) share a fetch-check-log structure, the two SSH summary-for-gateway methods differ only by a username filter, and the SSH/PWD delete methods are identical bar a label. They now delegate to three private helpers — getTypedCredential(case, accessor), collectSshSummaries(Predicate<SSHCredential>), and deleteCredential(label). Public/@Override signatures and log/exception wording are preserved, except two getter log lines that read 'credentialfor' (missing a space) are normalized to 'credential for' to match the already-correct thrown message. Behavior-preserving: the module's 36 tests, including CredentialStoreServiceTest's 14, pass unchanged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
