From 8d82f67e42ea6162161f818739adfc568baab17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=20Houe=CC=88l?= Date: Thu, 20 Aug 2020 08:24:15 +0200 Subject: [PATCH] docs: Adding license to each source file --- .../logging/log4j/core/layout/LambdaJsonLayout.java | 13 +++++++++++++ .../lambda/internal/LambdaHandlerProcessor.java | 13 +++++++++++++ .../software/amazon/lambda/logging/PowerLogger.java | 13 +++++++++++++ .../amazon/lambda/logging/PowerToolsLogging.java | 13 +++++++++++++ .../logging/internal/DefaultLambdaFields.java | 13 +++++++++++++ .../logging/internal/LambdaLoggingAspect.java | 13 +++++++++++++ .../amazon/lambda/tracing/PowerToolsTracing.java | 13 +++++++++++++ .../software/amazon/lambda/tracing/PowerTracer.java | 13 +++++++++++++ .../tracing/internal/LambdaTracingAspect.java | 13 +++++++++++++ .../log4j/core/layout/LambdaJsonLayoutTest.java | 13 +++++++++++++ .../amazon/lambda/handlers/PowerLogToolEnabled.java | 13 +++++++++++++ .../handlers/PowerLogToolEnabledForStream.java | 13 +++++++++++++ .../amazon/lambda/handlers/PowerToolDisabled.java | 13 +++++++++++++ .../lambda/handlers/PowerToolDisabledForStream.java | 13 +++++++++++++ .../lambda/handlers/PowerToolLogEventEnabled.java | 13 +++++++++++++ .../handlers/PowerToolLogEventEnabledForStream.java | 13 +++++++++++++ .../lambda/handlers/PowerTracerToolEnabled.java | 13 +++++++++++++ .../handlers/PowerTracerToolEnabledForStream.java | 13 +++++++++++++ ...werTracerToolEnabledForStreamWithNoMetaData.java | 13 +++++++++++++ .../PowerTracerToolEnabledWithException.java | 13 +++++++++++++ .../PowerTracerToolEnabledWithNoMetaData.java | 13 +++++++++++++ .../amazon/lambda/logging/PowerLoggerTest.java | 13 +++++++++++++ .../logging/internal/LambdaLoggingAspectTest.java | 13 +++++++++++++ .../amazon/lambda/tracing/PowerTracerTest.java | 13 +++++++++++++ .../tracing/internal/LambdaTracingAspectTest.java | 13 +++++++++++++ 25 files changed, 325 insertions(+) diff --git a/src/main/java/org/apache/logging/log4j/core/layout/LambdaJsonLayout.java b/src/main/java/org/apache/logging/log4j/core/layout/LambdaJsonLayout.java index 443ebc164..557a65745 100644 --- a/src/main/java/org/apache/logging/log4j/core/layout/LambdaJsonLayout.java +++ b/src/main/java/org/apache/logging/log4j/core/layout/LambdaJsonLayout.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.apache.logging.log4j.core.layout; import java.io.IOException; diff --git a/src/main/java/software/amazon/lambda/internal/LambdaHandlerProcessor.java b/src/main/java/software/amazon/lambda/internal/LambdaHandlerProcessor.java index f7bce3546..c265e67ec 100644 --- a/src/main/java/software/amazon/lambda/internal/LambdaHandlerProcessor.java +++ b/src/main/java/software/amazon/lambda/internal/LambdaHandlerProcessor.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.internal; import java.io.InputStream; diff --git a/src/main/java/software/amazon/lambda/logging/PowerLogger.java b/src/main/java/software/amazon/lambda/logging/PowerLogger.java index 8be69a49a..d52d8e6e8 100644 --- a/src/main/java/software/amazon/lambda/logging/PowerLogger.java +++ b/src/main/java/software/amazon/lambda/logging/PowerLogger.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.logging; import org.apache.logging.log4j.ThreadContext; diff --git a/src/main/java/software/amazon/lambda/logging/PowerToolsLogging.java b/src/main/java/software/amazon/lambda/logging/PowerToolsLogging.java index 29333975e..8ff0d3752 100644 --- a/src/main/java/software/amazon/lambda/logging/PowerToolsLogging.java +++ b/src/main/java/software/amazon/lambda/logging/PowerToolsLogging.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.logging; import java.lang.annotation.ElementType; diff --git a/src/main/java/software/amazon/lambda/logging/internal/DefaultLambdaFields.java b/src/main/java/software/amazon/lambda/logging/internal/DefaultLambdaFields.java index db755f5a0..bf1a6e135 100644 --- a/src/main/java/software/amazon/lambda/logging/internal/DefaultLambdaFields.java +++ b/src/main/java/software/amazon/lambda/logging/internal/DefaultLambdaFields.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.logging.internal; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/main/java/software/amazon/lambda/logging/internal/LambdaLoggingAspect.java b/src/main/java/software/amazon/lambda/logging/internal/LambdaLoggingAspect.java index a20e2f749..55363646d 100644 --- a/src/main/java/software/amazon/lambda/logging/internal/LambdaLoggingAspect.java +++ b/src/main/java/software/amazon/lambda/logging/internal/LambdaLoggingAspect.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.logging.internal; import java.io.ByteArrayInputStream; diff --git a/src/main/java/software/amazon/lambda/tracing/PowerToolsTracing.java b/src/main/java/software/amazon/lambda/tracing/PowerToolsTracing.java index d9e2a9f0a..2aee6d061 100644 --- a/src/main/java/software/amazon/lambda/tracing/PowerToolsTracing.java +++ b/src/main/java/software/amazon/lambda/tracing/PowerToolsTracing.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.tracing; import java.lang.annotation.ElementType; diff --git a/src/main/java/software/amazon/lambda/tracing/PowerTracer.java b/src/main/java/software/amazon/lambda/tracing/PowerTracer.java index 83e1cbb57..3269f1a02 100644 --- a/src/main/java/software/amazon/lambda/tracing/PowerTracer.java +++ b/src/main/java/software/amazon/lambda/tracing/PowerTracer.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.tracing; import java.util.function.Consumer; diff --git a/src/main/java/software/amazon/lambda/tracing/internal/LambdaTracingAspect.java b/src/main/java/software/amazon/lambda/tracing/internal/LambdaTracingAspect.java index 10addefce..bb894ca54 100644 --- a/src/main/java/software/amazon/lambda/tracing/internal/LambdaTracingAspect.java +++ b/src/main/java/software/amazon/lambda/tracing/internal/LambdaTracingAspect.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.tracing.internal; import com.amazonaws.xray.AWSXRay; diff --git a/src/test/java/org/apache/logging/log4j/core/layout/LambdaJsonLayoutTest.java b/src/test/java/org/apache/logging/log4j/core/layout/LambdaJsonLayoutTest.java index 40d6157d1..fc98bfc6c 100644 --- a/src/test/java/org/apache/logging/log4j/core/layout/LambdaJsonLayoutTest.java +++ b/src/test/java/org/apache/logging/log4j/core/layout/LambdaJsonLayoutTest.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.apache.logging.log4j.core.layout; import java.io.IOException; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabled.java b/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabled.java index 4eb5b8a8a..c1fd75fd9 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabled.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabled.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabledForStream.java b/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabledForStream.java index d2a1b90e7..73895914f 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabledForStream.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerLogToolEnabledForStream.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import java.io.InputStream; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerToolDisabled.java b/src/test/java/software/amazon/lambda/handlers/PowerToolDisabled.java index 43bc31cf2..bff24cedc 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerToolDisabled.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerToolDisabled.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerToolDisabledForStream.java b/src/test/java/software/amazon/lambda/handlers/PowerToolDisabledForStream.java index 63ea3ddf4..e7b24135e 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerToolDisabledForStream.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerToolDisabledForStream.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import java.io.InputStream; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabled.java b/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabled.java index 66d84bedc..471d92e58 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabled.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabled.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabledForStream.java b/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabledForStream.java index 352f3e7b5..eed467e09 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabledForStream.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerToolLogEventEnabledForStream.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import java.io.IOException; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabled.java b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabled.java index ceae54e81..8bd2ba820 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabled.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabled.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStream.java b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStream.java index 13aa47796..dec58a1f7 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStream.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStream.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import java.io.InputStream; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStreamWithNoMetaData.java b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStreamWithNoMetaData.java index 0aafd50f1..73fc02f37 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStreamWithNoMetaData.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledForStreamWithNoMetaData.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import java.io.InputStream; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithException.java b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithException.java index 1dc6067e1..1b27cdc7a 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithException.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithException.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithNoMetaData.java b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithNoMetaData.java index ed90b3e4c..41054c37d 100644 --- a/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithNoMetaData.java +++ b/src/test/java/software/amazon/lambda/handlers/PowerTracerToolEnabledWithNoMetaData.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.handlers; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/test/java/software/amazon/lambda/logging/PowerLoggerTest.java b/src/test/java/software/amazon/lambda/logging/PowerLoggerTest.java index 75e708c36..553420c5c 100644 --- a/src/test/java/software/amazon/lambda/logging/PowerLoggerTest.java +++ b/src/test/java/software/amazon/lambda/logging/PowerLoggerTest.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.logging; import org.apache.logging.log4j.ThreadContext; diff --git a/src/test/java/software/amazon/lambda/logging/internal/LambdaLoggingAspectTest.java b/src/test/java/software/amazon/lambda/logging/internal/LambdaLoggingAspectTest.java index 81c326c59..06599f407 100644 --- a/src/test/java/software/amazon/lambda/logging/internal/LambdaLoggingAspectTest.java +++ b/src/test/java/software/amazon/lambda/logging/internal/LambdaLoggingAspectTest.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.logging.internal; import java.io.ByteArrayInputStream; diff --git a/src/test/java/software/amazon/lambda/tracing/PowerTracerTest.java b/src/test/java/software/amazon/lambda/tracing/PowerTracerTest.java index deada5db2..8dc86439f 100644 --- a/src/test/java/software/amazon/lambda/tracing/PowerTracerTest.java +++ b/src/test/java/software/amazon/lambda/tracing/PowerTracerTest.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.tracing; import com.amazonaws.services.lambda.runtime.Context; diff --git a/src/test/java/software/amazon/lambda/tracing/internal/LambdaTracingAspectTest.java b/src/test/java/software/amazon/lambda/tracing/internal/LambdaTracingAspectTest.java index 8a3c8fcd0..fadb737e9 100644 --- a/src/test/java/software/amazon/lambda/tracing/internal/LambdaTracingAspectTest.java +++ b/src/test/java/software/amazon/lambda/tracing/internal/LambdaTracingAspectTest.java @@ -1,3 +1,16 @@ +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. + * Licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package software.amazon.lambda.tracing.internal; import java.io.ByteArrayInputStream;