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

REST API to delete folders

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.22.1
    • Fix Version/s: None
    • Component/s: Repository, REST
    • Labels:
      None

      Description

      We are migrating to use Nexus 3, that use s3 as blob store, so we don't have direct access to file system like Nexus2, but we would like to have a REST API available to delete a folder.

      Here is our use case, we create a top level folder in a repository for each build then use it for uploading artifacts, so artifacts of same version won't overwrite each other. There is a cleanup policy to delete old artifacts, but since the groupId in manve-metadata.xml does not match, Nexus is not able to delete the folder and all metadata files, even though all artifacts are gone.

      So it'd be helpful to have such ability that we can cleanup these folders programmatically.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              chao.liu@servicenow.com Chao Liu
              Last Updated By:
              Joe Tom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title