Skip to content

Commit

Permalink
Delete logs API
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Dec 22, 2022
1 parent 5d13c4c commit fcb271d
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 397 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public class AirbyteApiClient {
private final DestinationApi destinationApi;
private final DestinationDefinitionSpecificationApi destinationSpecificationApi;
private final JobsApi jobsApi;
private final PatchedLogsApi logsApi;
private final OperationApi operationApi;
private final SourceDefinitionApi sourceDefinitionApi;
private final SourceApi sourceApi;
Expand All @@ -66,7 +65,6 @@ public AirbyteApiClient(final ApiClient apiClient) {
destinationApi = new DestinationApi(apiClient);
destinationSpecificationApi = new DestinationDefinitionSpecificationApi(apiClient);
jobsApi = new JobsApi(apiClient);
logsApi = new PatchedLogsApi(apiClient);
operationApi = new OperationApi(apiClient);
sourceDefinitionApi = new SourceDefinitionApi(apiClient);
sourceApi = new SourceApi(apiClient);
Expand Down Expand Up @@ -113,10 +111,6 @@ public WorkspaceApi getWorkspaceApi() {
return workspaceApi;
}

public PatchedLogsApi getLogsApi() {
return logsApi;
}

public OperationApi getOperationApi() {
return operationApi;
}
Expand Down
138 changes: 0 additions & 138 deletions airbyte-api/src/main/java/io/airbyte/api/client/PatchedLogsApi.java

This file was deleted.

24 changes: 0 additions & 24 deletions airbyte-api/src/main/openapi/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2070,30 +2070,6 @@ paths:
$ref: "#/components/schemas/HealthCheckRead"
# This route is unsecured for external monitoring.
security: []
/v1/logs/get:
post:
tags:
- logs
summary: Get logs
operationId: getLogs
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/LogsRequestBody"
required: true
responses:
"200":
description: Returns the log file
content:
text/plain:
schema:
type: string
format: binary
"404":
$ref: "#/components/responses/NotFoundResponse"
"422":
$ref: "#/components/responses/InvalidInputResponse"
/v1/openapi:
get:
tags:
Expand Down
4 changes: 0 additions & 4 deletions airbyte-server/src/main/java/io/airbyte/server/ServerApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
import io.airbyte.server.handlers.DestinationHandler;
import io.airbyte.server.handlers.HealthCheckHandler;
import io.airbyte.server.handlers.JobHistoryHandler;
import io.airbyte.server.handlers.LogsHandler;
import io.airbyte.server.handlers.OAuthHandler;
import io.airbyte.server.handlers.OperationsHandler;
import io.airbyte.server.handlers.SchedulerHandler;
Expand Down Expand Up @@ -321,8 +320,6 @@ public static ServerRunnable getServer(final ServerFactory apiFactory,
configs.getAirbyteVersion(),
temporalClient);

final LogsHandler logsHandler = new LogsHandler(configs);

final WorkspacesHandler workspacesHandler = new WorkspacesHandler(
configRepository,
secretsRepositoryWriter,
Expand Down Expand Up @@ -375,7 +372,6 @@ public static ServerRunnable getServer(final ServerFactory apiFactory,
destinationHandler,
healthCheckHandler,
jobHistoryHandler,
logsHandler,
oAuthHandler,
operationsHandler,
schedulerHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import io.airbyte.server.handlers.DestinationHandler;
import io.airbyte.server.handlers.HealthCheckHandler;
import io.airbyte.server.handlers.JobHistoryHandler;
import io.airbyte.server.handlers.LogsHandler;
import io.airbyte.server.handlers.OAuthHandler;
import io.airbyte.server.handlers.OperationsHandler;
import io.airbyte.server.handlers.SchedulerHandler;
Expand Down Expand Up @@ -60,7 +59,6 @@ ServerRunnable create(final SynchronousSchedulerClient synchronousSchedulerClien
final DestinationHandler destinationApiHandler,
final HealthCheckHandler healthCheckHandler,
final JobHistoryHandler jobHistoryHandler,
final LogsHandler logsHandler,
final OAuthHandler oAuthHandler,
final OperationsHandler operationsHandler,
final SchedulerHandler schedulerHandler,
Expand Down Expand Up @@ -96,7 +94,6 @@ public ServerRunnable create(final SynchronousSchedulerClient synchronousSchedul
final DestinationHandler destinationApiHandler,
final HealthCheckHandler healthCheckHandler,
final JobHistoryHandler jobHistoryHandler,
final LogsHandler logsHandler,
final OAuthHandler oAuthHandler,
final OperationsHandler operationsHandler,
final SchedulerHandler schedulerHandler,
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit fcb271d

Please sign in to comment.