Search in sources :

Example 1 with ClusterApi

use of org.pmiops.workbench.notebooks.api.ClusterApi in project workbench by all-of-us.

the class NotebooksConfig method clusterApi.

@Bean
@RequestScope(proxyMode = ScopedProxyMode.DEFAULT)
public ClusterApi clusterApi(@Qualifier(NOTEBOOKS_CLIENT) ApiClient apiClient) {
    ClusterApi api = new ClusterApi();
    api.setApiClient(apiClient);
    return api;
}
Also used : ClusterApi(org.pmiops.workbench.notebooks.api.ClusterApi) RequestScope(org.springframework.web.context.annotation.RequestScope) Bean(org.springframework.context.annotation.Bean)

Aggregations

ClusterApi (org.pmiops.workbench.notebooks.api.ClusterApi)1 Bean (org.springframework.context.annotation.Bean)1 RequestScope (org.springframework.web.context.annotation.RequestScope)1