use of org.springframework.web.context.annotation.RequestScope in project workbench by all-of-us.
the class FireCloudConfig method workspacesApi.
@Bean
@RequestScope(proxyMode = ScopedProxyMode.DEFAULT)
public WorkspacesApi workspacesApi(@Qualifier(END_USER_API_CLIENT) ApiClient apiClient) {
WorkspacesApi api = new WorkspacesApi();
api.setApiClient(apiClient);
return api;
}
use of org.springframework.web.context.annotation.RequestScope in project workbench by all-of-us.
the class FireCloudConfig method groupsApi.
@Bean
@RequestScope(proxyMode = ScopedProxyMode.DEFAULT)
public GroupsApi groupsApi(@Qualifier(ALL_OF_US_API_CLIENT) ApiClient apiClient) {
// Group/Auth Domain creation and addition are made by the AllOfUs service account
GroupsApi api = new GroupsApi();
api.setApiClient(apiClient);
return api;
}
Aggregations