Skip to content

Commit

Permalink
add jobsapi to api client bean factory
Browse files Browse the repository at this point in the history
  • Loading branch information
alovew committed Jan 20, 2023
1 parent 34bd14a commit 8cc48de
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import io.airbyte.api.client.AirbyteApiClient;
import io.airbyte.api.client.generated.ConnectionApi;
import io.airbyte.api.client.generated.DestinationApi;
import io.airbyte.api.client.generated.JobsApi;
import io.airbyte.api.client.generated.SourceApi;
import io.airbyte.api.client.generated.WorkspaceApi;
import io.airbyte.api.client.invoker.generated.ApiClient;
Expand Down Expand Up @@ -72,6 +73,11 @@ public SourceApi sourceApi(@Named("apiClient") final ApiClient apiClient) {
return new SourceApi(apiClient);
}

@Singleton
public JobsApi jobsApi(@Named("apiClient") final ApiClient apiClient) {
return new JobsApi(apiClient);
}

@Singleton
public DestinationApi destinationApi(final ApiClient apiClient) {
return new DestinationApi(apiClient);
Expand Down

0 comments on commit 8cc48de

Please sign in to comment.