Skip to content

Commit

Permalink
Rbroughan/remove standard sync output client (#12106)
Browse files Browse the repository at this point in the history
  • Loading branch information
tryangul committed Apr 12, 2024
1 parent b702635 commit e4eb8c1
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 347 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ class ActivityPayloadStorageClientTest {

private lateinit var client: ActivityPayloadStorageClient

private lateinit var comparator: StandardSyncOutputComparator
private var comparator = NaiveEqualityComparator<StandardSyncOutput>()

@BeforeEach
fun setup() {
client = ActivityPayloadStorageClient(storageClientRaw, serde, metricClient)
comparator = StandardSyncOutputComparator()

every { metricClient.count(any(), any(), *anyVararg()) } returns Unit

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,5 @@ properties:
type: array
items:
"$ref": FailureReason.yaml
uri:
"$ref": ActivityPayloadURI.yaml
catalogUri:
"$ref": ActivityPayloadURI.yaml
4 changes: 0 additions & 4 deletions airbyte-featureflag/src/main/kotlin/FlagDefinitions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,6 @@ object EnforceMutexKeyOnCreate : Temporary<Boolean>(key = "platform.enforce-mute

object ActivateRefreshes : Temporary<Boolean>(key = "platform.activate-refreshes", default = false)

object WriteReplicationOutputToObjectStorage : Temporary<Boolean>(key = "platform.write-replication-output-to-object-storage", default = false)

object ReadReplicationOutputFromObjectStorage : Temporary<Boolean>(key = "platform.read-replication-output-from-object-storage", default = false)

object WriteOutputCatalogToObjectStorage : Temporary<Boolean>(key = "platform.write-output-catalog-to-object-storage", default = false)

object NullOutputCatalogOnSyncOutput : Temporary<Boolean>(key = "platform.null-output-catalog-on-sync-output", default = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@

import io.airbyte.commons.json.JsonSerde;
import io.airbyte.config.State;
import io.airbyte.featureflag.FeatureFlagClient;
import io.airbyte.metrics.lib.MetricClient;
import io.airbyte.protocol.models.ConfiguredAirbyteCatalog;
import io.airbyte.workers.storage.DocumentType;
import io.airbyte.workers.storage.StorageClient;
import io.airbyte.workers.storage.StorageClientFactory;
import io.airbyte.workers.storage.activities.ActivityPayloadStorageClient;
import io.airbyte.workers.storage.activities.OutputStorageClient;
import io.airbyte.workers.storage.activities.payloads.StandardSyncOutputClient;
import io.micronaut.context.annotation.Factory;
import jakarta.inject.Named;
import jakarta.inject.Singleton;
Expand Down Expand Up @@ -74,17 +72,6 @@ public ActivityPayloadStorageClient activityPayloadStorageClient(
metricClient);
}

@Singleton
public StandardSyncOutputClient standardSyncOutputClient(
final ActivityPayloadStorageClient payloadStorageClient,
final FeatureFlagClient featureFlagClient,
final MetricClient metricClient) {
return new StandardSyncOutputClient(
payloadStorageClient,
metricClient,
featureFlagClient);
}

@Singleton
@Named("outputStateClient")
public OutputStorageClient<State> outputStateClient(
Expand Down
Loading

0 comments on commit e4eb8c1

Please sign in to comment.