Commit 1813e5f
chore(v2): Merge down from main (aws-powertools#1574)
* docs: HelloWorldStreamFunction in examples fails with sam (aws-powertools#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 (aws-powertools#1503)
* fix: check if XRAY Trace ID is present in System property
* chore: remove erroneous extra char in tests
* fix aws-powertools#1500 (aws-powertools#1506)
* feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT (aws-powertools#1510)
* chore: Addition of Warn Message If Invalid Annotation Key While Tracing aws-powertools#1511 (aws-powertools#1512)
* feat: ALC (aws-powertools#1514)
* handle AWS_LAMBDA_LOG configuration
* ALC documentation + code review
* update doc
* chore:Prep release 1.18.0 (aws-powertools#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 <[email protected]>
* chore: update version to next snapshot: 1-19.0-SNAPSHOT (aws-powertools#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 (aws-powertools#1518)
* test: e2e tests with java 21 (aws-powertools#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 <[email protected]>
* update doc for ALC (aws-powertools#1520)
* chore: Testing java21 aspectj pre-release (aws-powertools#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 <[email protected]>
* 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 <[email protected]>
---------
Co-authored-by: Jason Harris <[email protected]>
Co-authored-by: Scott Gerring <[email protected]>
Co-authored-by: Jason Harris <[email protected]>
Co-authored-by: Jérôme Van Der Linden <[email protected]>
Co-authored-by: Michele Ricciardi <[email protected]>
Co-authored-by: Alexey Soshin <[email protected]>
Co-authored-by: jdoherty <[email protected]>
Co-authored-by: Scott Gerring <[email protected]>
Co-authored-by: Jerome Van Der Linden <[email protected]>
* deps: bump aspectj to 1.9.21 for jdk21 (aws-powertools#1536)
* chore: SAM and Terraform IaC extracted from pr_build and simplified approach. (aws-powertools#1533)
* SAM and Terraform IaC extracted from pr_build and simplified approach.
* Update .github/workflows/pr_iac_lint.yml
Co-authored-by: Scott Gerring <[email protected]>
---------
Co-authored-by: Jason Harris <[email protected]>
Co-authored-by: Scott Gerring <[email protected]>
* chore: Remove empty CDK test (aws-powertools#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 <[email protected]>
* dependabot on v2 branch (aws-powertools#1548)
* chore: remove unecessary creds acquisition (aws-powertools#1572)
* Merge from main
---------
Co-authored-by: Jason Harris <[email protected]>
Co-authored-by: Jason Harris <[email protected]>
Co-authored-by: Jason Harris <[email protected]>
Co-authored-by: Jérôme Van Der Linden <[email protected]>
Co-authored-by: Michele Ricciardi <[email protected]>
Co-authored-by: Alexey Soshin <[email protected]>
Co-authored-by: jdoherty <[email protected]>
Co-authored-by: Jerome Van Der Linden <[email protected]>1 parent 8151421 commit 1813e5f
8 files changed
Lines changed: 112 additions & 87 deletions
File tree
- .github
- workflows
- docs
- examples/powertools-examples-core-utilities
- cdk
- app/src/main/java/helloworld
- infra/src/test/java/cdk
- gradle/src/main/java/helloworld
- powertools-e2e-tests/handlers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 83 | | |
111 | 84 | | |
112 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 309 | | |
313 | 310 | | |
314 | 311 | | |
| |||
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
33 | | - | |
34 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
35 | 50 | | |
36 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
37 | 57 | | |
38 | 58 | | |
| 59 | + | |
Lines changed: 0 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
33 | | - | |
34 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
35 | 50 | | |
36 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
37 | 57 | | |
38 | 58 | | |
| 59 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments