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

cleanup by age criteria should work against assets even if they are not part of components

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.13.0
    • Fix Version/s: None
    • Component/s: Cleanup
    • Labels:

      Description

      Maven 2 repos allow a "Permissive" layout policy. Maven 2 repos can also be created with a "Mixed" version policy ( NEXUS-17723 ).

      Cleanup by using age criteria ( last downloaded, deployed, uploaded) select "components" to operate on and apply age criteria. Some assets that are deployed under a permissive layout policy are not pure "components", only "assets", therefore may never get cleaned up under normal cleanup tasks that Nexus provides. The new cleanup policies we have rely on the Elastic Search index which operates on components, not database queries against assets.

      The only workaround for cleaning such leftover assets is to use a groovy script to select these items from the database.

      Expected

      Provide a built in mechanism to cleanup assets purely by age, irregardless of whether they are part of a component.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title