use of org.jboss.gravia.resource.ManifestBuilder in project wildfly-camel by wildfly-extras.
the class LumberjackComponentTest method deployment.
@Deployment
public static JavaArchive deployment() {
final JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "camel-lumberjack-tests");
archive.addClasses(AvailablePortFinder.class);
archive.addAsResource("lumberjack/window10");
archive.addAsResource("lumberjack/window15");
archive.setManifest(() -> {
ManifestBuilder builder = new ManifestBuilder();
builder.addManifestHeader("Dependencies", "io.netty");
return builder.openStream();
});
return archive;
}
use of org.jboss.gravia.resource.ManifestBuilder in project wildfly-camel by wildfly-extras.
the class TransactedJMSIntegrationTest method createdeployment.
@Deployment
public static JavaArchive createdeployment() {
final JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "camel-jms-tx-tests");
archive.setManifest(new Asset() {
@Override
public InputStream openStream() {
ManifestBuilder builder = new ManifestBuilder();
builder.addManifestHeader("Dependencies", "org.jboss.as.controller-client");
return builder.openStream();
}
});
return archive;
}
use of org.jboss.gravia.resource.ManifestBuilder in project wildfly-camel by wildfly-extras.
the class CoapIntegrationTest method createDeployment.
@Deployment
public static JavaArchive createDeployment() {
return ShrinkWrap.create(JavaArchive.class, "camel-coap-tests.jar").addClass(AvailablePortFinder.class).setManifest(() -> {
ManifestBuilder builder = new ManifestBuilder();
builder.addManifestHeader("Dependencies", "org.eclipse.californium");
return builder.openStream();
});
}
use of org.jboss.gravia.resource.ManifestBuilder in project wildfly-camel by wildfly-extras.
the class CXFRSSecureConsumerIntegrationTest method deployment.
@Deployment
public static JavaArchive deployment() {
return ShrinkWrap.create(JavaArchive.class, "cxfrs-secure-consumer-tests").addClasses(GreetingService.class, HttpRequest.class).addAsResource("cxf/spring/cxfrs-secure-consumer-camel-context.xml", "cxfrs-secure-consumer-camel-context.xml").setManifest(() -> {
ManifestBuilder builder = new ManifestBuilder();
builder.addManifestHeader("Dependencies", "org.jboss.resteasy.resteasy-jaxrs");
return builder.openStream();
});
}
use of org.jboss.gravia.resource.ManifestBuilder in project wildfly-camel by wildfly-extras.
the class CXFRSConsumerIntegrationTest method deployment.
@Deployment
public static JavaArchive deployment() {
final JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "cxfrs-consumer-tests");
archive.addClasses(GreetingService.class);
archive.addAsResource("cxf/spring/cxfrs-consumer-camel-context.xml", "cxfrs-consumer-camel-context.xml");
archive.setManifest(new Asset() {
@Override
public InputStream openStream() {
ManifestBuilder builder = new ManifestBuilder();
builder.addManifestHeader("Dependencies", "org.jboss.resteasy.resteasy-jaxrs");
return builder.openStream();
}
});
return archive;
}
Aggregations