Profile gRPC: Define getVersionedProfile endpoint

This commit is contained in:
Katherine Yen
2023-08-30 14:47:11 -07:00
committed by GitHub
parent 5afc058f90
commit dd18fcaea2
7 changed files with 354 additions and 4 deletions

View File

@@ -649,7 +649,7 @@ public class WhisperServerService extends Application<WhisperServerConfiguration
.addService(new KeysAnonymousGrpcService(accountsManager, keys))
.addService(ServerInterceptors.intercept(new ProfileGrpcService(clock, accountsManager, profilesManager, dynamicConfigurationManager,
config.getBadges(), asyncCdnS3Client, profileCdnPolicyGenerator, profileCdnPolicySigner, profileBadgeConverter, rateLimiters, config.getCdnConfiguration().bucket()), basicCredentialAuthenticationInterceptor))
.addService(new ProfileAnonymousGrpcService(accountsManager, profileBadgeConverter));
.addService(new ProfileAnonymousGrpcService(accountsManager, profilesManager, profileBadgeConverter));
RemoteDeprecationFilter remoteDeprecationFilter = new RemoteDeprecationFilter(dynamicConfigurationManager);
environment.servlets()