You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RetryPolicy: include service name in 401 Unauthorized error messages
Thread an optional serviceName parameter through RetryPolicy so that 401
Unauthorized errors identify which service/credential failed (e.g.
"Unauthorized (Azure DevOps). Please check your token and try again.").
Production factories (GithubApiFactory, AdoApiFactory,
AdoPipelineTriggerServiceFactory, BbsApiFactory) now create per-service
RetryPolicy instances instead of sharing the DI singleton. Integration
tests also wire service names through their manually-constructed clients.
_sourceBbsClient=newBbsClient(_logger,_sourceBbsHttpClient,newVersionChecker(_versionClient,_logger),newRetryPolicy(_logger,"Bitbucket Server (BBS_USERNAME/BBS_PASSWORD)"),sourceBbsUsername,sourceBbsPassword);
0 commit comments