generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mdas 933 refactoring eai komponenten (#50)
* 🎨 Spottless Camel Route formatting off. * ♻️ Refactoring mobidam-eai-commons-starter * ♻️ Review refactoring (lib without spring related aspects). * ♻️ Review refactoring (CommonError.class introduced). * ♻️ S3CredentialProviderTest moved to mobidam-eai-commons-starter. * ♻📝 RELEASENOTES.md updated. * ♻📝 README.md updated. * 🔧 Release Version mobidam-eai-commons-starter. * ♻️ Review changes. * ♻️ Review changes (mobidam-eai-commons-starter:0.0.2, add comment to test cases, remove stub from test). * ♻️ HTTP constant introduced. 📝 Readme updated.
- Loading branch information
Showing
30 changed files
with
257 additions
and
559 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
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
44 changes: 44 additions & 0 deletions
44
src/main/java/de/muenchen/mobidam/config/CredentialConfig.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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* The MIT License | ||
* Copyright © 2024 Landeshauptstadt München | it@M | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
* THE SOFTWARE. | ||
*/ | ||
package de.muenchen.mobidam.config; | ||
|
||
import de.muenchen.mobidam.eai.common.config.S3BucketCredentialConfig; | ||
import java.util.Map; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.stereotype.Component; | ||
|
||
/** | ||
* This class represents the configuration for S3 bucket credentials. | ||
* It contains a map of S3Credentials objects, with the keys being the names of the S3 buckets. | ||
*/ | ||
@Component | ||
@ConfigurationProperties(prefix = "de.muenchen.mobidam.common.s3") | ||
@Getter | ||
@Setter | ||
public class CredentialConfig { | ||
|
||
private Map<String, S3BucketCredentialConfig.BucketCredentialConfig> bucketCredentialConfig; | ||
|
||
} |
16 changes: 0 additions & 16 deletions
16
src/main/java/de/muenchen/mobidam/config/EnvironmentReader.java
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
src/main/java/de/muenchen/mobidam/config/S3BucketCredentialConfig.java
This file was deleted.
Oops, something went wrong.
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
16 changes: 0 additions & 16 deletions
16
src/main/java/de/muenchen/mobidam/exception/ErrorResponseBuilder.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/main/java/de/muenchen/mobidam/exception/MobidamException.java
This file was deleted.
Oops, something went wrong.
128 changes: 0 additions & 128 deletions
128
src/main/java/de/muenchen/mobidam/rest/ErrorResponse.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.