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

api/storage ?list option does not work on virtual repositories that contains other virtual repo.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.3.3, 6.5.0
    • Fix Version/s: None
    • Component/s: REST API
    • Labels:
      None

      Description

      Currently, the GET file list rest API ( /api/storage/?list) doesn't work in case that the virtual repository contains only virtual repositories.

       Steps to reproduce : 

      1. Create virtual repositories (for example the repository test-virtual)
      2. Add another virtual repository to this virtual 
      3. Run the following rest api command :

      curl -uadmin "http://localhost:8081/artifactory/api/storage/test-virtual/?list"

      As you can see in the following output 

        ~ curl -uadmin "http://localhost:8081/artifactory/api/storage/test-virtual/?list"

      {

        "errors" : [

      {     "status" : 404,     "message" : "Could not find test-virtual:."   }

      ]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              batelt Batel Tova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: