Change tests to use default server port of 5000.
This commit is contained in:
parent
689adf7dbc
commit
cda553abfb
9 changed files with 12 additions and 12 deletions
|
|
@ -36,7 +36,7 @@ public class S3Sample {
|
|||
AmazonSQS sqs = new AmazonSQSClient();
|
||||
Region usWest2 = Region.getRegion(Regions.US_WEST_2);
|
||||
sqs.setRegion(usWest2);
|
||||
sqs.setEndpoint("http://localhost:8086");
|
||||
sqs.setEndpoint("http://localhost:5000");
|
||||
|
||||
String queueName = "my-first-queue";
|
||||
sqs.createQueue(queueName);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
var AWS = require('aws-sdk');
|
||||
|
||||
var s3 = new AWS.S3({endpoint: "http://localhost:8086"});
|
||||
var s3 = new AWS.S3({endpoint: "http://localhost:5000"});
|
||||
var myBucket = 'my.unique.bucket.name';
|
||||
|
||||
var myKey = 'myBucketKey';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
require 'aws-sdk'
|
||||
|
||||
sqs = Aws::SQS::Resource.new(region: 'us-west-2', endpoint: 'http://localhost:8086')
|
||||
sqs = Aws::SQS::Resource.new(region: 'us-west-2', endpoint: 'http://localhost:5000')
|
||||
my_queue = sqs.create_queue(queue_name: 'my-bucket')
|
||||
|
||||
puts sqs.client.list_queues()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue