From 5bc41439feef6efd51cab27453ddbdb58822cb09 Mon Sep 17 00:00:00 2001 From: Adolfo Date: Thu, 9 Feb 2023 09:01:09 +0100 Subject: [PATCH 1/6] Change the SQS.Event to the valid SQSEvent type at the SimpleLambdaHandler example --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index dc3bedec..7aac6068 100644 --- a/readme.md +++ b/readme.md @@ -118,7 +118,7 @@ Next, create a `MyLambda.swift` and implement your Lambda. Note that the file ca @main struct MyLambda: SimpleLambdaHandler { // In this example we are receiving a SQS Event, with no response (Void). - func handle(_ event: SQS.Event, context: LambdaContext) async throws -> Void { + func handle(_ event: SQSEvent, context: LambdaContext) async throws { ... } } From de518004e7367e4eeb5bfe1df40c2cb9ec469897 Mon Sep 17 00:00:00 2001 From: Adolfo Date: Thu, 23 Feb 2023 16:18:25 +0100 Subject: [PATCH 2/6] Issue Report v2 Issue template using the GitHub Forms syntax. --- .github/ISSUE_TEMPLATE/issue-report.yml | 74 +++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue-report.yml diff --git a/.github/ISSUE_TEMPLATE/issue-report.yml b/.github/ISSUE_TEMPLATE/issue-report.yml new file mode 100644 index 00000000..1a95ddad --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue-report.yml @@ -0,0 +1,74 @@ +name: Swift AWS Lambda SDK issue +description: File an issue report with the usage of the Swift AWS Lambda Runtime +body: + - type: markdown + attributes: + value: "Thanks for taking the time to fill out this issue report" + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: What you expected to happen? + placeholder: Describe with your own words the expected result + validations: + required: true + - type: textarea + id: what-happend + attributes: + label: Actual behavior + description: What actually happened + placeholder: Describe + validations: + required: true + - type: textarea + id: steps-to-reproduce + attributes: + label: Steps to reproduce + description: List the steps followed to reproduce the behaviour you are reporting + placeholder: | + 1. First I... + 2. Then... + 3. Finally... + validations: + required: true + - type: textarea + id: code-snippet + attributes: + label: If possible, minimal yet complete reproducer code (or URL to code) + description: List the steps followed to reproduce the behaviour you are reporting + placeholder: | + You can add any relevant code snippet that you consider or an URL to code. + + URL could be a link to a GitHub Gist, for example + validations: + required: false + - type: input + id: swift-aws-lambda-runtime-version + attributes: + label: What version of this project (`swift-aws-lambda-runtime`) are you using? + description: The release, branch or commit hash related with this issue. + placeholder: 1.0.0-alpha.1 + render: shell + validations: + required: true + - type: input + id: swift-version + attributes: + label: Swift version + description: Swift environment version. + placeholder: | + Open a Terminal and execute the following command + + swift --version && uname -a + render: shell + validations: + required: true + - type: input + id: amazon-linux-2-version + attributes: + label: Amazon Linux 2 docker image version + description: The docker image tag used to archive the lambda, if available. + placeholder: 5.7.3-amazonlinux2 + render: shell + validations: + required: false From 935755b79d9ebae6ca48349d03ccc88f089df7a2 Mon Sep 17 00:00:00 2001 From: Adolfo Date: Thu, 23 Feb 2023 16:21:05 +0100 Subject: [PATCH 3/6] Delete ISSUE_TEMPLATE.md --- .github/ISSUE_TEMPLATE.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 1c2f5167..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,20 +0,0 @@ -### Expected behavior -_[what you expected to happen]_ - -### Actual behavior -_[what actually happened]_ - -### Steps to reproduce - -1. ... -2. ... - -### If possible, minimal yet complete reproducer code (or URL to code) - -_[anything to help us reproducing the issue]_ - -### SwiftAWSLambdaRuntime version/commit hash - -_[the SwiftAWSLambdaRuntime tag/commit hash]_ - -### Swift & OS version (output of `swift --version && uname -a`) From cd92ba7866a1b6554ccee3feeac8dbb417d0f1f5 Mon Sep 17 00:00:00 2001 From: Adolfo Date: Thu, 23 Feb 2023 16:29:20 +0100 Subject: [PATCH 4/6] Update issue-report.yml Remove the `render` attribute --- .github/ISSUE_TEMPLATE/issue-report.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/issue-report.yml b/.github/ISSUE_TEMPLATE/issue-report.yml index 1a95ddad..8976ce74 100644 --- a/.github/ISSUE_TEMPLATE/issue-report.yml +++ b/.github/ISSUE_TEMPLATE/issue-report.yml @@ -48,7 +48,6 @@ body: label: What version of this project (`swift-aws-lambda-runtime`) are you using? description: The release, branch or commit hash related with this issue. placeholder: 1.0.0-alpha.1 - render: shell validations: required: true - type: input @@ -60,7 +59,6 @@ body: Open a Terminal and execute the following command swift --version && uname -a - render: shell validations: required: true - type: input @@ -69,6 +67,5 @@ body: label: Amazon Linux 2 docker image version description: The docker image tag used to archive the lambda, if available. placeholder: 5.7.3-amazonlinux2 - render: shell validations: required: false From 6f65464f8ac0118d962334a9ed22c2f02e01e737 Mon Sep 17 00:00:00 2001 From: Adolfo Date: Thu, 23 Feb 2023 16:38:13 +0100 Subject: [PATCH 5/6] Update issue-report.yml Change the Swift version from `input` to `texture` --- .github/ISSUE_TEMPLATE/issue-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/issue-report.yml b/.github/ISSUE_TEMPLATE/issue-report.yml index 8976ce74..e5f5d4e9 100644 --- a/.github/ISSUE_TEMPLATE/issue-report.yml +++ b/.github/ISSUE_TEMPLATE/issue-report.yml @@ -50,7 +50,7 @@ body: placeholder: 1.0.0-alpha.1 validations: required: true - - type: input + - type: textarea id: swift-version attributes: label: Swift version From 1ead32fe7a4ef9bde725b21676cfbf0c14ef7000 Mon Sep 17 00:00:00 2001 From: fitomad Date: Tue, 6 Aug 2024 23:08:22 +0200 Subject: [PATCH 6/6] First version of projects.md file --- projects.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 projects.md diff --git a/projects.md b/projects.md new file mode 100644 index 00000000..e63d13ec --- /dev/null +++ b/projects.md @@ -0,0 +1,7 @@ +# Projects using Swift AWS Lambda Runtime library + +Here you will find a list of code repositories that has in common the usage of the **Swift AWS Lambda Runtime** library. + +Provide a link to your code repository and a short description about your example. + +- [GlobantPlus](https://github.com/fitomad/TechTalk-AWS-Lamba-Swift/). An imaginary streaming services with a tvOS application that interacts with the AWS API Gateway, AWS SQS services and a set of Lambdas that cover different aspects. Repository's documentation available in Spanish🇪🇸 and English🇺🇸. \ No newline at end of file