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

/rest/internal/ui/routing-rules assignedRepositoryCount is always 0 and assignedRepositoryNames is always null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.17.0
    • Fix Version/s: 3.17.0
    • Component/s: REST, Routing
    • Labels:
      None

      Description

      If you assign a routing rule to a repository, the assignedRepositoryCount is always zero ( 0) and assignedRepositoryNames is always null

      curl -u admin:admin123 http://localhost:8081/service/rest/internal/ui/routing-rules
       [ {
       "id" : "87eaaab278c009736a405ea0892e0d17",
       "name" : "sample",
       "description" : "sample description",
       "mode" : "BLOCK",
       "matchers" : [ ".*" ],
       "assignedRepositoryCount" : 0,
       "assignedRepositoryNames" : null
       } ]
      

       

      Expected

      If intentional to include these two attributes, fix the values.
      If unintentional to include these two attributes, remove the attributes.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title