@@ -12,6 +12,7 @@ import { SessionHandlerProvider } from './session-handler';
12
12
import { GitpodFileParser } from '@gitpod/gitpod-protocol/lib/gitpod-file-parser' ;
13
13
import { WorkspaceFactory } from './workspace/workspace-factory' ;
14
14
import { UserController } from './user/user-controller' ;
15
+ import { InstallationAdminController } from './installation-admin/installation-admin-controller' ;
15
16
import { GitpodServerImpl } from './workspace/gitpod-server-impl' ;
16
17
import { ConfigProvider } from './workspace/config-provider' ;
17
18
import { MessageBusIntegration } from './workspace/messagebus-integration' ;
@@ -114,6 +115,8 @@ export const productionContainerModule = new ContainerModule((bind, unbind, isBo
114
115
bind ( EnforcementControllerServerFactory ) . toAutoFactory ( GitpodServerImpl ) ;
115
116
bind ( EnforcementController ) . toSelf ( ) . inSingletonScope ( ) ;
116
117
118
+ bind ( InstallationAdminController ) . toSelf ( ) . inSingletonScope ( ) ;
119
+
117
120
bind ( MessagebusConfiguration ) . toSelf ( ) . inSingletonScope ( ) ;
118
121
bind ( MessageBusHelper ) . to ( MessageBusHelperImpl ) . inSingletonScope ( ) ;
119
122
bind ( MessageBusIntegration ) . toSelf ( ) . inSingletonScope ( ) ;
@@ -123,11 +126,11 @@ export const productionContainerModule = new ContainerModule((bind, unbind, isBo
123
126
124
127
bind ( GitpodServerImpl ) . toSelf ( ) ;
125
128
bind ( WebsocketConnectionManager ) . toDynamicValue ( ctx => {
126
- const serverFactory = ( ) => ctx . container . get < GitpodServerImpl > ( GitpodServerImpl ) ;
127
- const hostContextProvider = ctx . container . get < HostContextProvider > ( HostContextProvider ) ;
128
- const config = ctx . container . get < Config > ( Config ) ;
129
- return new WebsocketConnectionManager ( serverFactory , hostContextProvider , config . rateLimiter ) ;
130
- }
129
+ const serverFactory = ( ) => ctx . container . get < GitpodServerImpl > ( GitpodServerImpl ) ;
130
+ const hostContextProvider = ctx . container . get < HostContextProvider > ( HostContextProvider ) ;
131
+ const config = ctx . container . get < Config > ( Config ) ;
132
+ return new WebsocketConnectionManager ( serverFactory , hostContextProvider , config . rateLimiter ) ;
133
+ }
131
134
) . inSingletonScope ( ) ;
132
135
133
136
bind ( PrometheusClientCallMetrics ) . toSelf ( ) . inSingletonScope ( ) ;
0 commit comments