[
https://issues.apache.org/jira/browse/FELIX-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566968#action_12566968
]
Guillaume Sauthier commented on FELIX-481:
------------------------------------------
Sorry Alin to be not clear enough.
My use case is the following:
I'm behind a proxy, so I need to explicitely set the JVM proxy properties to
have the default repository URL not falling in timeout at the first usage of
the OBR.
But, I don't need this default OBR, as I'm providing mine as part of my
application distribution.
As I'm not launching the felix gateway myself (as part of my application), I
don't know the exact URL of my provided repository.xml, so I cannot directly
use the OBR initial URL list.
Currently, the very first command I must do to ensure that the default repo
will not be used is to remove it from the URL list, and then, I can add mine.
Otherwise, I have the not very nice timeout.
Maybe another configuration property like "obr.repository.none|empty" could
help ?
> Change OBR default repository url
> ----------------------------------
>
> Key: FELIX-481
> URL: https://issues.apache.org/jira/browse/FELIX-481
> Project: Felix
> Issue Type: Improvement
> Components: Bundle Repository (OBR)
> Affects Versions: 1.0.0
> Reporter: Alin Dreghiciu
> Priority: Minor
>
> By default (if no repository is configured) BundleRepository uses
> http://oscar-osgi.sourceforge.net/obr2/repository.xml as a default
> repository. As Richard mentioned on the mailing list this repository is more
> a "didactic" repository. Having this repo is somehow then useless and adds
> confusion to the unexperimented (e.g. one has a wrong spelled config
> "obr.repository.url". In that case the default is used => expected bundles
> will not be found)
> I suggest the following alternatives:
> 1. No default => fail to initialize with an misconfiguration exception
> 2. use the osgi alliance repository
> 3. use a (to be created) felix obr repository
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.