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

REST API - Different name for property routing rule at proxy api

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.37.3
    • Fix Version/s: None
    • Component/s: APT, REST
    • Labels:
      None

      Description

      Hi Nexus3 team,

      i detect that the routing rule property of all proxy repositories has different names in the json of the HTTP GET call response and the HTTP POST call body parameters.

      Example for APT:

      • POST
        "AptProxyRepositoryApiRequest": {
        
        ...
        
                "routingRule": {
                    "type": "string"
                },
            }
        },
        
      • GET:
        "AptProxyApiRepository": {
        
        ...
        
                "routingRuleName": {
                    "type": "string",
                    "description": "The name of the routing rule assigned to this repository"
                },
            }
        },
        

      It is hard to build a struct/class in go if the attributes have different names in the POST and GET call at the API.

      Please use the same name for an attribute.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Anmoel Andre Moeller
              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