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
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
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
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
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
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,
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,
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
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