From 7f62d855b0e11fca09d88ea870a855689797fc58 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Wed, 31 May 2023 08:22:14 +0000 Subject: [PATCH 1/5] chore: Change repo URL to the new location --- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/workflows/release-prep.yml | 2 +- CHANGELOG.md | 48 +++++++++---------- README.md | 4 +- docs/core/logging.md | 2 +- docs/index.md | 2 +- docs/utilities/idempotency.md | 2 +- examples/powertools-examples-core/README.md | 2 +- mkdocs.yml | 2 +- pom.xml | 4 +- powertools-cloudformation/pom.xml | 4 +- powertools-core/pom.xml | 4 +- powertools-idempotency/pom.xml | 4 +- powertools-logging/pom.xml | 4 +- powertools-metrics/pom.xml | 4 +- powertools-parameters/pom.xml | 4 +- .../powertools/parameters/ParamManager.java | 2 +- powertools-serialization/pom.xml | 4 +- powertools-sqs/pom.xml | 4 +- .../lambda/powertools/sqs/SqsUtils.java | 2 +- powertools-test-suite/pom.xml | 4 +- powertools-tracing/pom.xml | 4 +- powertools-validation/pom.xml | 4 +- 23 files changed, 59 insertions(+), 59 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 100078541..e80586a80 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: Ask a question - url: https://github.com/awslabs/aws-lambda-powertools-java/discussions/new + url: https://github.com/aws-powertools/lambda-java/discussions/new about: Ask a general question about Lambda Powertools diff --git a/.github/workflows/release-prep.yml b/.github/workflows/release-prep.yml index b2cf656ba..54267b8f0 100644 --- a/.github/workflows/release-prep.yml +++ b/.github/workflows/release-prep.yml @@ -75,6 +75,6 @@ jobs: delete-branch: true title: chore:Prep release ${{ github.event.inputs.targetRelease }} body: | - This is automated release prep. Remember to update [CHANGELOG.md](https://github.com/awslabs/aws-lambda-powertools-java/blob/prep-release-${{ github.event.inputs.targetRelease }}/CHANGELOG.md) to capture changes in this release. Please review changes carefully before merging. + This is automated release prep. Remember to update [CHANGELOG.md](https://github.com/aws-powertools/lambda-java/blob/prep-release-${{ github.event.inputs.targetRelease }}/CHANGELOG.md) to capture changes in this release. Please review changes carefully before merging. * [ ] Updated CHANGELOG.md \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 302f28b87..acd971d95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,22 +66,22 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo #### Maintenance -* Fixes to resolve vulnerable transitive dependencies ([919](https://github.com/awslabs/aws-lambda-powertools-java/issues/919)) +* Fixes to resolve vulnerable transitive dependencies ([919](https://github.com/aws-powertools/lambda-java/issues/919)) ## [1.12.2] - 2022-04-29 ### Bug Fixes -* **SQS Large message processing**: Classpath conflict on `PayloadS3Pointer` when consumer application depends on `payloadoffloading-common`, introduced in [v1.8.0](https://github.com/awslabs/aws-lambda-powertools-java/releases/tag/v1.8.0). ([#851](https://github.com/awslabs/aws-lambda-powertools-java/pull/851)) +* **SQS Large message processing**: Classpath conflict on `PayloadS3Pointer` when consumer application depends on `payloadoffloading-common`, introduced in [v1.8.0](https://github.com/aws-powertools/lambda-java/releases/tag/v1.8.0). ([#851](https://github.com/aws-powertools/lambda-java/pull/851)) ## [1.12.1] - 2022-04-21 ### Bug Fixes -* **Idempotency**: thread-safety issue of MessageDigest ([#817](https://github.com/awslabs/aws-lambda-powertools-java/pull/817)) -* **Idempotency**: disable dynamodb client creation in persistent store when disabling idempotency ([#796](https://github.com/awslabs/aws-lambda-powertools-java/pull/796)) +* **Idempotency**: thread-safety issue of MessageDigest ([#817](https://github.com/aws-powertools/lambda-java/pull/817)) +* **Idempotency**: disable dynamodb client creation in persistent store when disabling idempotency ([#796](https://github.com/aws-powertools/lambda-java/pull/796)) ### Maintenance @@ -92,10 +92,10 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.12.0] - 2022-03-01 ### Added - * **Easy Event Deserialization**: Extraction and deserialization of the main content of events (body, messages, ...) [#757](https://github.com/awslabs/aws-lambda-powertools-java/pull/757) + * **Easy Event Deserialization**: Extraction and deserialization of the main content of events (body, messages, ...) [#757](https://github.com/aws-powertools/lambda-java/pull/757) ### Bug Fixes - * Different behavior while using SSMProvider with or without trailing slash in parameter names [#758](https://github.com/awslabs/aws-lambda-powertools-java/issues/758) + * Different behavior while using SSMProvider with or without trailing slash in parameter names [#758](https://github.com/aws-powertools/lambda-java/issues/758) ## [1.11.0] - 2022-02-16 @@ -109,7 +109,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ### Bug Fixes -* **SQS Batch processing**: Prevent message to be marked as success if failed sending to DLQ for non retryable exceptions. [#731](https://github.com/awslabs/aws-lambda-powertools-java/pull/731) +* **SQS Batch processing**: Prevent message to be marked as success if failed sending to DLQ for non retryable exceptions. [#731](https://github.com/aws-powertools/lambda-java/pull/731) ### Documentation @@ -119,7 +119,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.10.2] - 2022-01-07 -* **Tracing**: Ability to override object mapper used for serializing method response as trace metadata when enabled. This provides users ability to customize how and what you want to capture as metadata from method response object. [#698](https://github.com/awslabs/aws-lambda-powertools-java/pull/698) +* **Tracing**: Ability to override object mapper used for serializing method response as trace metadata when enabled. This provides users ability to customize how and what you want to capture as metadata from method response object. [#698](https://github.com/aws-powertools/lambda-java/pull/698) ## [1.10.1] - 2022-01-06 @@ -127,13 +127,13 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.10.0] - 2021-12-27 -* **Logging**: Modern log4j configuration to customise structured logging. Refer [docs](https://awslabs.github.io/aws-lambda-powertools-java/core/logging/#upgrade-to-jsontemplatelayout-from-deprecated-lambdajsonlayout-configuration-in-log4j2xml) to start using new config. [#670](https://github.com/awslabs/aws-lambda-powertools-java/pull/670) -* **SQS Batch**: Support batch size greater than 10. [#667](https://github.com/awslabs/aws-lambda-powertools-java/pull/667) +* **Logging**: Modern log4j configuration to customise structured logging. Refer [docs](https://awslabs.github.io/aws-lambda-powertools-java/core/logging/#upgrade-to-jsontemplatelayout-from-deprecated-lambdajsonlayout-configuration-in-log4j2xml) to start using new config. [#670](https://github.com/aws-powertools/lambda-java/pull/670) +* **SQS Batch**: Support batch size greater than 10. [#667](https://github.com/aws-powertools/lambda-java/pull/667) ## [1.9.0] - 2021-12-21 * **Logging**: Upgrade Log4j to version 2.17.0 for [CVE-2021-45105](https://nvd.nist.gov/vuln/detail/CVE-2021-45105) -* **Tracing**: add `Service` annotation. [#654](https://github.com/awslabs/aws-lambda-powertools-java/issues/654) +* **Tracing**: add `Service` annotation. [#654](https://github.com/aws-powertools/lambda-java/issues/654) ## [1.8.2] - 2021-12-15 @@ -151,12 +151,12 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ### Added -* **Powertools Cloudformation module (NEW)**: New module simplifying [AWS Lambda-backed custom resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html) written in Java. [#560](https://github.com/awslabs/aws-lambda-powertools-java/pull/560) -* **SQS Large message processing**: Ability to override the default `S3Client` use to fetch payload from S3. [#602](https://github.com/awslabs/aws-lambda-powertools-java/pull/602) +* **Powertools Cloudformation module (NEW)**: New module simplifying [AWS Lambda-backed custom resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html) written in Java. [#560](https://github.com/aws-powertools/lambda-java/pull/560) +* **SQS Large message processing**: Ability to override the default `S3Client` use to fetch payload from S3. [#602](https://github.com/aws-powertools/lambda-java/pull/602) ### Regression -* **Logging**: `@Logging` annotation now works with `@Tracing` annotation on `RequestStreamHandler` when used in `logEvent` mode. [#567](https://github.com/awslabs/aws-lambda-powertools-java/pull/567) +* **Logging**: `@Logging` annotation now works with `@Tracing` annotation on `RequestStreamHandler` when used in `logEvent` mode. [#567](https://github.com/aws-powertools/lambda-java/pull/567) ### Maintenance @@ -164,25 +164,25 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.7.3] - 2021-09-14 -* **SQS Batch processing**: Ability to move non retryable message to configured dead letter queue(DLQ). [#500](https://github.com/awslabs/aws-lambda-powertools-java/pull/500) +* **SQS Batch processing**: Ability to move non retryable message to configured dead letter queue(DLQ). [#500](https://github.com/aws-powertools/lambda-java/pull/500) ## [1.7.2] - 2021-08-03 * **Powertools All Modules**: Upgrade to the latest(1.14.0) aspectj-maven-plugin which also supports Java 9 and newer versions. -Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/artifact/com.nickwongdev/aspectj-maven-plugin/1.12.6) as a workaround. [#489](https://github.com/awslabs/aws-lambda-powertools-java/pull/489) -* **Logging**: Performance optimisation to improve cold start. [#484](https://github.com/awslabs/aws-lambda-powertools-java/pull/484) -* **SQS Batch processing/Large message**: Module now lazy loads default SQS client. [#484](https://github.com/awslabs/aws-lambda-powertools-java/pull/484) +Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/artifact/com.nickwongdev/aspectj-maven-plugin/1.12.6) as a workaround. [#489](https://github.com/aws-powertools/lambda-java/pull/489) +* **Logging**: Performance optimisation to improve cold start. [#484](https://github.com/aws-powertools/lambda-java/pull/484) +* **SQS Batch processing/Large message**: Module now lazy loads default SQS client. [#484](https://github.com/aws-powertools/lambda-java/pull/484) ## [1.7.1] - 2021-07-06 -* **Powertools All Modules**: Fix static code analysis violations done via [spotbugs](https://github.com/spotbugs/spotbugs) ([#458](https://github.com/awslabs/aws-lambda-powertools-java/pull/458)). +* **Powertools All Modules**: Fix static code analysis violations done via [spotbugs](https://github.com/spotbugs/spotbugs) ([#458](https://github.com/aws-powertools/lambda-java/pull/458)). ## [1.7.0] - 2021-07-05 ### Added -* **Logging**: Support for extracting Correlation id using `@Logging` annotation via `correlationIdPath` attribute and `setCorrelationId()` method in `LoggingUtils`([#448](https://github.com/awslabs/aws-lambda-powertools-java/pull/448)). -* **Logging**: New `clearState` attribute on `@Logging` annotation to clear previously added custom keys upon invocation([#453](https://github.com/awslabs/aws-lambda-powertools-java/pull/453)). +* **Logging**: Support for extracting Correlation id using `@Logging` annotation via `correlationIdPath` attribute and `setCorrelationId()` method in `LoggingUtils`([#448](https://github.com/aws-powertools/lambda-java/pull/448)). +* **Logging**: New `clearState` attribute on `@Logging` annotation to clear previously added custom keys upon invocation([#453](https://github.com/aws-powertools/lambda-java/pull/453)). ### Maintenance @@ -192,8 +192,8 @@ Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/ar ### Added -* **Tracing**: Support for Boolean and Number type as value in `TracingUtils.putAnnotation()`([#423](https://github.com/awslabs/aws-lambda-powertools-java/pull/432)). -* **Logging**: API to remove any additional custom key from logger entry using `LoggingUtils.removeKeys()`([#395](https://github.com/awslabs/aws-lambda-powertools-java/pull/395)). +* **Tracing**: Support for Boolean and Number type as value in `TracingUtils.putAnnotation()`([#423](https://github.com/aws-powertools/lambda-java/pull/432)). +* **Logging**: API to remove any additional custom key from logger entry using `LoggingUtils.removeKeys()`([#395](https://github.com/aws-powertools/lambda-java/pull/395)). ### Maintenance @@ -202,7 +202,7 @@ Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/ar ## [1.5.0] - 2021-03-30 * **Metrics**: Ability to set multiple dimensions as default dimensions via `MetricsUtils.defaultDimensions()`. - Introduced in [v1.4.0](https://github.com/awslabs/aws-lambda-powertools-java/releases/tag/v1.4.0) + Introduced in [v1.4.0](https://github.com/aws-powertools/lambda-java/releases/tag/v1.4.0) `MetricsUtils.defaultDimensionSet()` is deprecated now for better user experience. ## [1.4.0] - 2021-03-11 diff --git a/README.md b/README.md index 835ddf7f5..15a836406 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # AWS Lambda Powertools for Java -![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/awslabs/aws-lambda-powertools-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) [![codecov.io](https://codecov.io/github/awslabs/aws-lambda-powertools-java/branch/master/graphs/badge.svg)](https://app.codecov.io/gh/awslabs/aws-lambda-powertools-java) +![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/aws-powertools/lambda-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) [![codecov.io](https://codecov.io/github/aws-powertools/lambda-java/branch/master/graphs/badge.svg)](https://app.codecov.io/gh/aws-powertools/lambda-java) Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity. > Also available in [Python](https://github.com/awslabs/aws-lambda-powertools-python), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet). -**[📜Documentation](https://awslabs.github.io/aws-lambda-powertools-java/)** | **[Feature request](https://github.com/awslabs/aws-lambda-powertools-java/issues/new?assignees=&labels=feature-request%2C+triage&template=feature_request.md&title=)** | **[🐛Bug Report](https://github.com/awslabs/aws-lambda-powertools-java/issues/new?assignees=&labels=bug%2C+triage&template=bug_report.md&title=)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/)** +**[📜Documentation](https://awslabs.github.io/aws-lambda-powertools-java/)** | **[Feature request](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=feature-request%2C+triage&template=feature_request.md&title=)** | **[🐛Bug Report](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=bug%2C+triage&template=bug_report.md&title=)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/)** ### Installation diff --git a/docs/core/logging.md b/docs/core/logging.md index f35c88067..17580e69a 100644 --- a/docs/core/logging.md +++ b/docs/core/logging.md @@ -466,7 +466,7 @@ via `samplingRate` attribute on annotation. ## Upgrade to JsonTemplateLayout from deprecated LambdaJsonLayout configuration in log4j2.xml -Prior to version [1.10.0](https://github.com/awslabs/aws-lambda-powertools-java/releases/tag/v1.10.0), only supported way of configuring `log4j2.xml` was via ``. This plugin is +Prior to version [1.10.0](https://github.com/aws-powertools/lambda-java/releases/tag/v1.10.0), only supported way of configuring `log4j2.xml` was via ``. This plugin is deprecated now and will be removed in future version. Switching to `JsonTemplateLayout` is straight forward. Below examples shows deprecated and new configuration of `log4j2.xml`. diff --git a/docs/index.md b/docs/index.md index fa2d0fbf4..a68e09cbc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,7 +3,7 @@ title: Homepage description: AWS Lambda Powertools for Java --- -![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/awslabs/aws-lambda-powertools-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) +![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/aws-powertools/lambda-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) Powertools is a suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier. diff --git a/docs/utilities/idempotency.md b/docs/utilities/idempotency.md index 17391218d..ca3d817f9 100644 --- a/docs/utilities/idempotency.md +++ b/docs/utilities/idempotency.md @@ -825,7 +825,7 @@ Data would then be stored in DynamoDB like this: This utility provides an abstract base class, so that you can implement your choice of persistent storage layer. You can extend the `BasePersistenceStore` class and implement the abstract methods `getRecord`, `putRecord`, -`updateRecord` and `deleteRecord`. You can have a look at [`DynamoDBPersistenceStore`](https://github.com/awslabs/aws-lambda-powertools-java/blob/master/powertools-idempotency/src/main/java/software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStore.java) as an implementation reference. +`updateRecord` and `deleteRecord`. You can have a look at [`DynamoDBPersistenceStore`](https://github.com/aws-powertools/lambda-java/blob/master/powertools-idempotency/src/main/java/software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStore.java) as an implementation reference. !!! danger Pay attention to the documentation for each method - you may need to perform additional checks inside these methods to ensure the idempotency guarantees remain intact. diff --git a/examples/powertools-examples-core/README.md b/examples/powertools-examples-core/README.md index f4bdc399c..76f6b0afd 100644 --- a/examples/powertools-examples-core/README.md +++ b/examples/powertools-examples-core/README.md @@ -1,6 +1,6 @@ # CoreUtilities -This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes [Lambda Powertools for operational best practices](https://github.com/awslabs/aws-lambda-powertools-java), and the following files and folders. +This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes [Lambda Powertools for operational best practices](https://github.com/aws-powertools/lambda-java), and the following files and folders. - HelloWorldFunction/src/main - Code for the application's Lambda function. - events - Invocation events that you can use to invoke the function. diff --git a/mkdocs.yml b/mkdocs.yml index 430c0bfcc..918d9b26b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -84,5 +84,5 @@ extra: powertools: version: 1.15.0 -repo_url: https://github.com/awslabs/aws-lambda-powertools-java +repo_url: https://github.com/aws-powertools/lambda-java edit_uri: edit/master/docs diff --git a/pom.xml b/pom.xml index b8703bebb..467f32309 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues @@ -43,7 +43,7 @@ - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-cloudformation/pom.xml b/powertools-cloudformation/pom.xml index 727c96e70..ff87bb8d6 100644 --- a/powertools-cloudformation/pom.xml +++ b/powertools-cloudformation/pom.xml @@ -21,10 +21,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-core/pom.xml b/powertools-core/pom.xml index 2efb5ff92..1dbf859c4 100644 --- a/powertools-core/pom.xml +++ b/powertools-core/pom.xml @@ -20,11 +20,11 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-idempotency/pom.xml b/powertools-idempotency/pom.xml index ead13344b..93bb98791 100644 --- a/powertools-idempotency/pom.xml +++ b/powertools-idempotency/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-logging/pom.xml b/powertools-logging/pom.xml index 665030065..ece9c31f0 100644 --- a/powertools-logging/pom.xml +++ b/powertools-logging/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-metrics/pom.xml b/powertools-metrics/pom.xml index 4d6ca0eb2..a850e13de 100644 --- a/powertools-metrics/pom.xml +++ b/powertools-metrics/pom.xml @@ -21,10 +21,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-parameters/pom.xml b/powertools-parameters/pom.xml index 3232d01cf..f581c1ca5 100644 --- a/powertools-parameters/pom.xml +++ b/powertools-parameters/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java b/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java index e4c70acb0..6b9b6c621 100644 --- a/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java +++ b/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java @@ -137,7 +137,7 @@ private static T createProvider(Class providerClass) return provider; } catch (NoSuchMethodException | IllegalAccessException | InstantiationException | InvocationTargetException e) { throw new RuntimeException("Unexpected error occurred. Please raise issue at " + - "https://github.com/awslabs/aws-lambda-powertools-java/issues", e); + "https://github.com/aws-powertools/lambda-java/issues", e); } } diff --git a/powertools-serialization/pom.xml b/powertools-serialization/pom.xml index 592cd5610..805bece4b 100644 --- a/powertools-serialization/pom.xml +++ b/powertools-serialization/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-sqs/pom.xml b/powertools-sqs/pom.xml index fb5d6c276..06336b628 100644 --- a/powertools-sqs/pom.xml +++ b/powertools-sqs/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java b/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java index 9ae81b77d..dc0fe7d6e 100644 --- a/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java +++ b/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java @@ -519,7 +519,7 @@ private static SqsMessageHandler instantiatedHandler(final Classhttps://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-tracing/pom.xml b/powertools-tracing/pom.xml index 8b8dd51cb..40aabe202 100644 --- a/powertools-tracing/pom.xml +++ b/powertools-tracing/pom.xml @@ -20,11 +20,11 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git diff --git a/powertools-validation/pom.xml b/powertools-validation/pom.xml index c60d38c68..69f50a9d2 100644 --- a/powertools-validation/pom.xml +++ b/powertools-validation/pom.xml @@ -20,11 +20,11 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/awslabs/aws-lambda-powertools-java/issues + https://github.com/aws-powertools/lambda-java/issues - https://github.com/awslabs/aws-lambda-powertools-java.git + https://github.com/aws-powertools/lambda-java.git From b3d55f5dfc78c8bc9b18ae4100b5201463498ba8 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 12 Jun 2023 15:35:23 +0000 Subject: [PATCH 2/5] change docs url --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/ISSUE_TEMPLATE/maintenance.yml | 2 +- .github/ISSUE_TEMPLATE/rfc.md | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 2 +- CHANGELOG.md | 6 +++--- README.md | 2 +- examples/powertools-examples-core/README.md | 8 ++++---- examples/powertools-examples-idempotency/README.md | 2 +- examples/powertools-examples-parameters/README.md | 2 +- examples/powertools-examples-serialization/README.md | 2 +- examples/powertools-examples-validation/README.md | 2 +- powertools-idempotency/README.md | 2 +- .../lambda/powertools/parameters/DynamoDbProvider.java | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index c1b7490eb..d754c7643 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -39,7 +39,7 @@ assignees: '' * **AWS Lambda function runtime:** * **Debugging logs** -> [How to enable debug mode](https://awslabs.github.io/aws-lambda-powertools-java/#debug-mode)** +> [How to enable debug mode](https://docs.powertools.aws.dev/lambda-java/#debug-mode)** ```text # paste logs here diff --git a/.github/ISSUE_TEMPLATE/maintenance.yml b/.github/ISSUE_TEMPLATE/maintenance.yml index 466feed7b..5d1dc92ed 100644 --- a/.github/ISSUE_TEMPLATE/maintenance.yml +++ b/.github/ISSUE_TEMPLATE/maintenance.yml @@ -55,7 +55,7 @@ body: attributes: label: Acknowledgment options: - - label: This request meets [Lambda Powertools Tenets](https://awslabs.github.io/aws-lambda-powertools-java/#tenets) + - label: This request meets [Lambda Powertools Tenets](https://docs.powertools.aws.dev/lambda-java/#tenets) required: true - label: Should this be considered in other Lambda Powertools languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript/) required: false diff --git a/.github/ISSUE_TEMPLATE/rfc.md b/.github/ISSUE_TEMPLATE/rfc.md index 1db27058d..f1b3b5eb7 100644 --- a/.github/ISSUE_TEMPLATE/rfc.md +++ b/.github/ISSUE_TEMPLATE/rfc.md @@ -12,7 +12,7 @@ assignees: '' * RFC PR: (leave this empty) * Related issue(s), if known: * Area: (i.e. Tracer, Metrics, Logger, etc.) -* Meet [tenets](https://awslabs.github.io/aws-lambda-powertools-java/#tenets): (Yes/no) +* Meet [tenets](https://docs.powertools.aws.dev/lambda-java/#tenets): (Yes/no) ## Summary [summary]: #summary diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index db7e42bfc..d4b6d17ff 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -8,7 +8,7 @@ -* [ ] [Meet tenets criteria](https://awslabs.github.io/aws-lambda-powertools-java/#tenets) +* [ ] [Meet tenets criteria](https://docs.powertools.aws.dev/lambda-java/#tenets) * [ ] Update tests * [ ] Update docs * [ ] PR title follows [conventional commit semantics](https://www.conventionalcommits.org/en/v1.0.0/) diff --git a/CHANGELOG.md b/CHANGELOG.md index acd971d95..fa1dc89dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ### Added * Feature: Add DynamoDB provider to parameters module (#1091) by @scottgerring -* Feature: Update to powertools-cloudformation to deprecate `Response.success()` and `Response.failed()` methods. New helper methods are added to make it easier to follow best practices `Response.success(String physicalResourceId)` and `Response.failed(String physicalResourceId)`. For a detailed explanation please read the [powertools-cloudformation documentation page](https://awslabs.github.io/aws-lambda-powertools-java/utilities/custom_resources/). (#1082) by @msailes +* Feature: Update to powertools-cloudformation to deprecate `Response.success()` and `Response.failed()` methods. New helper methods are added to make it easier to follow best practices `Response.success(String physicalResourceId)` and `Response.failed(String physicalResourceId)`. For a detailed explanation please read the [powertools-cloudformation documentation page](https://docs.powertools.aws.dev/lambda-java/utilities/custom_resources/). (#1082) by @msailes * Update how a Lambda request handler method is identified (#1058) by @humanzz ### Maintenance @@ -114,7 +114,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ### Documentation -* **SQS Batch processing**: Improve [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/batch/#iam-permissions) on IAM premissions required by function when using utility with an encrypted SQS queue with customer managed KMS keys. +* **SQS Batch processing**: Improve [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/batch/#iam-permissions) on IAM premissions required by function when using utility with an encrypted SQS queue with customer managed KMS keys. ## [1.10.2] - 2022-01-07 @@ -127,7 +127,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.10.0] - 2021-12-27 -* **Logging**: Modern log4j configuration to customise structured logging. Refer [docs](https://awslabs.github.io/aws-lambda-powertools-java/core/logging/#upgrade-to-jsontemplatelayout-from-deprecated-lambdajsonlayout-configuration-in-log4j2xml) to start using new config. [#670](https://github.com/aws-powertools/lambda-java/pull/670) +* **Logging**: Modern log4j configuration to customise structured logging. Refer [docs](https://docs.powertools.aws.dev/lambda-java/core/logging/#upgrade-to-jsontemplatelayout-from-deprecated-lambdajsonlayout-configuration-in-log4j2xml) to start using new config. [#670](https://github.com/aws-powertools/lambda-java/pull/670) * **SQS Batch**: Support batch size greater than 10. [#667](https://github.com/aws-powertools/lambda-java/pull/667) ## [1.9.0] - 2021-12-21 diff --git a/README.md b/README.md index 15a836406..edff16e5a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Powertools is a developer toolkit to implement Serverless best practices and inc > Also available in [Python](https://github.com/awslabs/aws-lambda-powertools-python), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet). -**[📜Documentation](https://awslabs.github.io/aws-lambda-powertools-java/)** | **[Feature request](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=feature-request%2C+triage&template=feature_request.md&title=)** | **[🐛Bug Report](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=bug%2C+triage&template=bug_report.md&title=)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/)** +**[📜Documentation](https://docs.powertools.aws.dev/lambda-java/)** | **[Feature request](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=feature-request%2C+triage&template=feature_request.md&title=)** | **[🐛Bug Report](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=bug%2C+triage&template=bug_report.md&title=)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/)** ### Installation diff --git a/examples/powertools-examples-core/README.md b/examples/powertools-examples-core/README.md index 76f6b0afd..1d79d0556 100644 --- a/examples/powertools-examples-core/README.md +++ b/examples/powertools-examples-core/README.md @@ -119,20 +119,20 @@ aws cloudformation delete-stack --stack-name **Tracing** -[Tracing utility](https://awslabs.github.io/aws-lambda-powertools-java/core/tracing/) provides functionality to reduce the overhead of performing common tracing tasks. It traces the execution of this sample code including the response and exceptions as tracing metadata - You can visualize them in AWS X-Ray. +[Tracing utility](https://docs.powertools.aws.dev/lambda-java/core/tracing/) provides functionality to reduce the overhead of performing common tracing tasks. It traces the execution of this sample code including the response and exceptions as tracing metadata - You can visualize them in AWS X-Ray. **Logger** -[Logging utility](https://awslabs.github.io/aws-lambda-powertools-java/core/logging/) creates an opinionated application Logger with structured logging as the output, dynamically samples a percentage (samplingRate) of your logs in DEBUG mode for concurrent invocations, log incoming events as your function is invoked, and injects key information from Lambda context object into your Logger - You can visualize them in Amazon CloudWatch Logs. +[Logging utility](https://docs.powertools.aws.dev/lambda-java/core/logging/) creates an opinionated application Logger with structured logging as the output, dynamically samples a percentage (samplingRate) of your logs in DEBUG mode for concurrent invocations, log incoming events as your function is invoked, and injects key information from Lambda context object into your Logger - You can visualize them in Amazon CloudWatch Logs. **Metrics** -[Metrics utility](https://awslabs.github.io/aws-lambda-powertools-java/core/metrics/) captures cold start metric of your Lambda invocation, and could add additional metrics to help you understand your application KPIs - You can visualize them in Amazon CloudWatch. +[Metrics utility](https://docs.powertools.aws.dev/lambda-java/core/metrics/) captures cold start metric of your Lambda invocation, and could add additional metrics to help you understand your application KPIs - You can visualize them in Amazon CloudWatch. ## Resources See the [AWS SAM developer guide](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html) for an introduction to SAM specification, the SAM CLI, and serverless application concepts. -Check the [AWS Lambda Powertools Java](https://awslabs.github.io/aws-lambda-powertools-java/) for more information on how to use and configure such tools +Check the [AWS Lambda Powertools Java](https://docs.powertools.aws.dev/lambda-java/) for more information on how to use and configure such tools Next, you can use AWS Serverless Application Repository to deploy ready to use Apps that go beyond hello world samples and learn how authors developed their applications: [AWS Serverless Application Repository main page](https://aws.amazon.com/serverless/serverlessrepo/) diff --git a/examples/powertools-examples-idempotency/README.md b/examples/powertools-examples-idempotency/README.md index a919f0c70..b1c7710c7 100644 --- a/examples/powertools-examples-idempotency/README.md +++ b/examples/powertools-examples-idempotency/README.md @@ -1,6 +1,6 @@ # Idempotency -This project contains an example of Lambda function using the idempotency module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/idempotency/). +This project contains an example of Lambda function using the idempotency module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/idempotency/). ## Deploy the sample application diff --git a/examples/powertools-examples-parameters/README.md b/examples/powertools-examples-parameters/README.md index c03f407c0..362961b62 100644 --- a/examples/powertools-examples-parameters/README.md +++ b/examples/powertools-examples-parameters/README.md @@ -1,6 +1,6 @@ # Parameters -This project contains an example of Lambda function using the parameters module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/parameters/). +This project contains an example of Lambda function using the parameters module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/parameters/). ## Deploy the sample application diff --git a/examples/powertools-examples-serialization/README.md b/examples/powertools-examples-serialization/README.md index 68c4b4ae2..d3c6c89c2 100644 --- a/examples/powertools-examples-serialization/README.md +++ b/examples/powertools-examples-serialization/README.md @@ -1,6 +1,6 @@ # Deserialization -This project contains an example of Lambda function using the serialization utilities module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/serialization/). +This project contains an example of Lambda function using the serialization utilities module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/serialization/). ## Deploy the sample application diff --git a/examples/powertools-examples-validation/README.md b/examples/powertools-examples-validation/README.md index db631deff..8cefa8d01 100644 --- a/examples/powertools-examples-validation/README.md +++ b/examples/powertools-examples-validation/README.md @@ -1,6 +1,6 @@ # Validation -This project contains an example of Lambda function using the validation module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/validation/). +This project contains an example of Lambda function using the validation module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/validation/). ## Deploy the sample application diff --git a/powertools-idempotency/README.md b/powertools-idempotency/README.md index 99b9c7ac8..141021e1d 100644 --- a/powertools-idempotency/README.md +++ b/powertools-idempotency/README.md @@ -1,5 +1,5 @@ ## Idempotency -Refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/idempotency/) for details on how to use this module in your Lambda function. +Refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/idempotency/) for details on how to use this module in your Lambda function. ### Contributing This module provides a persistence layer with a built-in store using DynamoDB. diff --git a/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/DynamoDbProvider.java b/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/DynamoDbProvider.java index 08031e185..6011eede7 100644 --- a/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/DynamoDbProvider.java +++ b/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/DynamoDbProvider.java @@ -18,7 +18,7 @@ * Implements a {@link ParamProvider} on top of DynamoDB. The schema of the table * is described in the Powertools documentation. * - * @see Parameters provider documentation + * @see Parameters provider documentation * */ public class DynamoDbProvider extends BaseProvider { From 4976d0d1b9558df28bb7cce4e1f346b4ad29c372 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 19 Jun 2023 09:12:44 +0000 Subject: [PATCH 3/5] update repo name --- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/workflows/release-prep.yml | 2 +- CHANGELOG.md | 48 +++++++++---------- README.md | 4 +- docs/core/logging.md | 2 +- docs/index.md | 2 +- docs/utilities/idempotency.md | 2 +- examples/powertools-examples-core/README.md | 2 +- mkdocs.yml | 2 +- pom.xml | 4 +- powertools-cloudformation/pom.xml | 4 +- powertools-core/pom.xml | 4 +- powertools-idempotency/pom.xml | 4 +- powertools-logging/pom.xml | 4 +- powertools-metrics/pom.xml | 4 +- powertools-parameters/pom.xml | 4 +- .../powertools/parameters/ParamManager.java | 2 +- powertools-serialization/pom.xml | 4 +- powertools-sqs/pom.xml | 4 +- .../lambda/powertools/sqs/SqsUtils.java | 2 +- powertools-test-suite/pom.xml | 4 +- powertools-tracing/pom.xml | 4 +- powertools-validation/pom.xml | 4 +- 23 files changed, 59 insertions(+), 59 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index e80586a80..9eae2e167 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: Ask a question - url: https://github.com/aws-powertools/lambda-java/discussions/new + url: https://github.com/aws-powertools/powertools-lambda-java/discussions/new about: Ask a general question about Lambda Powertools diff --git a/.github/workflows/release-prep.yml b/.github/workflows/release-prep.yml index 54267b8f0..345bd2a10 100644 --- a/.github/workflows/release-prep.yml +++ b/.github/workflows/release-prep.yml @@ -75,6 +75,6 @@ jobs: delete-branch: true title: chore:Prep release ${{ github.event.inputs.targetRelease }} body: | - This is automated release prep. Remember to update [CHANGELOG.md](https://github.com/aws-powertools/lambda-java/blob/prep-release-${{ github.event.inputs.targetRelease }}/CHANGELOG.md) to capture changes in this release. Please review changes carefully before merging. + This is automated release prep. Remember to update [CHANGELOG.md](https://github.com/aws-powertools/powertools-lambda-java/blob/prep-release-${{ github.event.inputs.targetRelease }}/CHANGELOG.md) to capture changes in this release. Please review changes carefully before merging. * [ ] Updated CHANGELOG.md \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fa1dc89dc..c20e708ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,22 +66,22 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo #### Maintenance -* Fixes to resolve vulnerable transitive dependencies ([919](https://github.com/aws-powertools/lambda-java/issues/919)) +* Fixes to resolve vulnerable transitive dependencies ([919](https://github.com/aws-powertools/powertools-lambda-java/issues/919)) ## [1.12.2] - 2022-04-29 ### Bug Fixes -* **SQS Large message processing**: Classpath conflict on `PayloadS3Pointer` when consumer application depends on `payloadoffloading-common`, introduced in [v1.8.0](https://github.com/aws-powertools/lambda-java/releases/tag/v1.8.0). ([#851](https://github.com/aws-powertools/lambda-java/pull/851)) +* **SQS Large message processing**: Classpath conflict on `PayloadS3Pointer` when consumer application depends on `payloadoffloading-common`, introduced in [v1.8.0](https://github.com/aws-powertools/powertools-lambda-java/releases/tag/v1.8.0). ([#851](https://github.com/aws-powertools/powertools-lambda-java/pull/851)) ## [1.12.1] - 2022-04-21 ### Bug Fixes -* **Idempotency**: thread-safety issue of MessageDigest ([#817](https://github.com/aws-powertools/lambda-java/pull/817)) -* **Idempotency**: disable dynamodb client creation in persistent store when disabling idempotency ([#796](https://github.com/aws-powertools/lambda-java/pull/796)) +* **Idempotency**: thread-safety issue of MessageDigest ([#817](https://github.com/aws-powertools/powertools-lambda-java/pull/817)) +* **Idempotency**: disable dynamodb client creation in persistent store when disabling idempotency ([#796](https://github.com/aws-powertools/powertools-lambda-java/pull/796)) ### Maintenance @@ -92,10 +92,10 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.12.0] - 2022-03-01 ### Added - * **Easy Event Deserialization**: Extraction and deserialization of the main content of events (body, messages, ...) [#757](https://github.com/aws-powertools/lambda-java/pull/757) + * **Easy Event Deserialization**: Extraction and deserialization of the main content of events (body, messages, ...) [#757](https://github.com/aws-powertools/powertools-lambda-java/pull/757) ### Bug Fixes - * Different behavior while using SSMProvider with or without trailing slash in parameter names [#758](https://github.com/aws-powertools/lambda-java/issues/758) + * Different behavior while using SSMProvider with or without trailing slash in parameter names [#758](https://github.com/aws-powertools/powertools-lambda-java/issues/758) ## [1.11.0] - 2022-02-16 @@ -109,7 +109,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ### Bug Fixes -* **SQS Batch processing**: Prevent message to be marked as success if failed sending to DLQ for non retryable exceptions. [#731](https://github.com/aws-powertools/lambda-java/pull/731) +* **SQS Batch processing**: Prevent message to be marked as success if failed sending to DLQ for non retryable exceptions. [#731](https://github.com/aws-powertools/powertools-lambda-java/pull/731) ### Documentation @@ -119,7 +119,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.10.2] - 2022-01-07 -* **Tracing**: Ability to override object mapper used for serializing method response as trace metadata when enabled. This provides users ability to customize how and what you want to capture as metadata from method response object. [#698](https://github.com/aws-powertools/lambda-java/pull/698) +* **Tracing**: Ability to override object mapper used for serializing method response as trace metadata when enabled. This provides users ability to customize how and what you want to capture as metadata from method response object. [#698](https://github.com/aws-powertools/powertools-lambda-java/pull/698) ## [1.10.1] - 2022-01-06 @@ -127,13 +127,13 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.10.0] - 2021-12-27 -* **Logging**: Modern log4j configuration to customise structured logging. Refer [docs](https://docs.powertools.aws.dev/lambda-java/core/logging/#upgrade-to-jsontemplatelayout-from-deprecated-lambdajsonlayout-configuration-in-log4j2xml) to start using new config. [#670](https://github.com/aws-powertools/lambda-java/pull/670) -* **SQS Batch**: Support batch size greater than 10. [#667](https://github.com/aws-powertools/lambda-java/pull/667) +* **Logging**: Modern log4j configuration to customise structured logging. Refer [docs](https://docs.powertools.aws.dev/lambda-java/core/logging/#upgrade-to-jsontemplatelayout-from-deprecated-lambdajsonlayout-configuration-in-log4j2xml) to start using new config. [#670](https://github.com/aws-powertools/powertools-lambda-java/pull/670) +* **SQS Batch**: Support batch size greater than 10. [#667](https://github.com/aws-powertools/powertools-lambda-java/pull/667) ## [1.9.0] - 2021-12-21 * **Logging**: Upgrade Log4j to version 2.17.0 for [CVE-2021-45105](https://nvd.nist.gov/vuln/detail/CVE-2021-45105) -* **Tracing**: add `Service` annotation. [#654](https://github.com/aws-powertools/lambda-java/issues/654) +* **Tracing**: add `Service` annotation. [#654](https://github.com/aws-powertools/powertools-lambda-java/issues/654) ## [1.8.2] - 2021-12-15 @@ -151,12 +151,12 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ### Added -* **Powertools Cloudformation module (NEW)**: New module simplifying [AWS Lambda-backed custom resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html) written in Java. [#560](https://github.com/aws-powertools/lambda-java/pull/560) -* **SQS Large message processing**: Ability to override the default `S3Client` use to fetch payload from S3. [#602](https://github.com/aws-powertools/lambda-java/pull/602) +* **Powertools Cloudformation module (NEW)**: New module simplifying [AWS Lambda-backed custom resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html) written in Java. [#560](https://github.com/aws-powertools/powertools-lambda-java/pull/560) +* **SQS Large message processing**: Ability to override the default `S3Client` use to fetch payload from S3. [#602](https://github.com/aws-powertools/powertools-lambda-java/pull/602) ### Regression -* **Logging**: `@Logging` annotation now works with `@Tracing` annotation on `RequestStreamHandler` when used in `logEvent` mode. [#567](https://github.com/aws-powertools/lambda-java/pull/567) +* **Logging**: `@Logging` annotation now works with `@Tracing` annotation on `RequestStreamHandler` when used in `logEvent` mode. [#567](https://github.com/aws-powertools/powertools-lambda-java/pull/567) ### Maintenance @@ -164,25 +164,25 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.7.3] - 2021-09-14 -* **SQS Batch processing**: Ability to move non retryable message to configured dead letter queue(DLQ). [#500](https://github.com/aws-powertools/lambda-java/pull/500) +* **SQS Batch processing**: Ability to move non retryable message to configured dead letter queue(DLQ). [#500](https://github.com/aws-powertools/powertools-lambda-java/pull/500) ## [1.7.2] - 2021-08-03 * **Powertools All Modules**: Upgrade to the latest(1.14.0) aspectj-maven-plugin which also supports Java 9 and newer versions. -Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/artifact/com.nickwongdev/aspectj-maven-plugin/1.12.6) as a workaround. [#489](https://github.com/aws-powertools/lambda-java/pull/489) -* **Logging**: Performance optimisation to improve cold start. [#484](https://github.com/aws-powertools/lambda-java/pull/484) -* **SQS Batch processing/Large message**: Module now lazy loads default SQS client. [#484](https://github.com/aws-powertools/lambda-java/pull/484) +Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/artifact/com.nickwongdev/aspectj-maven-plugin/1.12.6) as a workaround. [#489](https://github.com/aws-powertools/powertools-lambda-java/pull/489) +* **Logging**: Performance optimisation to improve cold start. [#484](https://github.com/aws-powertools/powertools-lambda-java/pull/484) +* **SQS Batch processing/Large message**: Module now lazy loads default SQS client. [#484](https://github.com/aws-powertools/powertools-lambda-java/pull/484) ## [1.7.1] - 2021-07-06 -* **Powertools All Modules**: Fix static code analysis violations done via [spotbugs](https://github.com/spotbugs/spotbugs) ([#458](https://github.com/aws-powertools/lambda-java/pull/458)). +* **Powertools All Modules**: Fix static code analysis violations done via [spotbugs](https://github.com/spotbugs/spotbugs) ([#458](https://github.com/aws-powertools/powertools-lambda-java/pull/458)). ## [1.7.0] - 2021-07-05 ### Added -* **Logging**: Support for extracting Correlation id using `@Logging` annotation via `correlationIdPath` attribute and `setCorrelationId()` method in `LoggingUtils`([#448](https://github.com/aws-powertools/lambda-java/pull/448)). -* **Logging**: New `clearState` attribute on `@Logging` annotation to clear previously added custom keys upon invocation([#453](https://github.com/aws-powertools/lambda-java/pull/453)). +* **Logging**: Support for extracting Correlation id using `@Logging` annotation via `correlationIdPath` attribute and `setCorrelationId()` method in `LoggingUtils`([#448](https://github.com/aws-powertools/powertools-lambda-java/pull/448)). +* **Logging**: New `clearState` attribute on `@Logging` annotation to clear previously added custom keys upon invocation([#453](https://github.com/aws-powertools/powertools-lambda-java/pull/453)). ### Maintenance @@ -192,8 +192,8 @@ Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/ar ### Added -* **Tracing**: Support for Boolean and Number type as value in `TracingUtils.putAnnotation()`([#423](https://github.com/aws-powertools/lambda-java/pull/432)). -* **Logging**: API to remove any additional custom key from logger entry using `LoggingUtils.removeKeys()`([#395](https://github.com/aws-powertools/lambda-java/pull/395)). +* **Tracing**: Support for Boolean and Number type as value in `TracingUtils.putAnnotation()`([#423](https://github.com/aws-powertools/powertools-lambda-java/pull/432)). +* **Logging**: API to remove any additional custom key from logger entry using `LoggingUtils.removeKeys()`([#395](https://github.com/aws-powertools/powertools-lambda-java/pull/395)). ### Maintenance @@ -202,7 +202,7 @@ Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/ar ## [1.5.0] - 2021-03-30 * **Metrics**: Ability to set multiple dimensions as default dimensions via `MetricsUtils.defaultDimensions()`. - Introduced in [v1.4.0](https://github.com/aws-powertools/lambda-java/releases/tag/v1.4.0) + Introduced in [v1.4.0](https://github.com/aws-powertools/powertools-lambda-java/releases/tag/v1.4.0) `MetricsUtils.defaultDimensionSet()` is deprecated now for better user experience. ## [1.4.0] - 2021-03-11 diff --git a/README.md b/README.md index edff16e5a..9191fe1ed 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # AWS Lambda Powertools for Java -![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/aws-powertools/lambda-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) [![codecov.io](https://codecov.io/github/aws-powertools/lambda-java/branch/master/graphs/badge.svg)](https://app.codecov.io/gh/aws-powertools/lambda-java) +![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/aws-powertools/powertools-lambda-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) [![codecov.io](https://codecov.io/github/aws-powertools/lambda-java/branch/master/graphs/badge.svg)](https://app.codecov.io/gh/aws-powertools/lambda-java) Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity. > Also available in [Python](https://github.com/awslabs/aws-lambda-powertools-python), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet). -**[📜Documentation](https://docs.powertools.aws.dev/lambda-java/)** | **[Feature request](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=feature-request%2C+triage&template=feature_request.md&title=)** | **[🐛Bug Report](https://github.com/aws-powertools/lambda-java/issues/new?assignees=&labels=bug%2C+triage&template=bug_report.md&title=)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/)** +**[📜Documentation](https://docs.powertools.aws.dev/lambda-java/)** | **[Feature request](https://github.com/aws-powertools/powertools-lambda-java/issues/new?assignees=&labels=feature-request%2C+triage&template=feature_request.md&title=)** | **[🐛Bug Report](https://github.com/aws-powertools/powertools-lambda-java/issues/new?assignees=&labels=bug%2C+triage&template=bug_report.md&title=)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/)** ### Installation diff --git a/docs/core/logging.md b/docs/core/logging.md index 17580e69a..5bf72def4 100644 --- a/docs/core/logging.md +++ b/docs/core/logging.md @@ -466,7 +466,7 @@ via `samplingRate` attribute on annotation. ## Upgrade to JsonTemplateLayout from deprecated LambdaJsonLayout configuration in log4j2.xml -Prior to version [1.10.0](https://github.com/aws-powertools/lambda-java/releases/tag/v1.10.0), only supported way of configuring `log4j2.xml` was via ``. This plugin is +Prior to version [1.10.0](https://github.com/aws-powertools/powertools-lambda-java/releases/tag/v1.10.0), only supported way of configuring `log4j2.xml` was via ``. This plugin is deprecated now and will be removed in future version. Switching to `JsonTemplateLayout` is straight forward. Below examples shows deprecated and new configuration of `log4j2.xml`. diff --git a/docs/index.md b/docs/index.md index a68e09cbc..c330c0a0d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,7 +3,7 @@ title: Homepage description: AWS Lambda Powertools for Java --- -![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/aws-powertools/lambda-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) +![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/aws-powertools/powertools-lambda-java/actions/workflows/build.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-central/v/software.amazon.lambda/powertools-parent) Powertools is a suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier. diff --git a/docs/utilities/idempotency.md b/docs/utilities/idempotency.md index ca3d817f9..5db5b3711 100644 --- a/docs/utilities/idempotency.md +++ b/docs/utilities/idempotency.md @@ -825,7 +825,7 @@ Data would then be stored in DynamoDB like this: This utility provides an abstract base class, so that you can implement your choice of persistent storage layer. You can extend the `BasePersistenceStore` class and implement the abstract methods `getRecord`, `putRecord`, -`updateRecord` and `deleteRecord`. You can have a look at [`DynamoDBPersistenceStore`](https://github.com/aws-powertools/lambda-java/blob/master/powertools-idempotency/src/main/java/software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStore.java) as an implementation reference. +`updateRecord` and `deleteRecord`. You can have a look at [`DynamoDBPersistenceStore`](https://github.com/aws-powertools/powertools-lambda-java/blob/master/powertools-idempotency/src/main/java/software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStore.java) as an implementation reference. !!! danger Pay attention to the documentation for each method - you may need to perform additional checks inside these methods to ensure the idempotency guarantees remain intact. diff --git a/examples/powertools-examples-core/README.md b/examples/powertools-examples-core/README.md index 1d79d0556..7f5436c45 100644 --- a/examples/powertools-examples-core/README.md +++ b/examples/powertools-examples-core/README.md @@ -1,6 +1,6 @@ # CoreUtilities -This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes [Lambda Powertools for operational best practices](https://github.com/aws-powertools/lambda-java), and the following files and folders. +This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes [Lambda Powertools for operational best practices](https://github.com/aws-powertools/powertools-lambda-java), and the following files and folders. - HelloWorldFunction/src/main - Code for the application's Lambda function. - events - Invocation events that you can use to invoke the function. diff --git a/mkdocs.yml b/mkdocs.yml index 918d9b26b..a2857d4c5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -84,5 +84,5 @@ extra: powertools: version: 1.15.0 -repo_url: https://github.com/aws-powertools/lambda-java +repo_url: https://github.com/aws-powertools/powertools-lambda-java edit_uri: edit/master/docs diff --git a/pom.xml b/pom.xml index 467f32309..7a3a8aa15 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues @@ -43,7 +43,7 @@ - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-cloudformation/pom.xml b/powertools-cloudformation/pom.xml index ff87bb8d6..624944a1c 100644 --- a/powertools-cloudformation/pom.xml +++ b/powertools-cloudformation/pom.xml @@ -21,10 +21,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-core/pom.xml b/powertools-core/pom.xml index 1dbf859c4..252192d20 100644 --- a/powertools-core/pom.xml +++ b/powertools-core/pom.xml @@ -20,11 +20,11 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-idempotency/pom.xml b/powertools-idempotency/pom.xml index 93bb98791..113c2f22c 100644 --- a/powertools-idempotency/pom.xml +++ b/powertools-idempotency/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-logging/pom.xml b/powertools-logging/pom.xml index ece9c31f0..6ba74efee 100644 --- a/powertools-logging/pom.xml +++ b/powertools-logging/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-metrics/pom.xml b/powertools-metrics/pom.xml index a850e13de..19d579801 100644 --- a/powertools-metrics/pom.xml +++ b/powertools-metrics/pom.xml @@ -21,10 +21,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-parameters/pom.xml b/powertools-parameters/pom.xml index f581c1ca5..251f66a2f 100644 --- a/powertools-parameters/pom.xml +++ b/powertools-parameters/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java b/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java index 6b9b6c621..3c4b2746a 100644 --- a/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java +++ b/powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters/ParamManager.java @@ -137,7 +137,7 @@ private static T createProvider(Class providerClass) return provider; } catch (NoSuchMethodException | IllegalAccessException | InstantiationException | InvocationTargetException e) { throw new RuntimeException("Unexpected error occurred. Please raise issue at " + - "https://github.com/aws-powertools/lambda-java/issues", e); + "https://github.com/aws-powertools/powertools-lambda-java/issues", e); } } diff --git a/powertools-serialization/pom.xml b/powertools-serialization/pom.xml index 805bece4b..f6222afb2 100644 --- a/powertools-serialization/pom.xml +++ b/powertools-serialization/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-sqs/pom.xml b/powertools-sqs/pom.xml index 06336b628..217a00182 100644 --- a/powertools-sqs/pom.xml +++ b/powertools-sqs/pom.xml @@ -20,10 +20,10 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java b/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java index dc0fe7d6e..3461c6755 100644 --- a/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java +++ b/powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java @@ -519,7 +519,7 @@ private static SqsMessageHandler instantiatedHandler(final Classhttps://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-tracing/pom.xml b/powertools-tracing/pom.xml index 40aabe202..ae24761ec 100644 --- a/powertools-tracing/pom.xml +++ b/powertools-tracing/pom.xml @@ -20,11 +20,11 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git diff --git a/powertools-validation/pom.xml b/powertools-validation/pom.xml index 69f50a9d2..818dfdd2a 100644 --- a/powertools-validation/pom.xml +++ b/powertools-validation/pom.xml @@ -20,11 +20,11 @@ https://aws.amazon.com/lambda/ GitHub Issues - https://github.com/aws-powertools/lambda-java/issues + https://github.com/aws-powertools/powertools-lambda-java/issues - https://github.com/aws-powertools/lambda-java.git + https://github.com/aws-powertools/powertools-lambda-java.git From 2f1dc260c702204e4c3e8dc21ececbd56c7be0d7 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 19 Jun 2023 09:22:09 +0000 Subject: [PATCH 4/5] update references --- examples/powertools-examples-validation/README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/powertools-examples-validation/README.md b/examples/powertools-examples-validation/README.md index 18f59f5d9..898e5b60e 100644 --- a/examples/powertools-examples-validation/README.md +++ b/examples/powertools-examples-validation/README.md @@ -1,10 +1,6 @@ # Validation -<<<<<<< HEAD -This project contains an example of Lambda function using the validation module of Lambda Powertools for Java. For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/validation/). -======= This project contains an example of Lambda function using the validation module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/validation/). ->>>>>>> master ## Deploy the sample application From df1a7a4b700830fdfc30147e6b943d67e83a9436 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 19 Jun 2023 09:22:17 +0000 Subject: [PATCH 5/5] update references --- .github/ISSUE_TEMPLATE/maintenance.yml | 2 +- CHANGELOG.md | 12 ++++++------ examples/powertools-examples-core/README.md | 4 ++-- examples/powertools-examples-idempotency/README.md | 2 +- examples/powertools-examples-parameters/README.md | 2 +- examples/powertools-examples-serialization/README.md | 2 +- examples/powertools-examples-validation/README.md | 2 +- powertools-cloudformation/pom.xml | 4 ++-- powertools-e2e-tests/pom.xml | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/maintenance.yml b/.github/ISSUE_TEMPLATE/maintenance.yml index 990c84507..7a8b50c9a 100644 --- a/.github/ISSUE_TEMPLATE/maintenance.yml +++ b/.github/ISSUE_TEMPLATE/maintenance.yml @@ -55,7 +55,7 @@ body: attributes: label: Acknowledgment options: - - label: This request meets [Powertools for AWS Lambda (Java) Tenets](https://awslabs.github.io/aws-lambda-powertools-java/#tenets) + - label: This request meets [Powertools for AWS Lambda (Java) Tenets](https://docs.powertools.aws.dev/lambda-java/#tenets) required: true - label: Should this be considered in other Powertools for AWS Lambda (Java) languages? i.e. [Python](https://github.com/awslabs/aws-lambda-powertools-python/), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript/) required: false diff --git a/CHANGELOG.md b/CHANGELOG.md index a731880e4..fda9bc732 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -151,8 +151,8 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ### Added -* **Powertools for AWS Lambda (Java) Cloudformation module (NEW)**: New module simplifying [AWS Lambda-backed custom resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html) written in Java. [#560](https://github.com/awslabs/aws-lambda-powertools-java/pull/560) -* **SQS Large message processing**: Ability to override the default `S3Client` use to fetch payload from S3. [#602](https://github.com/awslabs/aws-lambda-powertools-java/pull/602) +* **Powertools for AWS Lambda (Java) Cloudformation module (NEW)**: New module simplifying [AWS Lambda-backed custom resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html) written in Java. [#560](https://github.com/aws-powertools/powertools-lambda-java/pull/560) +* **SQS Large message processing**: Ability to override the default `S3Client` use to fetch payload from S3. [#602](https://github.com/aws-powertools/powertools-lambda-java/pull/602) ### Regression @@ -169,13 +169,13 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo ## [1.7.2] - 2021-08-03 * **Powertools for AWS Lambda (Java) All Modules**: Upgrade to the latest(1.14.0) aspectj-maven-plugin which also supports Java 9 and newer versions. -Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/artifact/com.nickwongdev/aspectj-maven-plugin/1.12.6) as a workaround. [#489](https://github.com/awslabs/aws-lambda-powertools-java/pull/489) -* **Logging**: Performance optimisation to improve cold start. [#484](https://github.com/awslabs/aws-lambda-powertools-java/pull/484) -* **SQS Batch processing/Large message**: Module now lazy loads default SQS client. [#484](https://github.com/awslabs/aws-lambda-powertools-java/pull/484) +Users no longer need to depend on [com.nickwongdev](https://mvnrepository.com/artifact/com.nickwongdev/aspectj-maven-plugin/1.12.6) as a workaround. [#489](https://github.com/aws-powertools/powertools-lambda-java/pull/489) +* **Logging**: Performance optimisation to improve cold start. [#484](https://github.com/aws-powertools/powertools-lambda-java/pull/484) +* **SQS Batch processing/Large message**: Module now lazy loads default SQS client. [#484](https://github.com/aws-powertools/powertools-lambda-java/pull/484) ## [1.7.1] - 2021-07-06 -* **Powertools for AWS Lambda (Java) All Modules**: Fix static code analysis violations done via [spotbugs](https://github.com/spotbugs/spotbugs) ([#458](https://github.com/awslabs/aws-lambda-powertools-java/pull/458)). +* **Powertools for AWS Lambda (Java) All Modules**: Fix static code analysis violations done via [spotbugs](https://github.com/spotbugs/spotbugs) ([#458](https://github.com/aws-powertools/powertools-lambda-java/pull/458)). ## [1.7.0] - 2021-07-05 diff --git a/examples/powertools-examples-core/README.md b/examples/powertools-examples-core/README.md index 4bee5b88b..ba8859027 100644 --- a/examples/powertools-examples-core/README.md +++ b/examples/powertools-examples-core/README.md @@ -1,6 +1,6 @@ # CoreUtilities -This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes [Powertools for AWS Lambda (Java) for operational best practices](https://github.com/awslabs/aws-lambda-powertools-java), and the following files and folders. +This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes [Powertools for AWS Lambda (Java) for operational best practices](https://github.com/aws-powertools/powertools-lambda-java), and the following files and folders. - HelloWorldFunction/src/main - Code for the application's Lambda function. - events - Invocation events that you can use to invoke the function. @@ -133,6 +133,6 @@ aws cloudformation delete-stack --stack-name See the [AWS SAM developer guide](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html) for an introduction to SAM specification, the SAM CLI, and serverless application concepts. -Check the [Powertools for AWS Lambda (Java)](https://awslabs.github.io/aws-lambda-powertools-java/) for more information on how to use and configure such tools +Check the [Powertools for AWS Lambda (Java)](https://docs.powertools.aws.dev/lambda-java/) for more information on how to use and configure such tools Next, you can use AWS Serverless Application Repository to deploy ready to use Apps that go beyond hello world samples and learn how authors developed their applications: [AWS Serverless Application Repository main page](https://aws.amazon.com/serverless/serverlessrepo/) diff --git a/examples/powertools-examples-idempotency/README.md b/examples/powertools-examples-idempotency/README.md index 29188d89f..278484a92 100644 --- a/examples/powertools-examples-idempotency/README.md +++ b/examples/powertools-examples-idempotency/README.md @@ -1,6 +1,6 @@ # Idempotency -This project contains an example of Lambda function using the idempotency module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/idempotency/). +This project contains an example of Lambda function using the idempotency module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/idempotency/). ## Deploy the sample application diff --git a/examples/powertools-examples-parameters/README.md b/examples/powertools-examples-parameters/README.md index a91dd44c9..0f843d455 100644 --- a/examples/powertools-examples-parameters/README.md +++ b/examples/powertools-examples-parameters/README.md @@ -1,6 +1,6 @@ # Parameters -This project contains an example of Lambda function using the parameters module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/parameters/). +This project contains an example of Lambda function using the parameters module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/parameters/). ## Deploy the sample application diff --git a/examples/powertools-examples-serialization/README.md b/examples/powertools-examples-serialization/README.md index 3d02f1c32..7f70da1f2 100644 --- a/examples/powertools-examples-serialization/README.md +++ b/examples/powertools-examples-serialization/README.md @@ -1,6 +1,6 @@ # Deserialization -This project contains an example of Lambda function using the serialization utilities module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/serialization/). +This project contains an example of Lambda function using the serialization utilities module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/serialization/). ## Deploy the sample application diff --git a/examples/powertools-examples-validation/README.md b/examples/powertools-examples-validation/README.md index 898e5b60e..39afc48b9 100644 --- a/examples/powertools-examples-validation/README.md +++ b/examples/powertools-examples-validation/README.md @@ -1,6 +1,6 @@ # Validation -This project contains an example of Lambda function using the validation module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://awslabs.github.io/aws-lambda-powertools-java/utilities/validation/). +This project contains an example of Lambda function using the validation module of Powertools for AWS Lambda (Java). For more information on this module, please refer to the [documentation](https://docs.powertools.aws.dev/lambda-java/utilities/validation/). ## Deploy the sample application diff --git a/powertools-cloudformation/pom.xml b/powertools-cloudformation/pom.xml index 624944a1c..2d8b8d489 100644 --- a/powertools-cloudformation/pom.xml +++ b/powertools-cloudformation/pom.xml @@ -13,7 +13,7 @@ 1.15.0 - AWS Lambda Powertools for Java library Cloudformation + Powertools for AWS Lambda (Java)library Cloudformation A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier. @@ -28,7 +28,7 @@ - AWS Lambda Powertools team + Powertools for AWS Lambda (Java) Team Amazon Web Services https://aws.amazon.com/ diff --git a/powertools-e2e-tests/pom.xml b/powertools-e2e-tests/pom.xml index 28f1be779..9dc20f784 100644 --- a/powertools-e2e-tests/pom.xml +++ b/powertools-e2e-tests/pom.xml @@ -10,8 +10,8 @@ powertools-e2e-tests - AWS Lambda Powertools for Java library End-to-end tests - AWS Lambda Powertools for Java End-To-End Tests + Powertools for AWS Lambda (Java)library End-to-end tests + Powertools for AWS Lambda (Java)End-To-End Tests