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

Search API returns null for new Asset fields added in NEXUS-30575

    Details

    • Notability:
      3
    • InvestmentLayer:
      customer-driven
    • Aha Concept:
      non-concept

      Description

      In NEXUS-30575 the following fields were added to the Assets DTO for usage in the Assets REST API:

      • uploader
      • uploader-ip
      • file-size

       

      The Search REST API also provides Asset information, however the above fields return null or 0 for a given asset.

      To reproduce, upload a component to a repo, call the Assets API and observe the above fields are populated, then call the Search API and observe the above fields are null or 0.

       

      Expected:

      As asset data can be consumed both via the Assets and Search API, there needs to be consistency in the Asset DTO i.e. Any REST endpoint that claims to return assets should return the same fields and values. 

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              hardeepn Hardeep Nagra
              Last Updated By:
              Rich Seddon Rich Seddon
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title