generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#1812) * #1706: rename de.muenchen.oss.digiwf.s3 / io.muenchendigital.digiwf.s3 to digiwf.s3 * #1706: rename de.muenchen.oss.digiwf.s3 to digiwf.s3 in S3IntegrationClientAutoConfiguration * Update digiwf-integrations/digiwf-s3-integration/digiwf-s3-integration-service/src/main/resources/application.yml Co-authored-by: markostreich <[email protected]> * #1706: review feedback
- Loading branch information
Showing
15 changed files
with
78 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,6 +184,10 @@ digiwf: | |
s3service: | ||
topic: 'dwf-s3-${DIGIWF_ENV}' | ||
httpAPI: ${DIGIWF_S3_HTTPAPI:http://localhost:8086} | ||
s3: | ||
client: | ||
document-storage-url: '${digiwf.s3service.httpAPI}' | ||
enable-security: true | ||
prometheus: | ||
process-engine: | ||
update-interval: 30000 | ||
|
@@ -199,12 +203,3 @@ io: | |
mail: | ||
fromAddress: ${MAIL_USERNAME:[email protected]} | ||
|
||
de: | ||
muenchen: | ||
oss: | ||
digiwf: | ||
s3: | ||
client: | ||
document-storage-url: '${digiwf.s3service.httpAPI}' | ||
enable-security: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 14 additions & 15 deletions
29
...c/main/java/de/muenchen/oss/digiwf/s3/integration/properties/S3IntegrationProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,35 @@ | ||
package de.muenchen.oss.digiwf.s3.integration.properties; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.validation.annotation.Validated; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
|
||
@Getter | ||
@Setter | ||
@Validated | ||
@ConfigurationProperties(prefix = "io.muenchendigital.digiwf.s3") | ||
@ConfigurationProperties(prefix = "digiwf.s3") | ||
public class S3IntegrationProperties { | ||
|
||
@NotBlank | ||
private String url; | ||
@NotBlank | ||
private String url; | ||
|
||
@NotBlank | ||
private String accessKey; | ||
@NotBlank | ||
private String accessKey; | ||
|
||
@NotBlank | ||
private String secretKey; | ||
@NotBlank | ||
private String secretKey; | ||
|
||
@NotBlank | ||
private String bucketName; | ||
@NotBlank | ||
private String bucketName; | ||
|
||
private Boolean initialConnectionTest; | ||
private Boolean initialConnectionTest; | ||
|
||
private int presignedUrlExpiresInMinutes = 10080; // 7 days | ||
private int presignedUrlExpiresInMinutes = 10080; // 7 days | ||
|
||
private Boolean proxyEnabled = false; | ||
private Boolean proxyEnabled = false; | ||
|
||
private String proxyUrl; | ||
private String proxyUrl; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters