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

/repository/<repo_name> is not included in the request.log log line when sub-domain routing feature is used

    Details

      Description

      With the release of the Docker Subdomain Connector, subdomain based requests to Nexus are made without the repository name in the request URL e.g.

      192.168.0.35 - admin [24/Jun/2022:16:28:29 +0100] “PUT /v2/alpine/manifests/latest 

      Problem

      For troubleshooting purposes, it needs to be determined which repository the request is being made to. Only including the path part does not show this.

      Expected Results

      Put the actual path to the repository as part of the path that is logged.  /<repository>/<repository name>/

      Instead of this broken implementation:

      192.168.0.35 - admin [24/Jun/2022:16:28:29 +0100] “PUT /v2/alpine/manifests/latest

      It should be like this if actual targeted repo was "docker-hosted":

      192.168.0.35 - admin [24/Jun/2022:16:28:29 +0100] “PUT /repository/docker-hosted/v2/alpine/manifests/latest"

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ybulatnikov Eugene Bulatnikov
              Reporter:
              hardeepn Hardeep Nagra
              Last Updated By:
              Nicholas Blair Nicholas Blair
              Team:
              NXRM - Mad Max
              Owner:
              Eugene Bulatnikov Eugene Bulatnikov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title