File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ repositories {
14
14
}
15
15
```
16
16
``` groovy
17
- compile "com.spring.loader:s3-loader:1.0.3 "
17
+ compile "com.spring.loader:s3-loader:1.0.4 "
18
18
```
19
19
Maven:
20
20
``` xml
21
21
<dependency >
22
22
<groupId >com.spring.loader</groupId >
23
23
<artifactId >s3-loader</artifactId >
24
- <version >1.0.3 </version >
24
+ <version >1.0.4 </version >
25
25
<type >pom</type >
26
26
</dependency >
27
27
```
@@ -36,6 +36,10 @@ Add this annotation to any spring managed bean
36
36
``` java
37
37
@S3PropertiesLocation (" my-bucket/my-folder/my-properties.properties" )
38
38
```
39
+ or using a specific profile to only load properties if the app is running with that profile
40
+ ``` java
41
+ @S3PropertiesLocation (path = " my-bucket/my-folder/my-properties.properties" , profiles = " production" )
42
+ ```
39
43
40
44
** Configuration**
41
45
``` java
You can’t perform that action at this time.
0 commit comments