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

S3: getItem returns size 0 for assets

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.2.0
    • None
    • None
    • None
    • Yes
    • 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

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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD