Skip to content

Chore: Addition of Warn Message If Invalid Annotation Key While Tracing #1511

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 22 commits into from

Conversation

jdoherty
Copy link
Contributor

Issue #, 1499:

Description of changes:

Change to emit warning log message if an invalid key is used while putting an annotation while tracing.

Checklist

Breaking change checklist

RFC issue #:

  • Migration process documented
  • Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

scottgerring and others added 22 commits August 4, 2023 16:23
* Initial commit

* Add warning
* build(deps): bump aws.sdk.version from 2.20.119 to 2.20.120 (aws-powertools#1349)

Bumps `aws.sdk.version` from 2.20.119 to 2.20.120.

Updates `software.amazon.awssdk:bom` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:http-client-spi` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.120

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.120

Updates `software.amazon.awssdk:s3` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:dynamodb` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:lambda` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.120

Updates `software.amazon.awssdk:cloudwatch` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:xray` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:cloudformation` from 2.20.119 to 2.20.120

Updates `software.amazon.awssdk:sts` from 2.20.119 to 2.20.120

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (aws-powertools#1350)

Bumps [software.amazon.awscdk:aws-cdk-lib](https://github.com/aws/aws-cdk) from 2.89.0 to 2.90.0.
- [Release notes](https://github.com/aws/aws-cdk/releases)
- [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md)
- [Commits](aws/aws-cdk@v2.89.0...v2.90.0)

---
updated-dependencies:
- dependency-name: software.amazon.awscdk:aws-cdk-lib
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.120 to 2.20.121 (aws-powertools#1351)

Bumps `aws.sdk.version` from 2.20.120 to 2.20.121.

Updates `software.amazon.awssdk:bom` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:http-client-spi` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.121

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.121

Updates `software.amazon.awssdk:s3` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:dynamodb` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:lambda` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.121

Updates `software.amazon.awssdk:cloudwatch` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:xray` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:cloudformation` from 2.20.120 to 2.20.121

Updates `software.amazon.awssdk:sts` from 2.20.120 to 2.20.121

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.121 to 2.20.122 (aws-powertools#1354)

Bumps `aws.sdk.version` from 2.20.121 to 2.20.122.

Updates `software.amazon.awssdk:bom` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:http-client-spi` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.122

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.122

Updates `software.amazon.awssdk:s3` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:dynamodb` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:lambda` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.122

Updates `software.amazon.awssdk:cloudwatch` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:xray` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:cloudformation` from 2.20.121 to 2.20.122

Updates `software.amazon.awssdk:sts` from 2.20.121 to 2.20.122

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.122 to 2.20.123 (aws-powertools#1355)

Bumps `aws.sdk.version` from 2.20.122 to 2.20.123.

Updates `software.amazon.awssdk:bom` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:http-client-spi` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.123

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.123

Updates `software.amazon.awssdk:s3` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:dynamodb` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:lambda` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.123

Updates `software.amazon.awssdk:cloudwatch` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:xray` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:cloudformation` from 2.20.122 to 2.20.123

Updates `software.amazon.awssdk:sts` from 2.20.122 to 2.20.123

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.123 to 2.20.124 (aws-powertools#1356)

Bumps `aws.sdk.version` from 2.20.123 to 2.20.124.

Updates `software.amazon.awssdk:bom` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:http-client-spi` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.124

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.124

Updates `software.amazon.awssdk:s3` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:dynamodb` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:lambda` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.124

Updates `software.amazon.awssdk:cloudwatch` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:xray` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:cloudformation` from 2.20.123 to 2.20.124

Updates `software.amazon.awssdk:sts` from 2.20.123 to 2.20.124

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (aws-powertools#1357)

Bumps [software.amazon.awscdk:aws-cdk-lib](https://github.com/aws/aws-cdk) from 2.90.0 to 2.91.0.
- [Release notes](https://github.com/aws/aws-cdk/releases)
- [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md)
- [Commits](aws/aws-cdk@v2.90.0...v2.91.0)

---
updated-dependencies:
- dependency-name: software.amazon.awscdk:aws-cdk-lib
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* docs: Adding CDK example (aws-powertools#1321)

* Move the current example, which is for SAM, under /sam directory

* Create a new directory for CDK

* Add CDK Example as a Maven module

* CDK Stack stub

* Restructure CDK application info Infra and App projects

* Define the build of the project inside the CDK stack

* Use default account and region

* Add example of setting environment variables in CDK

* Remove threads from the examples, as this should be covered by documentation

* Add general README for the project

* Add specific README for SAM

* Add specific README for CDK

* Use Java11 syntax for CDK

* Refactor the code for clarity

* Fix imports

* Add outputs example

* Add test for the stack

* Update examples/powertools-examples-core/README.md

Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>

* Update examples/powertools-examples-core/cdk/README.md

Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>

* Remove unnecessary .gitignore

* Mixed log level and sample rate

* Combine .gitignore files

* Remove `cdk ls`, since there's just a single stack

* Remove SAM mentions from the CDK readme

* Replace "architecture" with "tool" while talking about SAM/CDK

* Update examples/powertools-examples-core/README.md

Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>

* Update examples/powertools-examples-core/README.md

Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>

* Reformat imports

* Don't include version number in the HelloWorld jar

* Update examples/powertools-examples-core/cdk/infra/src/main/java/cdk/CdkStack.java

Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>

* Add Streaming example as well

* Update examples/powertools-examples-core/README.md

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* Update examples/.gitignore

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* Update examples/.gitignore

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* Update examples/powertools-examples-core/README.md

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* Update examples/powertools-examples-core/cdk/README.md

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* Update examples/powertools-examples-core/sam/README.md

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* Exclude examples from duplicate code scan
https://github.com/aws-powertools/powertools-lambda-java/pull/1317/files

* Fix broken link to the events file

* Trim cdk.json

* Trim cdk.json

* Downgrade code to Java 8

* Correct README to point to powertools-core-idempotency for a quick start

* Add the missing license to the new Java files

* Reformat code

---------

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>

* build(deps-dev): bump org.yaml:snakeyaml from 2.0 to 2.1 (aws-powertools#1344)

Bumps [org.yaml:snakeyaml](https://bitbucket.org/snakeyaml/snakeyaml) from 2.0 to 2.1.
- [Commits](https://bitbucket.org/snakeyaml/snakeyaml/branches/compare/snakeyaml-2.1..snakeyaml-2.0)

---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* build(deps): bump org.apache.maven.plugins:maven-compiler-plugin (aws-powertools#1360)

Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.8.1 to 3.11.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](apache/maven-compiler-plugin@maven-compiler-plugin-3.8.1...maven-compiler-plugin-3.11.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump org.junit.jupiter:junit-jupiter (aws-powertools#1362)

Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.7.1 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](junit-team/junit5@r5.7.1...r5.10.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.124 to 2.20.125 (aws-powertools#1361)

Bumps `aws.sdk.version` from 2.20.124 to 2.20.125.

Updates `software.amazon.awssdk:bom` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:http-client-spi` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.125

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.125

Updates `software.amazon.awssdk:s3` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:dynamodb` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:lambda` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.125

Updates `software.amazon.awssdk:cloudwatch` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:xray` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:cloudformation` from 2.20.124 to 2.20.125

Updates `software.amazon.awssdk:sts` from 2.20.124 to 2.20.125

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump org.codehaus.mojo:exec-maven-plugin (aws-powertools#1366)

Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](mojohaus/exec-maven-plugin@exec-maven-plugin-3.0.0...exec-maven-plugin-3.1.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump software.amazon.awscdk:aws-cdk-lib (aws-powertools#1368)

Bumps [software.amazon.awscdk:aws-cdk-lib](https://github.com/aws/aws-cdk) from 2.88.0 to 2.91.0.
- [Release notes](https://github.com/aws/aws-cdk/releases)
- [Changelog](https://github.com/aws/aws-cdk/blob/main/CHANGELOG.v2.md)
- [Commits](aws/aws-cdk@v2.88.0...v2.91.0)

---
updated-dependencies:
- dependency-name: software.amazon.awscdk:aws-cdk-lib
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.125 to 2.20.126 (aws-powertools#1367)

Bumps `aws.sdk.version` from 2.20.125 to 2.20.126.

Updates `software.amazon.awssdk:bom` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:http-client-spi` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.126

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.126

Updates `software.amazon.awssdk:s3` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:dynamodb` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:lambda` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.126

Updates `software.amazon.awssdk:cloudwatch` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:xray` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:cloudformation` from 2.20.125 to 2.20.126

Updates `software.amazon.awssdk:sts` from 2.20.125 to 2.20.126

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.126 to 2.20.127 (aws-powertools#1372)

Bumps `aws.sdk.version` from 2.20.126 to 2.20.127.

Updates `software.amazon.awssdk:bom` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:http-client-spi` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.127

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.127

Updates `software.amazon.awssdk:s3` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:dynamodb` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:lambda` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.127

Updates `software.amazon.awssdk:cloudwatch` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:xray` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:cloudformation` from 2.20.126 to 2.20.127

Updates `software.amazon.awssdk:sts` from 2.20.126 to 2.20.127

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.109 to 2.20.128 (aws-powertools#1377)

Bumps `aws.sdk.version` from 2.20.109 to 2.20.128.

Updates `software.amazon.awssdk:url-connection-client` from 2.20.109 to 2.20.128

Updates `software.amazon.awssdk:sqs` from 2.20.109 to 2.20.128

Updates `software.amazon.awssdk:sdk-core` from 2.20.109 to 2.20.128

Updates `software.amazon.awssdk:kinesis` from 2.20.109 to 2.20.128

Updates `software.amazon.awssdk:dynamodb-enhanced` from 2.20.109 to 2.20.128

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sdk-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb-enhanced
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: Roll log4j shade transformer forwards (aws-powertools#1376)

* Roll log4j shade transformer forwards

* missed one

* build(deps): bump com.amazonaws:aws-lambda-java-core from 1.2.2 to 1.2.3 (aws-powertools#1379)

Bumps [com.amazonaws:aws-lambda-java-core](https://github.com/aws/aws-lambda-java-libs) from 1.2.2 to 1.2.3.
- [Commits](https://github.com/aws/aws-lambda-java-libs/commits)

---
updated-dependencies:
- dependency-name: com.amazonaws:aws-lambda-java-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump aws.sdk.version from 2.20.127 to 2.20.129 (aws-powertools#1380)

Bumps `aws.sdk.version` from 2.20.127 to 2.20.129.

Updates `software.amazon.awssdk:bom` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:http-client-spi` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:url-connection-client` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:sqs` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:s3` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:dynamodb` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:lambda` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:kinesis` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:cloudwatch` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:xray` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:cloudformation` from 2.20.127 to 2.20.129

Updates `software.amazon.awssdk:sts` from 2.20.127 to 2.20.129

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore:Prep release 1.17.0 (aws-powertools#1381)

* chore:prep release 1.17.0

* Update changelog

---------

Co-authored-by: scottgerring <scottgerring@users.noreply.github.com>
Co-authored-by: Scott Gerring <gerrings@amazon.com>

* chore: Fix missing version change pieces (aws-powertools#1382)

* Add missing bits

* And fixed the fix

* We shouldn't deploy CDK (aws-powertools#1383)

* build(deps): bump aws.sdk.version from 2.20.129 to 2.20.130 (aws-powertools#1386)

Bumps `aws.sdk.version` from 2.20.129 to 2.20.130.

Updates `software.amazon.awssdk:bom` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:http-client-spi` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:url-connection-client` from 2.20.128 to 2.20.130

Updates `software.amazon.awssdk:sqs` from 2.20.128 to 2.20.130

Updates `software.amazon.awssdk:s3` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:dynamodb` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:lambda` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:kinesis` from 2.20.128 to 2.20.130

Updates `software.amazon.awssdk:cloudwatch` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:xray` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:cloudformation` from 2.20.129 to 2.20.130

Updates `software.amazon.awssdk:sts` from 2.20.129 to 2.20.130

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:http-client-spi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:url-connection-client
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sqs
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:s3
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:dynamodb
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:lambda
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:kinesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudwatch
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:xray
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:cloudformation
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: software.amazon.awssdk:sts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix batch pom (aws-powertools#1385)

* Update to snapshot (aws-powertools#1384)

* Fix batch logging (aws-powertools#1387)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexey Soshin <alexey.soshin@gmail.com>
Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>
* First rename

* POM updates

* Rename namespace

* Fix

* Fix?

* More namespace changes

* Rename core examples to core utilities

* Finish renaming core utilities

* Clean up name/description of module

* More change

* Fix readme
* remove aspectj-rt from the library
* set aspectj.version 1.9.20
* add aspectj-rt
* run e2e on v2 updates
…e-main-into-v2

chore: merge main into v2
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 12 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jdoherty jdoherty closed this Nov 10, 2023
scottgerring added a commit that referenced this pull request Dec 5, 2023
* Setting up Kotlin environment. Converting test to Kotlin.

* Deploying via SAM successfully.

* Added Kotlin example.

* Removing unused Gradle build file.

* Adding SAM template so can be used as an existing project and Java target compatibility

* Adding SAM template so can be used as an existing project

* Updating guidance to use SAM for build and deploy

* Restructuring separate Java and Kotlin examples.

* Updating core examples readme to represent new structure for Java and Kotlin examples.

* Refactoring application code for efficiency, updating build to cover tests too and is more idiomatic and readme to be more descriptive

* Updating to fix trailing \n

* Updating guidance to be more specific for examples

* Adopting new mechanism for specifying jvm target.

* accommodating new project structure

* Fixing link typo after refactoring

* Setting up Kotlin environment. Converting test to Kotlin.

* Deploying via SAM successfully.

* Added Kotlin example.

* Removing unused Gradle build file.

* Adding SAM template so can be used as an existing project and Java target compatibility

* Adding SAM template so can be used as an existing project

* Updating guidance to use SAM for build and deploy

* Restructuring separate Java and Kotlin examples.

* Updating core examples readme to represent new structure for Java and Kotlin examples.

* Refactoring application code for efficiency, updating build to cover tests too and is more idiomatic and readme to be more descriptive

* Updating to fix trailing \n

* Updating guidance to be more specific for examples

* Adopting new mechanism for specifying jvm target.

* accommodating new project structure

* Fixing link typo after refactoring

* Flattening structure back to original to make merging easier for v2

* Adding build for Kotlin Gradle

* Adding build for Kotlin Gradle - Restructuring Java examples to v1 approach

* Correcting paths

* Adding SNAPSHOT support and local capability for Maven. Testing using Java 1.8

* Reviewed and updated against PR comments.

* Un-commenting examples

* Adding validation step for IaC SAM

* Adding Terraform for Java projects IaC validator and linter

* Adding additional projects for SAM validation and matrix approach

* Refactoring stream function to process input logging example with a Lambda Function URL instead of APIGW.

* Demonstrating Java streaming response

* Refactoring stream function to process input logging example to return

* Update CONTRIBUTING.md

* fix: get trace id from system property when env var is not set (#1503)

* fix: check if XRAY Trace ID is present in System property

* chore: remove erroneous extra char in tests

* fix #1500 (#1506)

* feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT (#1510)

* chore: Addition of Warn Message If Invalid Annotation Key While Tracing #1511 (#1512)

* feat: ALC (#1514)

* handle AWS_LAMBDA_LOG configuration

* ALC documentation + code review

* update doc

* chore:Prep release 1.18.0 (#1515)

* chore:prep release 1.18.0

* update version

* update version in kotlin example

* maven local repo in gradle example

* update changelog

---------

Co-authored-by: scottgerring <scottgerring@users.noreply.github.com>

* chore: update version to next snapshot: 1-19.0-SNAPSHOT (#1516)

* update version to next snapshot: 1-19.0-SNAPSHOT

* update version to next snapshot: 1-19.0-SNAPSHOT

* update version to next snapshot: 1-19.0-SNAPSHOT

* building only for LTS

* Add some more margin to the test pause (#1518)

* test: e2e tests with java 21 (#1517)

* e2e tests with java 21

* Run Java21 tests using the Java17 compiler

* Run all of the E2E tests in parallel, not just the first 3

* Try again

* .

* Let's try again

* Add some comment on Java21 to the repo

* Add caveat about lambda runtimes

* Clean up wording a little

---------

Co-authored-by: Scott Gerring <gerrings@amazon.com>

* update doc for ALC (#1520)

* chore: Testing java21 aspectj pre-release (#1519)

* e2e tests with java 21

* use aspectj 1.9.21-SNAPSHOT

* Fix log4j2.xml missing in logging test for java21

* rollback double runtime

* remove comment

* keep aspectj 1.9.7 in parent for java8 compatibility

* use M1 instead of snapshot

* update documentation for aspectj

* update documentation for aspectj

---------

Co-authored-by: Jerome Van Der Linden <jeromevdl@gmail.com>

* chore: Remove build cruft

* Adding context for using RequestStreamHandler

* removing pr_lint

* Update examples/powertools-examples-core/sam/src/main/java/helloworld/AppStream.java

Clarify usage of RequestStreamHandler.

Co-authored-by: Alexey Soshin <alexey.soshin@gmail.com>

---------

Co-authored-by: Jason Harris <harrzjas@amazon.com>
Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
Co-authored-by: Jason Harris <harrzjas@amazon.co.uk>
Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>
Co-authored-by: Michele Ricciardi <mriccia@amazon.com>
Co-authored-by: Alexey Soshin <alexey.soshin@gmail.com>
Co-authored-by: jdoherty <jdoherty07@gmail.com>
Co-authored-by: Scott Gerring <gerrings@amazon.com>
Co-authored-by: Jerome Van Der Linden <jeromevdl@gmail.com>
scottgerring added a commit that referenced this pull request Feb 22, 2024
* docs: HelloWorldStreamFunction in examples fails with sam (#1532)

* Setting up Kotlin environment. Converting test to Kotlin.

* Deploying via SAM successfully.

* Added Kotlin example.

* Removing unused Gradle build file.

* Adding SAM template so can be used as an existing project and Java target compatibility

* Adding SAM template so can be used as an existing project

* Updating guidance to use SAM for build and deploy

* Restructuring separate Java and Kotlin examples.

* Updating core examples readme to represent new structure for Java and Kotlin examples.

* Refactoring application code for efficiency, updating build to cover tests too and is more idiomatic and readme to be more descriptive

* Updating to fix trailing \n

* Updating guidance to be more specific for examples

* Adopting new mechanism for specifying jvm target.

* accommodating new project structure

* Fixing link typo after refactoring

* Setting up Kotlin environment. Converting test to Kotlin.

* Deploying via SAM successfully.

* Added Kotlin example.

* Removing unused Gradle build file.

* Adding SAM template so can be used as an existing project and Java target compatibility

* Adding SAM template so can be used as an existing project

* Updating guidance to use SAM for build and deploy

* Restructuring separate Java and Kotlin examples.

* Updating core examples readme to represent new structure for Java and Kotlin examples.

* Refactoring application code for efficiency, updating build to cover tests too and is more idiomatic and readme to be more descriptive

* Updating to fix trailing \n

* Updating guidance to be more specific for examples

* Adopting new mechanism for specifying jvm target.

* accommodating new project structure

* Fixing link typo after refactoring

* Flattening structure back to original to make merging easier for v2

* Adding build for Kotlin Gradle

* Adding build for Kotlin Gradle - Restructuring Java examples to v1 approach

* Correcting paths

* Adding SNAPSHOT support and local capability for Maven. Testing using Java 1.8

* Reviewed and updated against PR comments.

* Un-commenting examples

* Adding validation step for IaC SAM

* Adding Terraform for Java projects IaC validator and linter

* Adding additional projects for SAM validation and matrix approach

* Refactoring stream function to process input logging example with a Lambda Function URL instead of APIGW.

* Demonstrating Java streaming response

* Refactoring stream function to process input logging example to return

* Update CONTRIBUTING.md

* fix: get trace id from system property when env var is not set (#1503)

* fix: check if XRAY Trace ID is present in System property

* chore: remove erroneous extra char in tests

* fix #1500 (#1506)

* feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT (#1510)

* chore: Addition of Warn Message If Invalid Annotation Key While Tracing #1511 (#1512)

* feat: ALC (#1514)

* handle AWS_LAMBDA_LOG configuration

* ALC documentation + code review

* update doc

* chore:Prep release 1.18.0 (#1515)

* chore:prep release 1.18.0

* update version

* update version in kotlin example

* maven local repo in gradle example

* update changelog

---------

Co-authored-by: scottgerring <scottgerring@users.noreply.github.com>

* chore: update version to next snapshot: 1-19.0-SNAPSHOT (#1516)

* update version to next snapshot: 1-19.0-SNAPSHOT

* update version to next snapshot: 1-19.0-SNAPSHOT

* update version to next snapshot: 1-19.0-SNAPSHOT

* building only for LTS

* Add some more margin to the test pause (#1518)

* test: e2e tests with java 21 (#1517)

* e2e tests with java 21

* Run Java21 tests using the Java17 compiler

* Run all of the E2E tests in parallel, not just the first 3

* Try again

* .

* Let's try again

* Add some comment on Java21 to the repo

* Add caveat about lambda runtimes

* Clean up wording a little

---------

Co-authored-by: Scott Gerring <gerrings@amazon.com>

* update doc for ALC (#1520)

* chore: Testing java21 aspectj pre-release (#1519)

* e2e tests with java 21

* use aspectj 1.9.21-SNAPSHOT

* Fix log4j2.xml missing in logging test for java21

* rollback double runtime

* remove comment

* keep aspectj 1.9.7 in parent for java8 compatibility

* use M1 instead of snapshot

* update documentation for aspectj

* update documentation for aspectj

---------

Co-authored-by: Jerome Van Der Linden <jeromevdl@gmail.com>

* chore: Remove build cruft

* Adding context for using RequestStreamHandler

* removing pr_lint

* Update examples/powertools-examples-core/sam/src/main/java/helloworld/AppStream.java

Clarify usage of RequestStreamHandler.

Co-authored-by: Alexey Soshin <alexey.soshin@gmail.com>

---------

Co-authored-by: Jason Harris <harrzjas@amazon.com>
Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>
Co-authored-by: Jason Harris <harrzjas@amazon.co.uk>
Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>
Co-authored-by: Michele Ricciardi <mriccia@amazon.com>
Co-authored-by: Alexey Soshin <alexey.soshin@gmail.com>
Co-authored-by: jdoherty <jdoherty07@gmail.com>
Co-authored-by: Scott Gerring <gerrings@amazon.com>
Co-authored-by: Jerome Van Der Linden <jeromevdl@gmail.com>

* deps: bump aspectj to 1.9.21 for jdk21 (#1536)

* chore: SAM and Terraform IaC extracted from pr_build and simplified approach. (#1533)

* SAM and Terraform IaC extracted from pr_build and simplified approach.

* Update .github/workflows/pr_iac_lint.yml

Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

---------

Co-authored-by: Jason Harris <harrzjas@amazon.co.uk>
Co-authored-by: Scott Gerring <scottgerring@users.noreply.github.com>

* chore: Remove empty CDK test (#1542)

* Remove CDK test

* Build core utilities so that sam validator can find them

* Remove CDK test

* Ok just build it all

* Remove the plan ...

* Remove terraform plan from iac lint

---------

Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>

* dependabot on v2 branch (#1548)

* chore: remove unecessary creds acquisition (#1572)

* Merge from main

---------

Co-authored-by: Jason Harris <jiharris90@gmail.com>
Co-authored-by: Jason Harris <harrzjas@amazon.com>
Co-authored-by: Jason Harris <harrzjas@amazon.co.uk>
Co-authored-by: Jérôme Van Der Linden <117538+jeromevdl@users.noreply.github.com>
Co-authored-by: Michele Ricciardi <mriccia@amazon.com>
Co-authored-by: Alexey Soshin <alexey.soshin@gmail.com>
Co-authored-by: jdoherty <jdoherty07@gmail.com>
Co-authored-by: Jerome Van Der Linden <jeromevdl@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants