[EXTDAM-238] S3: getItem returns size 0 for assets Created: 18/Feb/21 Updated: 05/Mar/21 Resolved: 02/Mar/21 |
|
| Status: | Closed |
| Project: | External DAMs |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Jesus Alonso | Assignee: | Jesus Alonso |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[X] 
Architecture Decision Record (ADR)
|
||||
| Documentation update required: |
Yes
|
||||
| Epic Link: | Imaging and External DAM | ||||
| Story Points: | 2 | ||||
| Description |
|
The S3AssetProvider delegates into AmazonS3GatewayImpl who creates the asset with
return S3Asset.builder()
.bucket(bucket)
.key(key)
.lastModified(Instant.now())
.size(0L)
.region(region)
.parent(parent)
.assetProvider(s3AssetProvider.get())
.build();
AC
|