Re: Unable to attach a configuration to a declarative service

2017-03-02 Thread 'Achim Nierbeck' via OPS4J
Hi, please take a look at the documentation at [1]. regards, Achim [1] - https://ops4j1.jira.com/wiki/display/PAXEXAM4/Pax+Exam 2017-03-03 8:00 GMT+01:00 Umesh Rajani : > Hi Ivo Leitão, > > *I'm completely new to testing with pax-exam.* > > *Can you pl. tell me what goal

Re: [pax-exam] Data for tests?

2017-03-02 Thread sorok...@gmail.com
Thanks for the advice! Maybe simple is good here. :grin: I may end up using some facilities that are particular to my project and unrelated to OSGi, but if I don't, I will follow out my experiments with Bundle.getEntry(). On that topic, another question: I am using Maven to build my project,

Re: [pax-exam] Data for tests?

2017-03-02 Thread 'Achim Nierbeck' via OPS4J
Hi, this is a rather interesting problem you need to solve. As your tests do run within the OSGi environment you'll need to use some OSGi ways of requesting the file. Best is to include it in your classpath, as you'll never know what the actual location on the system path is. Right now I'd

[pax-exam] Data for tests?

2017-03-02 Thread sorok...@gmail.com
Hi, OPS4J folks, I'm building up some tests using Pax Exam with Apache Camel in Apache Karaf. The basic form of each test is just "Make an HTTP request to a given URI with a Camel route behind it, then compare the response with a known-good answer." I'd like to include my known-good answers as

Re: [pax-web] JNDI in integration tests

2017-03-02 Thread Stephan Siano
Hi Achim, OK, I will not test this functionality. Best regards Stephan Am Donnerstag, 2. März 2017 09:37:10 UTC+1 schrieb Achim Nierbeck: > > Hi, > > see my comments inline > > regards, Achim > > > 2017-03-02 7:58 GMT+01:00 Stephan Siano : > >> Hi Achim, >> >> ok, but we