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

Metadata Max Age affects NuGet ODATA

    Details

    • Type: Story
    • Status: Raw
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: CMA, NuGet, Proxy Repository
    • Labels:
      None

      Description

      ACCEPTANCE CRITERIA

      • ODATA entries are not served to clients if they are older than the max metadata age.

      RATIONALE / BACKGROUND

      Currently, NuGet does not respect the proxy repository configuration 'Max metadata age': ODATA never expires. This isn't normally a problem because NuGet metadata is regularly overwritten by fresh ODATA as feeds are proxied.

      However, 'orphan metadata' can occur - if Nexus caches ODATA for a remote artifact, never downloads the content, then that remote artifact disappears, Nexus will forever serve ODATA but 404 on the component itself.

      TECHNICAL NOTE
      Please ensure that any date fields you create or use have the exact meaning you require, rather than overloading an existing one (c.f. the somewhat ambiguous Asset.lastUpdated).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mprescott Michael Prescott
              Last Updated By:
              Michael Prescott Michael Prescott
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title