Commit 643060f
committed
Support Git-style searchPaths with wildcards in AWS S3 buckets (#2812)
Fixes #2812
- ListObjectsV2 + AntPathMatcher based matching for *, **, ?, dot-wildcard
- auto-ext lookup order (.properties → .json → .yml/.yaml)
- directory scan, deduplication, prefix extraction
- only active when searchPaths non-empty
Signed-off-by: Geonwook Ham <tomy8964@naver.com>
Signed-off-by: ham <tomy8964@naver.com>1 parent 79edde1 commit 643060f
4 files changed
Lines changed: 679 additions & 18 deletions
File tree
- spring-cloud-config-server/src
- main/java/org/springframework/cloud/config/server/environment
- test/java/org/springframework/cloud/config/server/environment
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
51 | 65 | | |
52 | 66 | | |
53 | 67 | | |
| |||
0 commit comments