Re: How's config connected to a bundle

2017-12-07 Thread Steinar Bang
> Timothy Ward : > That does look like it should be working - what do the scr commands > display when you look at your component? I've got it working now: the trick was to use the fully qualified class name as the PID. But thanks for the heads up on the "scr:*"

Re: How's config connected to a bundle

2017-12-07 Thread Steinar Bang
> David Jencks : > I’d expect your component with a specified PID to work, are you sure > it didn’t? It turns out that DS cannot reliably set the bundle > location; when it tried to it turns out there is an unavoidable race > condition. Therefore DS does not try to

Re: How's config connected to a bundle

2017-12-07 Thread Timothy Ward
> > david jencks > > >> On Dec 6, 2017, at 11:43 AM, Steinar Bang <s...@dod.no> wrote: >> >> How's karaf config connected to a bundle? >> >> I tried matching on bundle name. Ie. I have a bundle with symbolic-name >> no.priv.bang.sona

Re: How's config connected to a bundle

2017-12-06 Thread David Jencks
<s...@dod.no> wrote: > > How's karaf config connected to a bundle? > > I tried matching on bundle name. Ie. I have a bundle with symbolic-name > no.priv.bang.sonar.sonar-collector-webhook so I tried creating a config > with a PID identical to this, ie. > config:edit no.p

How's config connected to a bundle

2017-12-06 Thread Steinar Bang
How's karaf config connected to a bundle? I tried matching on bundle name. Ie. I have a bundle with symbolic-name no.priv.bang.sonar.sonar-collector-webhook so I tried creating a config with a PID identical to this, ie. config:edit no.priv.bang.sonar.sonar-collector-webhook config:property-set