Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added endpoint support to storehaus-dynamodb #236

Merged
merged 3 commits into from
Aug 5, 2014
Merged

Added endpoint support to storehaus-dynamodb #236

merged 3 commits into from
Aug 5, 2014

Conversation

BenFradet
Copy link
Contributor

storehaus-dynamodb is limited to the default aws endpoint which is us-east1 and we're working in Europe.

import com.amazonaws.services.dynamodbv2.model._

import AwsBijections._

object DynamoLongStore {
def apply(awsAccessKey: String, awsSecretKey: String, tableName: String, primaryKeyColumn: String, valueColumn: String) =
new DynamoLongStore(DynamoStore(awsAccessKey, awsSecretKey, tableName, primaryKeyColumn, valueColumn))
def apply(awsAccessKey: String, awsSecretKey: String, endpoint: Regions, tableName: String,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a default version equivalent to the old one? No need to break people if we don't need to, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup sure, was thinking of doing that initially.

@rubanm
Copy link
Contributor

rubanm commented Aug 4, 2014

@BenFradet Can you merge in develop? We fixed an issue causing intermittent build failures - #237 Thanks.

@BenFradet
Copy link
Contributor Author

Yup sure, thanks for the heads up.

@rubanm
Copy link
Contributor

rubanm commented Aug 5, 2014

Travis ci passed. Merging. Thanks.

rubanm added a commit that referenced this pull request Aug 5, 2014
Added endpoint support to storehaus-dynamodb
@rubanm rubanm merged commit 3517b79 into twitter:develop Aug 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants