From 2c39154a2f6ddbd82718d74f110fac777d7fdca2 Mon Sep 17 00:00:00 2001 From: Maciej Walkowiak Date: Wed, 3 Jan 2024 20:31:20 +0100 Subject: [PATCH] Fix generating config props asciidoc file (#1010) --- docs/pom.xml | 40 +++++++++--------------- docs/src/main/asciidoc/_configprops.adoc | 1 + 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/docs/pom.xml b/docs/pom.xml index 0590241eb..877156d8e 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -14,6 +14,7 @@ spring-cloud-aws ${basedir}/.. + ${project.basedir}/src/main/asciidoc/_configprops.adoc spring.cloud.aws.* deploy ${project.build.directory}/generated-docs/${project.version}/reference/html @@ -60,17 +61,13 @@ - org.springframework.cloud - - spring-cloud-build-docs - - ${spring-cloud-build.version} - + org.springframework.cloud + spring-cloud-build-docs + ${spring-cloud-build.version} sources jar true - ${docs.resources.dir} - + ${docs.resources.dir} @@ -84,17 +81,13 @@ - org.springframework.cloud - - spring-cloud-build-docs - - ${spring-cloud-build.version} - + org.springframework.cloud + spring-cloud-build-docs + ${spring-cloud-build.version} jar-with-dependencies jar true - ${docs.classes.dir} - + ${docs.classes.dir} @@ -140,12 +133,9 @@ - org.springframework.cloud - - spring-cloud-build-docs - - ${spring-cloud-build.version} - + org.springframework.cloud + spring-cloud-build-docs + ${spring-cloud-build.version} ${spring-cloud-build-docs-classifier} jar @@ -213,12 +203,10 @@ https://raw.githubusercontent.com/spring-cloud/${docs.main}/${github-tag}@ - https://github.com/spring-cloud/${docs.main}/tree/${github-tag}@ - + https://github.com/spring-cloud/${docs.main}/tree/${github-tag}@ https://github.com/spring-cloud/${docs.main}/issues/@ https://github.com/spring-cloud/${docs.main}/wiki@ - https://github.com/spring-cloud/${docs.main}/tree/master@ - + https://github.com/spring-cloud/${docs.main}/tree/master@ ${index-link}@ diff --git a/docs/src/main/asciidoc/_configprops.adoc b/docs/src/main/asciidoc/_configprops.adoc index 460abf61e..f875ebc7f 100644 --- a/docs/src/main/asciidoc/_configprops.adoc +++ b/docs/src/main/asciidoc/_configprops.adoc @@ -42,6 +42,7 @@ |spring.cloud.aws.s3.accelerate-mode-enabled | | Option to enable using the accelerate endpoint when accessing S3. Accelerate endpoints allow faster transfer of objects by using Amazon CloudFront's globally distributed edge locations. |spring.cloud.aws.s3.checksum-validation-enabled | | Option to disable doing a validation of the checksum of an object stored in S3. |spring.cloud.aws.s3.chunked-encoding-enabled | | Option to enable using chunked encoding when signing the request payload for {@link software.amazon.awssdk.services.s3.model.PutObjectRequest} and {@link software.amazon.awssdk.services.s3.model.UploadPartRequest}. +|spring.cloud.aws.s3.cross-region-enabled | | Enables cross-region bucket access. |spring.cloud.aws.s3.crt.initial-read-buffer-size-in-bytes | | Configure the starting buffer size the client will use to buffer the parts downloaded from S3. Maintain a larger window to keep up a high download throughput; parts cannot download in parallel unless the window is large enough to hold multiple parts. Maintain a smaller window to limit the amount of data buffered in memory. |spring.cloud.aws.s3.crt.max-concurrency | | Specifies the maximum number of S3 connections that should be established during transfer. |spring.cloud.aws.s3.crt.minimum-part-size-in-bytes | | Sets the minimum part size for transfer parts. Decreasing the minimum part size causes multipart transfer to be split into a larger number of smaller parts. Setting this value too low has a negative effect on transfer speeds, causing extra latency and network communication for each part.