Skip to content

Commit

Permalink
Bugfix archive object (#38)
Browse files Browse the repository at this point in the history
* 🐛 MDAS-460_S3-EAI-Security-Absicherung

* ✨ MDAS 459_Implementierung_S3_EAI_Endpunkt_Loeschkonzept

* ✨ MDAS 459_Implementierung_S3_EAI_Endpunkt_Loeschkonzept

* ♻️ MDAS 459_Implementierung_S3_EAI_Endpunkt_Loeschkonzept review. Bugfix S3 SecretKey.

* 🐛 Missing key and secret encryption fixed
  • Loading branch information
sfi2022 committed Apr 24, 2024
1 parent adb829b commit 902a8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/muenchen/mobidam/s3/S3RouteBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void configure() {
"aws2-s3://${header.%1$s}?accessKey=RAW(${header.%2$s})&secretKey=RAW(${header.%3$s})&region={{camel.component.aws2-s3.region}}&operation=%4$s&overrideEndpoint=true&uriEndpointOverride={{camel.component.aws2-s3.override-endpoint}}",
Constants.PARAMETER_BUCKET_NAME, Constants.ACCESS_KEY, Constants.SECRET_KEY, AWS2S3Operations.copyObject))
.toD(String.format(
"aws2-s3://${header.%1$s}?accessKey=${header.%2$s}&secretKey=${header.%3$s}&region={{camel.component.aws2-s3.region}}&operation=%4$s&overrideEndpoint=true&uriEndpointOverride={{camel.component.aws2-s3.override-endpoint}}",
"aws2-s3://${header.%1$s}?accessKey=RAW(${header.%2$s})&secretKey=RAW(${header.%3$s})&region={{camel.component.aws2-s3.region}}&operation=%4$s&overrideEndpoint=true&uriEndpointOverride={{camel.component.aws2-s3.override-endpoint}}",
Constants.PARAMETER_BUCKET_NAME, Constants.ACCESS_KEY, Constants.SECRET_KEY, AWS2S3Operations.deleteObject))
.setBody(simple(String.format("${exchangeProperty.%s}", Constants.ARCHIVE_ENTITY)))
.to("bean:archiveService?method=save")
Expand Down

0 comments on commit 902a8f2

Please sign in to comment.