Class AwsS3EnvironmentRepository
java.lang.Object
org.springframework.cloud.config.server.environment.AwsS3EnvironmentRepository
- All Implemented Interfaces:
EnvironmentRepository, SearchPathLocator, org.springframework.core.Ordered
public class AwsS3EnvironmentRepository
extends Object
implements EnvironmentRepository, org.springframework.core.Ordered, SearchPathLocator
- Author:
- Clay McCoy, Scott Frederick, Daniel Aiken
-
Nested Class Summary
Nested classes/interfaces inherited from interface SearchPathLocator
SearchPathLocator.Locations -
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionAwsS3EnvironmentRepository(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, boolean useApplicationAsDirectory, ConfigServerProperties server) AwsS3EnvironmentRepository(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, ConfigServerProperties server) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EnvironmentRepository
findOne
-
Field Details
-
PATH_SEPARATOR
- See Also:
-
order
protected int order
-
-
Constructor Details
-
AwsS3EnvironmentRepository
public AwsS3EnvironmentRepository(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, ConfigServerProperties server) -
AwsS3EnvironmentRepository
public AwsS3EnvironmentRepository(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, boolean useApplicationAsDirectory, ConfigServerProperties server)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order) -
findOne
public org.springframework.cloud.config.environment.Environment findOne(String specifiedApplication, String specifiedProfiles, String specifiedLabel) - Specified by:
findOnein interfaceEnvironmentRepository
-
getLocations
- Specified by:
getLocationsin interfaceSearchPathLocator
-