Detect changes to repository.xml and update cache
-------------------------------------------------
Key: FELIX-2174
URL: https://issues.apache.org/jira/browse/FELIX-2174
Project: Felix
Issue Type: New Feature
Components: Bundle Repository (OBR)
Reporter: Nick Wilson
Priority: Minor
Currently the repository.xml is read once then cached for the lifetime of the
OBR bundle. If the bundles available on the OBR server change the
repository.xml is never re-read, so the client doesn't see the changes.
It would be nice if the OBR bundle could check the server to see if there have
been any changes, either by polling or by a specific request from the client
code to RepositoryAdmin.
Perhaps the repository.xml could include a "lastChanged" timestamp or, as the
repository.xml file may become large, perhaps there should be two requests; one
to check if anything has changed, the second to re-read the repository.xml.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.