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

feat: world manifest #446

Merged
merged 6 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ This will return the url of the queue

```
{
"QueueUrl": "http://localhost:4566/000000000000/places_test"
"QueueUrl": "http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/places_test"
}
```

Expand All @@ -151,7 +151,7 @@ The message to be received from the SQS must be sent using `awslocal`. This mess
And this must be sent as a message body like this using awslocal `awslocal sqs send-message --queue-url {queue-url} --message-body {message}` like:

```
$ awslocal sqs send-message --queue-url http://localhost:4566/00000000000/places_test --message-body '{"Message":"{\"entity\":{\"entityId\":\"bafkreietumuqvq6kyy5k3dnn4z57j45isf5e2rjn46w2hrcpfghwmausvy\",\"authChain\":\"authChain\"},\"contentServerUrls\":[\"https://peer.decentraland.org/content\"]}"}'
$ awslocal sqs send-message --queue-url http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/places_test --message-body '{"Message":"{\"entity\":{\"entityId\":\"bafkreietumuqvq6kyy5k3dnn4z57j45isf5e2rjn46w2hrcpfghwmausvy\",\"authChain\":\"authChain\"},\"contentServerUrls\":[\"https://peer.decentraland.org/content\"]}"}'
```

This will answer with a JSON with the message id like
Expand All @@ -167,7 +167,7 @@ To return the messages set in the SQS, a curl command can be executed `http://lo

```
$ curl -H "Accept: application/json" \
"http://localhost:4566/_aws/sqs/messages?QueueUrl=http://queue.localhost.localstack.cloud:4566/000000000000/places_test"
"http://localhost:4566/_aws/sqs/messages?QueueUrl=http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/places_test"
```

And the response should be something like
Expand Down Expand Up @@ -211,5 +211,5 @@ And the response should be something like
Finally to purge the SQS `awslocal sqs purge-queue --queue-url {queue_url}`

```
$ awslocal sqs purge-queue --queue-url http://localhost:4566/00000000000/places_test
$ awslocal sqs purge-queue --queue-url http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/places_test
```
Loading
Loading