Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-8358

Modify StorageTx API to allow blob creation without asset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.0.0-m4
    • Fix Version/s: None
    • Component/s: CMA
    • Labels:
      None

      Description

      StorageFacet's StorageTx API currently have the setBlob() method, that requires Asset to be passed in. Similarly to this PR
      https://github.com/sonatype/nexus-oss/pull/1137

      new method should be added (ie. createBlob and attachBlob) to split in two what currently setBlob does, to allow code reordering within methods that store assets with blobs in TX:

      • stream into blob first
      • "attach" the blob into asset

      The reason for this is to lessen actual Tx window.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            cstamas Tamás Cservenák
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title