Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Felix OBR repositories list?

Is there any way to specify a number of OBR repositories in Felix's config.properties file? I do can add a repository at runtime, but I have to do it after restart.

"Prefrences Service" does not help, it seems "Bundle Repository" does not use it.

like image 781
Alexander Azarov Avatar asked Jan 23 '26 21:01

Alexander Azarov


2 Answers

conf/config.properties

obr.repository.url=(space delimited list of urls)

like image 149
Kurt Harriger Avatar answered Jan 25 '26 10:01

Kurt Harriger


What you can do is :

  • Set a default repository(Felix property). I don't think that you can use commas but you could try.
  • Add a list of repositories at runtime(You could store them in a db and repopulate/register the list dynamically at each startup). If you just need to query the repository service and update the repository list in an activator for example.
like image 20
John Doe Avatar answered Jan 25 '26 09:01

John Doe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!