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

Fix sqs events upgrade localstack #62

Merged
merged 4 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"rust-analyzer.linkedProjects": [
"lib/workload/stateless/filemanager/Cargo.toml",
"lib/workload/stateful/filemanager/Cargo.toml",
"skel/rust-api/Cargo.toml"
]
}
33 changes: 16 additions & 17 deletions lib/workload/stateful/filemanager/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions lib/workload/stateful/filemanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,20 @@ npx cdklocal bootstrap
npx cdklocal deploy
```

**WARNING**: it's possible that a profile called "default" in `~/.aws/config` could interfere with awslocal.
It's possible that a profile called "default" in `~/.aws/config` could interfere with awslocal. A recommended `~/.aws/credentials` that works with localstack's dummy `0000000000` AWS account would look like this:

**WARNING**: Make sure there's no pre-existing deployment with `npx cdklocal destroy`, otherwise your stack might fail to deploy with `CREATE FAILED`.
```
[default]
aws_access_key_id = access_key
aws_secret_access_key = secret_key
```

Make sure there's no pre-existing deployment with `npx cdklocal destroy`, otherwise your stack might fail to deploy with `CREATE FAILED`.
Also, `cargo install sqlx-cli` tools to easy database migration helpers and perform migrations when needed:

```shell
cd database && sqlx migrate run
```

## Ingestion test

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ create table object (
-- When this object was deleted, a null value means that the object has not yet been deleted.
deleted_date timestamptz default null,
-- The date of the object and its id combined.
portal_run_id varchar(255) not null,
portal_run_id varchar(255) not null
-- provenance - history of all objects and how they move?
);
);
50 changes: 25 additions & 25 deletions lib/workload/stateful/filemanager/deploy/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading