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

No way to search/associate for components with empty group or npm.scope

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.25.0
    • Fix Version/s: None
    • Component/s: Search, Tags
    • Labels:
    • Notability:
      2

      Description

      API : service/rest/v1/tags/associate and service/rest/v1/search

      As npm artifacts can be published with a scope or without a scope into Nexus. So when associating the tag with a artifact without have scope is actually associating all the artifact with the same name and version irrespective of the scope.

      Ex: Artifact with scope, group : org.dfs, name: npmApp, version : 1.0.0
      Artifact without scope, name: npmApp, version : 1.0.0

      Both are different, but associate API associates both artifact with the same tag ?

      There needs to be a way to pass group (and npm.scope) as an empty string or null to indicate to associate to artifact with only name and version.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            msurani Mahendra Surani
            Last Updated By:
            Wes Wannemacher
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title