Re: [Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-08 Thread Imesh Gunaratne
Thanks Sameera & Aruna!! On Fri, Apr 8, 2016 at 10:20 AM, Aruna Karunarathna wrote: > On Fri, Apr 8, 2016 at 7:07 AM, Sameera Jayasoma wrote: > >> >> >> On Fri, Apr 8, 2016 at 12:13 AM, Imesh Gunaratne wrote: >> >>> Hi Aruna, >>> >>> On Thu,

Re: [Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-07 Thread Aruna Karunarathna
On Fri, Apr 8, 2016 at 7:07 AM, Sameera Jayasoma wrote: > > > On Fri, Apr 8, 2016 at 12:13 AM, Imesh Gunaratne wrote: > >> Hi Aruna, >> >> On Thu, Apr 7, 2016 at 6:21 PM, Aruna Karunarathna >> wrote: >> >>> Hi Devs, >>> >>> When writing OSGi

Re: [Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-07 Thread Sameera Jayasoma
On Fri, Apr 8, 2016 at 12:13 AM, Imesh Gunaratne wrote: > Hi Aruna, > > On Thu, Apr 7, 2016 at 6:21 PM, Aruna Karunarathna wrote: > >> Hi Devs, >> >> When writing OSGi Test Cases, Please Inject the CarbonServerInfo service >> [1]. Otherwise the container wont

Re: [Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-07 Thread Imesh Gunaratne
Hi Aruna, On Thu, Apr 7, 2016 at 6:21 PM, Aruna Karunarathna wrote: > Hi Devs, > > When writing OSGi Test Cases, Please Inject the CarbonServerInfo service > [1]. Otherwise the container wont start properly and the test cases will > fail. > > After injecting the service it will

Re: [Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-07 Thread Kishanthan Thangarajah
Can we also add this to the kernel osgi test framework documentation as a best practice guideline? On Thu, Apr 7, 2016 at 6:21 PM, Aruna Karunarathna wrote: > Hi Devs, > > When writing OSGi Test Cases, Please Inject the CarbonServerInfo service > [1]. Otherwise the container

[Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-07 Thread Aruna Karunarathna
Hi Devs, When writing OSGi Test Cases, Please Inject the CarbonServerInfo service [1]. Otherwise the container wont start properly and the test cases will fail. After injecting the service it will guarantee that the server will fully start, before running the test cases. e.g. [2] [1].