Created
September 4, 2011 12:02
-
-
Save oliverdaff/1192761 to your computer and use it in GitHub Desktop.
SimpleDbDevTest client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package simpledbtest; | |
import org.junit.Test; | |
import com.amazonaws.auth.AWSCredentials; | |
import com.amazonaws.auth.BasicAWSCredentials; | |
import com.amazonaws.services.simpledb.AmazonSimpleDBClient; | |
public class SimpleDbDevTest { | |
@Test | |
public void test() { | |
AWSCredentials awsCredentials = new BasicAWSCredentials("xxx", "zzz"); | |
AmazonSimpleDBClient client = new AmazonSimpleDBClient(awsCredentials); | |
client.setEndpoint("http://localhost:8080/"); | |
client.listDomains(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment