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
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 conside
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, in
The problem is that resources are not packed inside the bundle probe.
Instead af working with classpathentries etc. directly in your
test-probe, you can create a "test-resource-bundle" that includes all
resources needed for the test, and include this in your test-setup,
beside the resources, y
This was a fantastic idea! Thank you, Christoph Läubrich.
I ended up building a dynamic bundle using TinyBundle containing my test
resources just the way I want them arranged, and injecting it like any other
bundle. I use a symbolic name to pick it back up inside the container and use
the resou
I think an option to include a resource into the test-probe is the most
generic, simple and natural way. For special and/or advanced usage
szenarios the tinybundle option can still be used.
Maybe it would even be possible to have (as an extra) some sort of
includeMavenResources() option that bui
TinyBundle and BNDlib _were_ required as options in the test setup
(@Configuration method) from what I could tell, or I got errors at runtime when
the OSGi framework went looking for TinyBundle classes needed by the test
resource bundle. Perhaps due to the asynchronous loading in that bundle? I
First step would be to open an Jira ticket so you (or any other team
member) can pick it up to work on it.
Am 09.03.2017 13:52, schrieb sorok...@gmail.com:
TinyBundle and BNDlib _were_ required as options in the test setup
(@Configuration method) from what I could tell, or I got errors at runt
Great, could I request a Jira account to that end for "aj...@apache.org"?
Thanks!
---
A. Soroka
The University of Virginia Library
> On Mar 10, 2017, at 3:43 AM, 'Christoph Läubrich' via OPS4J
> wrote:
>
> First step would be to open an Jira ticket so you (or any other team member)
> can p
Hi,
done, welcome aboard :-)
regards, Achim
2017-03-10 17:30 GMT+01:00 sorok...@gmail.com :
> Great, could I request a Jira account to that end for "aj...@apache.org"?
> Thanks!
>
> ---
> A. Soroka
> The University of Virginia Library
>
>
>
> > On Mar 10, 2017, at 3:43 AM, 'Christoph Läubrich'
Thanks!
https://ops4j1.jira.com/browse/PAXEXAM-808
---
A. Soroka
The University of Virginia Library
>
>> On Mar 10, 2017, at 11:33 AM, 'Achim Nierbeck' via OPS4J
>> wrote:
>>
>> Hi,
>>
>> done, welcome aboard :-)
>>
>> regards, Achim
>>
>> 2017-03-10 17:30 GMT+01:00 sorok...@gmail.com :
11 matches
Mail list logo