karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morgan Hautman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3733) Update the repository.xml in a repository "on the fly"
Date Sat, 30 Jul 2016 06:58:21 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15400502#comment-15400502

Morgan Hautman commented on KARAF-3733:

We have two solutions here:

1. Add options to the cave:repository-update command.
2. Make a new command cave:scan-repository that would kind of duplicate the behavior of cave:repository-update.

I would choose for option 1, WDYT?

And can you also confirm that the scheduler should use Karaf's QuartzScheduler?


> Update the repository.xml in a repository "on the fly"
> ------------------------------------------------------
>                 Key: KARAF-3733
>                 URL: https://issues.apache.org/jira/browse/KARAF-3733
>             Project: Karaf
>          Issue Type: Improvement
>          Components: cave-server
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cave-3.0.1, cave-4.0.1
> Right now, the only way to update the OBR metadata is by performing the scan command.
Meaning that we need to execute the command each time that the repository is updated (adding/removing
an artifact for instance).
> It makes sense to have a thread that periodically update the OBR metadata (that we can
enable/disable with a command, like cave:scan-repository -a for auto).

This message was sent by Atlassian JIRA

View raw message