Archiva

When uploading artifacts to the repo, they should be added to the index instantly

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1
  • Component/s: repository scanning
  • Labels:
    None
  • Number of attachments :
    0

Issue Links

Activity

Hide
Wendy Smoak added a comment -

Same for artifacts added through the new upload feature.

Show
Wendy Smoak added a comment - Same for artifacts added through the new upload feature.
Hide
Maria Odea Ching added a comment -

Calling the RepositoryContentConsumers after a deploy and upload from the UI should fix this.

Show
Maria Odea Ching added a comment - Calling the RepositoryContentConsumers after a deploy and upload from the UI should fix this.
Hide
Wendy Smoak added a comment -

Thanks, Deng. Please review r657485, which indexes the uploaded artifact, (though not yet the associated pom).

Show
Wendy Smoak added a comment - Thanks, Deng. Please review r657485, which indexes the uploaded artifact, (though not yet the associated pom).
Hide
Wendy Smoak added a comment -

This is done for uploaded artifacts. The artifact and uploaded (or generated) pom file are indexed immediately-- please review. (r657491)

How expensive is this call? Can we afford to do it on every artifact deployment, when there may be multiple developers and/or CI servers deploying releases and snapshots? If that is a potential issue we may want to make this configurable.

Show
Wendy Smoak added a comment - This is done for uploaded artifacts. The artifact and uploaded (or generated) pom file are indexed immediately-- please review. (r657491) How expensive is this call? Can we afford to do it on every artifact deployment, when there may be multiple developers and/or CI servers deploying releases and snapshots? If that is a potential issue we may want to make this configurable.
Hide
Brett Porter added a comment -

it should be acceptable to call it for every artifact, though perhaps we want to put it on a queue to run in parallel?

Show
Brett Porter added a comment - it should be acceptable to call it for every artifact, though perhaps we want to put it on a queue to run in parallel?
Hide
Wendy Smoak added a comment -

artifacts uploaded through the Web UI are now indexed immediately. See MRM-831 for deployed artifacts.

Show
Wendy Smoak added a comment - artifacts uploaded through the Web UI are now indexed immediately. See MRM-831 for deployed artifacts.
Hide
Wendy Smoak added a comment -

Linking to the other half of this issue for deployed artifacts

Show
Wendy Smoak added a comment - Linking to the other half of this issue for deployed artifacts

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: