This repository was archived by the owner on Mar 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +100
-64
lines changed
cookiecutter-aws-sam-hello-powertools-java-gradle/{{ cookiecutter.project_slug }}
cookiecutter-aws-sam-hello-powertools-java-maven/{{ cookiecutter.project_slug }}
cookiecutter-aws-sam-hello-powertools-java-gradle/{{ cookiecutter.project_slug }}
cookiecutter-aws-sam-hello-powertools-java-maven/{{ cookiecutter.project_slug }}
cookiecutter-aws-sam-hello-powertools-java-gradle/{{ cookiecutter.project_slug }}
cookiecutter-aws-sam-hello-powertools-java-maven/{{ cookiecutter.project_slug }} Expand file tree Collapse file tree 12 files changed +100
-64
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ repositories {
9
9
10
10
dependencies {
11
11
implementation ' software.amazon.lambda:powertools-tracing:1.3.0'
12
- aspectpath ' software.amazon.lambda:powertools-tracing:1.2 .0'
12
+ aspectpath ' software.amazon.lambda:powertools-tracing:1.3 .0'
13
13
14
14
implementation ' software.amazon.lambda:powertools-logging:1.3.0'
15
- aspectpath ' software.amazon.lambda:powertools-logging:1.2 .0'
15
+ aspectpath ' software.amazon.lambda:powertools-logging:1.3 .0'
16
16
17
17
implementation ' software.amazon.lambda:powertools-metrics:1.3.0'
18
- aspectpath ' software.amazon.lambda:powertools-metrics:1.2 .0'
18
+ aspectpath ' software.amazon.lambda:powertools-metrics:1.3 .0'
19
19
20
20
implementation ' com.amazonaws:aws-lambda-java-core:1.2.1'
21
21
implementation ' com.amazonaws:aws-lambda-java-events:3.7.0'
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Globals:
13
13
Environment :
14
14
Variables :
15
15
# Powertools env vars: https://awslabs.github.io/aws-lambda-powertools-python/#environment-variables
16
- LOG_LEVEL : INFO
16
+ POWERTOOLS_LOG_LEVEL : INFO
17
17
POWERTOOLS_LOGGER_SAMPLE_RATE : 0.1
18
18
POWERTOOLS_LOGGER_LOG_EVENT : true
19
19
POWERTOOLS_METRICS_NAMESPACE : {{ cookiecutter.project_slug }}
Original file line number Diff line number Diff line change 22
22
<dependency >
23
23
<groupId >software.amazon.lambda</groupId >
24
24
<artifactId >powertools-logging</artifactId >
25
- <version >1.2 .0</version >
25
+ <version >1.3 .0</version >
26
26
</dependency >
27
27
<dependency >
28
28
<groupId >software.amazon.lambda</groupId >
29
29
<artifactId >powertools-metrics</artifactId >
30
- <version >1.2 .0</version >
30
+ <version >1.3 .0</version >
31
31
</dependency >
32
32
<dependency >
33
33
<groupId >com.amazonaws</groupId >
97
97
</executions >
98
98
</plugin >
99
99
<plugin >
100
- <groupId >org.apache.maven.plugins</groupId >
101
- <artifactId >maven-shade-plugin</artifactId >
102
- <version >3.2.4</version >
103
- <configuration >
104
- </configuration >
105
- <executions >
106
- <execution >
107
- <phase >package</phase >
108
- <goals >
109
- <goal >shade</goal >
110
- </goals >
111
- </execution >
112
- </executions >
100
+ <groupId >org.apache.maven.plugins</groupId >
101
+ <artifactId >maven-shade-plugin</artifactId >
102
+ <version >3.2.4</version >
103
+ <executions >
104
+ <execution >
105
+ <phase >package</phase >
106
+ <goals >
107
+ <goal >shade</goal >
108
+ </goals >
109
+ <configuration >
110
+ <transformers >
111
+ <transformer
112
+ implementation =" com.github.edwgiz.maven_shade_plugin.log4j2_cache_transformer.PluginsCacheFileTransformer" >
113
+ </transformer >
114
+ </transformers >
115
+ </configuration >
116
+ </execution >
117
+ </executions >
118
+ <dependencies >
119
+ <dependency >
120
+ <groupId >com.github.edwgiz</groupId >
121
+ <artifactId >maven-shade-plugin.log4j2-cachefile-transformer</artifactId >
122
+ <version >2.14.0</version >
123
+ </dependency >
124
+ </dependencies >
113
125
</plugin >
114
126
</plugins >
115
127
</build >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Globals:
13
13
Environment :
14
14
Variables :
15
15
# Powertools env vars: https://awslabs.github.io/aws-lambda-powertools-python/#environment-variables
16
- LOG_LEVEL : INFO
16
+ POWERTOOLS_LOG_LEVEL : INFO
17
17
POWERTOOLS_LOGGER_SAMPLE_RATE : 0.1
18
18
POWERTOOLS_LOGGER_LOG_EVENT : true
19
19
POWERTOOLS_METRICS_NAMESPACE : {{ cookiecutter.project_slug }}
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ repositories {
9
9
10
10
dependencies {
11
11
implementation ' software.amazon.lambda:powertools-tracing:1.3.0'
12
- aspectpath ' software.amazon.lambda:powertools-tracing:1.2 .0'
12
+ aspectpath ' software.amazon.lambda:powertools-tracing:1.3 .0'
13
13
14
14
implementation ' software.amazon.lambda:powertools-logging:1.3.0'
15
- aspectpath ' software.amazon.lambda:powertools-logging:1.2 .0'
15
+ aspectpath ' software.amazon.lambda:powertools-logging:1.3 .0'
16
16
17
17
implementation ' software.amazon.lambda:powertools-metrics:1.3.0'
18
- aspectpath ' software.amazon.lambda:powertools-metrics:1.2 .0'
18
+ aspectpath ' software.amazon.lambda:powertools-metrics:1.3 .0'
19
19
20
20
implementation ' com.amazonaws:aws-lambda-java-core:1.2.1'
21
21
implementation ' com.amazonaws:aws-lambda-java-events:3.7.0'
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Globals:
13
13
Environment :
14
14
Variables :
15
15
# Powertools env vars: https://awslabs.github.io/aws-lambda-powertools-python/#environment-variables
16
- LOG_LEVEL : INFO
16
+ POWERTOOLS_LOG_LEVEL : INFO
17
17
POWERTOOLS_LOGGER_SAMPLE_RATE : 0.1
18
18
POWERTOOLS_LOGGER_LOG_EVENT : true
19
19
POWERTOOLS_METRICS_NAMESPACE : {{ cookiecutter.project_slug }}
Original file line number Diff line number Diff line change 17
17
<dependency >
18
18
<groupId >software.amazon.lambda</groupId >
19
19
<artifactId >powertools-tracing</artifactId >
20
- <version >1.2 .0</version >
20
+ <version >1.3 .0</version >
21
21
</dependency >
22
22
<dependency >
23
23
<groupId >software.amazon.lambda</groupId >
24
24
<artifactId >powertools-logging</artifactId >
25
- <version >1.2 .0</version >
25
+ <version >1.3 .0</version >
26
26
</dependency >
27
27
<dependency >
28
28
<groupId >software.amazon.lambda</groupId >
29
29
<artifactId >powertools-metrics</artifactId >
30
- <version >1.2 .0</version >
30
+ <version >1.3 .0</version >
31
31
</dependency >
32
32
<dependency >
33
33
<groupId >com.amazonaws</groupId >
91
91
</execution >
92
92
</executions >
93
93
</plugin >
94
- <plugin >
95
- <groupId >org.apache.maven.plugins</groupId >
96
- <artifactId >maven-shade-plugin</artifactId >
97
- <version >3.2.4</version >
98
- <configuration >
99
- </configuration >
100
- <executions >
101
- <execution >
102
- <phase >package</phase >
103
- <goals >
104
- <goal >shade</goal >
105
- </goals >
106
- </execution >
107
- </executions >
108
- </plugin >
94
+ <plugin >
95
+ <groupId >org.apache.maven.plugins</groupId >
96
+ <artifactId >maven-shade-plugin</artifactId >
97
+ <version >3.2.4</version >
98
+ <executions >
99
+ <execution >
100
+ <phase >package</phase >
101
+ <goals >
102
+ <goal >shade</goal >
103
+ </goals >
104
+ <configuration >
105
+ <transformers >
106
+ <transformer
107
+ implementation =" com.github.edwgiz.maven_shade_plugin.log4j2_cache_transformer.PluginsCacheFileTransformer" >
108
+ </transformer >
109
+ </transformers >
110
+ </configuration >
111
+ </execution >
112
+ </executions >
113
+ <dependencies >
114
+ <dependency >
115
+ <groupId >com.github.edwgiz</groupId >
116
+ <artifactId >maven-shade-plugin.log4j2-cachefile-transformer</artifactId >
117
+ <version >2.14.0</version >
118
+ </dependency >
119
+ </dependencies >
120
+ </plugin >
109
121
</plugins >
110
122
</build >
111
123
</project >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Globals:
13
13
Environment :
14
14
Variables :
15
15
# Powertools env vars: https://awslabs.github.io/aws-lambda-powertools-python/#environment-variables
16
- LOG_LEVEL : INFO
16
+ POWERTOOLS_LOG_LEVEL : INFO
17
17
POWERTOOLS_LOGGER_SAMPLE_RATE : 0.1
18
18
POWERTOOLS_LOGGER_LOG_EVENT : true
19
19
POWERTOOLS_METRICS_NAMESPACE : {{ cookiecutter.project_slug }}
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ repositories {
9
9
10
10
dependencies {
11
11
implementation ' software.amazon.lambda:powertools-tracing:1.3.0'
12
- aspectpath ' software.amazon.lambda:powertools-tracing:1.2 .0'
12
+ aspectpath ' software.amazon.lambda:powertools-tracing:1.3 .0'
13
13
14
14
implementation ' software.amazon.lambda:powertools-logging:1.3.0'
15
- aspectpath ' software.amazon.lambda:powertools-logging:1.2 .0'
15
+ aspectpath ' software.amazon.lambda:powertools-logging:1.3 .0'
16
16
17
17
implementation ' software.amazon.lambda:powertools-metrics:1.3.0'
18
- aspectpath ' software.amazon.lambda:powertools-metrics:1.2 .0'
18
+ aspectpath ' software.amazon.lambda:powertools-metrics:1.3 .0'
19
19
20
20
implementation ' com.amazonaws:aws-lambda-java-core:1.2.1'
21
21
implementation ' com.amazonaws:aws-lambda-java-events:3.7.0'
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Globals:
13
13
Environment :
14
14
Variables :
15
15
# Powertools env vars: https://awslabs.github.io/aws-lambda-powertools-python/#environment-variables
16
- LOG_LEVEL : INFO
16
+ POWERTOOLS_LOG_LEVEL : INFO
17
17
POWERTOOLS_LOGGER_SAMPLE_RATE : 0.1
18
18
POWERTOOLS_LOGGER_LOG_EVENT : true
19
19
POWERTOOLS_METRICS_NAMESPACE : {{ cookiecutter.project_slug }}
You can’t perform that action at this time.
0 commit comments