Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions blob/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.bazaarvoice.emodb.blob.core.BlobStoreProviderProxy;
import com.bazaarvoice.emodb.blob.core.DefaultBlobStore;
import com.bazaarvoice.emodb.blob.core.LocalBlobStore;
import com.bazaarvoice.emodb.blob.core.S3BlobStore;
import com.bazaarvoice.emodb.blob.core.SystemBlobStore;
import com.bazaarvoice.emodb.blob.db.StorageProvider;
import com.bazaarvoice.emodb.blob.db.astyanax.AstyanaxStorageProvider;
Expand Down Expand Up @@ -197,8 +198,8 @@ protected void configure() {
}

// Bind the BlobStore instance that the rest of the application will consume
bind(DefaultBlobStore.class).asEagerSingleton();
bind(BlobStore.class).annotatedWith(LocalBlobStore.class).to(DefaultBlobStore.class);
bind(S3BlobStore.class).asEagerSingleton();
bind(BlobStore.class).annotatedWith(LocalBlobStore.class).to(S3BlobStore.class);
expose(BlobStore.class);

// Bind any methods annotated with @ParameterizedTimed
Expand Down
Loading