Uploaded image for project: 'External DAMs'
  1. External DAMs
  2. EXTDAM-238

S3: getItem returns size 0 for assets

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0.0
    • None
    • None
    • None
    • Yes
    • 2

      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

      • There is a configuration variable for obtaining the size or not
      • If it is set, the size is properly obtained

        Acceptance criteria

              jalonso Jesus Alonso
              jalonso Jesus Alonso
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD