-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve issue pdf-alto failed due to some chars
Spaces + ampersand in url were seen to cause issues. PDF saved with safe name and source saved in txt file alongside for troubleshooting
- Loading branch information
1 parent
3a3ab75
commit f6bdf5b
Showing
4 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM localstack/localstack:2.2.0 | ||
FROM localstack/localstack:2.3.0 | ||
COPY seed-resources.sh /etc/localstack/init/ready.d/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#! /bin/bash | ||
# create bucket | ||
awslocal s3 mb s3://pdf-to-alto | ||
awslocal s3 mb s3://pdf-to-alto --region eu-west-1 | ||
|
||
# create incoming and complete queue | ||
awslocal sqs create-queue --queue-name incoming | ||
awslocal sqs create-queue --queue-name completed | ||
awslocal sqs create-queue --queue-name incoming --region eu-west-1 | ||
awslocal sqs create-queue --queue-name completed --region eu-west-1 | ||
|
||
# create incoming and complete bucket | ||
awslocal sns create-topic --name incoming-topic | ||
awslocal sns create-topic --name completed-topic | ||
awslocal sns create-topic --name incoming-topic --region eu-west-1 | ||
awslocal sns create-topic --name completed-topic --region eu-west-1 | ||
|
||
# create subscribe sqs queue to respective topic | ||
awslocal sns subscribe --topic-arn arn:aws:sns:eu-west-1:000000000000:incoming-topic --protocol sqs --notification-endpoint arn:aws:sqs:eu-west-1:000000000000:incoming | ||
awslocal sns subscribe --topic-arn arn:aws:sns:eu-west-1:000000000000:completed-topic --protocol sqs --notification-endpoint arn:aws:sqs:eu-west-1:000000000000:completed | ||
awslocal sns subscribe --topic-arn arn:aws:sns:eu-west-1:000000000000:incoming-topic --protocol sqs --notification-endpoint arn:aws:sqs:eu-west-1:000000000000:incoming --region eu-west-1 | ||
awslocal sns subscribe --topic-arn arn:aws:sns:eu-west-1:000000000000:completed-topic --protocol sqs --notification-endpoint arn:aws:sqs:eu-west-1:000000000000:completed --region eu-west-1 |
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