Adopt Ingress RPC interface changes (#972)

This commit is contained in:
Benjamin Pracht
2022-08-31 14:14:40 -07:00
committed by GitHub
parent c401ca58af
commit d8edb9b2e7
5 changed files with 45 additions and 25 deletions
+10
View File
@@ -48,6 +48,8 @@ func InitializeServer(conf *config.Config, currentNode routing.LocalNode) (*Live
NewEgressService,
ingress.NewRedisRPC,
getIngressStore,
getIngressConfig,
getIngressRPCClient,
NewIngressService,
NewRoomAllocator,
NewRoomService,
@@ -189,6 +191,14 @@ func getIngressStore(s ObjectStore) IngressStore {
}
}
func getIngressConfig(conf *config.Config) *config.IngressConfig {
return &conf.Ingress
}
func getIngressRPCClient(rpc ingress.RPC) ingress.RPCClient {
return rpc
}
func createClientConfiguration() clientconfiguration.ClientConfigurationManager {
return clientconfiguration.NewStaticClientConfigurationManager(clientconfiguration.StaticConfigurations)
}