Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-20011

Support filtering by "Authors" in the "Packages()" Nuget query

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.13.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, Artifactory does not support filtering by the "Authors" property in the "Packages()" NuGet query.

      Artifactory supports filtering with all other properties for this query except this one.

      This filter only succeeds on remote NuGet repositories, on local and virtual it fails with 500 error.

      Example:

      curl http://artifactory_url:port/artifactory/api/nuget/nuget/Packages()?$orderby=Published%20desc&$skip=0&$top=80&$filter=Authors%20eq%20%27Microsoft%27

      This returns the following error:

      {

        "errors" : [

      {     "status" : 500,     "message" : "java.lang.IllegalArgumentException: No getter found for propertyName Authors"   }

      ]

      }

        Attachments

          Activity

            People

            Assignee:
            nadavy Nadav Yogev
            Reporter:
            adiv Adi Vizgan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: