Skip to content

Commit

Permalink
Update local java version
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseydew committed Feb 29, 2024
1 parent 77ae856 commit cee4de3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ Build a jar of the project by running:
Run the lambda service
- `DOCKER_HOST=unix://$HOME/.docker/run/docker.sock sam local start-lambda --debug`
Execute a function
Execute a function locally
- `DOCKER_HOST=unix://$HOME/.docker/run/docker.sock sam local invoke`
Execute a function on CODE
- `aws lambda invoke --function-name "mobilesaveforlaterFETCHcdkCODE" --endpoint-url "http://127.0.0.1:3001" --no-verify-ssl out.txt --profile mobile --region eu-west-1`
### Mobile Save For Later User Deletion
Expand All @@ -106,7 +109,10 @@ Build a jar of the project by running:
Run the lambda service
- `DOCKER_HOST=unix://$HOME/.docker/run/docker.sock sam local start-lambda --debug`
Execute a function
Execute a function locally
- `DOCKER_HOST=unix://$HOME/.docker/run/docker.sock sam local invoke`
Execute a function on CODE
- `aws lambda invoke --function-name "mobilesaveforlateruserdeletionCODE" --endpoint-url "http://127.0.0.1:3001" --no-verify-ssl out.txt --profile mobile --region eu-west-1`
## Testing the Apps on CODE
Expand Down
2 changes: 1 addition & 1 deletion mobile-save-for-later-user-deletion/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Resources:
MemorySize: 384
Timeout: 300
Handler: com.gu.sfl.userdeletion.UserDeletionLambda::handler
Runtime: java8
Runtime: java11
Architectures:
- x86_64
EphemeralStorage:
Expand Down
2 changes: 1 addition & 1 deletion mobile-save-for-later/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Resources:
MemorySize: 1024
Timeout: 20
Handler: com.gu.sfl.lambda.FetchArticlesLambda::handleRequest
Runtime: java8
Runtime: java11
Architectures:
- x86_64
EphemeralStorage:
Expand Down

0 comments on commit cee4de3

Please sign in to comment.