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

Return created and download date to GET search/ for assets

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
      None

      Description

      Currently, when one has to get the created/download date of a component, e.g. a docker tag, on has to first use search/ to retrieve all the componentIds for that docker image, then, for every component, query componets/<id> to just retrieve 2 more datasets :

      • createdDate of the asset
      • lastDownloaded date of the asset

      Since this is really only little data to add to search and on the other side leads to n-queries just to retrieve the age/last download date, i would really like to see that already returned in the search - since we include assets in the component search per component anyway.

      This would also make https://github.com/sonatype-nexus-community/gonexus/issues/6 easier (or even obsolete) in addition

      Is there a way to make this happen?

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              eugenmayer Eugen Mayer
              Last Updated By:
              Joe Tom Joe Tom
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title