Here is the jetty equivalent
https://github.com/picketlink/picketlink/blob/master/oauth/src/test/java/...
I need things like WebContext that can take in a folder of resources
(WEB-INF, META-INF), servletrunner, filterrunner etc.
I dont need to deploy war files as archives but should be able to use
some builder api.
Then I can have a base test such as
https://github.com/picketlink/picketlink/blob/master/oauth/src/test/java/...
A concrete test case would be like:
https://github.com/picketlink/picketlink/blob/master/oauth/src/test/java/...
The concrete test uses web urls touching the embedded web container
socket connections.
I hope this can be covered.
On 03/28/2013 07:07 PM, Tomaz Cerar wrote:
Yes builder is there also for servlets, if that is enough, then this
is
perfect.
Programmatically building DeploymentInfo is one option, but probably not
desirable...
--
tomaz
> -----Original Message-----
> From: undertow-dev-bounces(a)lists.jboss.org [mailto:undertow-dev-
> bounces(a)lists.jboss.org] On Behalf Of Jason Greene
> Sent: Thursday, March 28, 2013 11:17 PM
> To: Tomaz Cerar
> Cc: undertow-dev(a)lists.jboss.org; Anil Saldhana
> Subject: Re: [undertow-dev] Undertow as embeddable web container
>
> There is also a servlet builder API (see examples dir)
>
> Sent from my iPhone
>
> On Mar 28, 2013, at 4:43 PM, "Tomaz Cerar" <tomaz.cerar(a)redhat.com>
> wrote:
>
>> Question is what kind of testing and what kind of functionally do you
>> need.
>>
>> Undertow-core works that way already (most of internal test suite uses
>> it) But if you are talking about deploying web applications(.war) we
>> would need to do bit more.
>> Currently deployment handling is done by AS integration layer
>> (undertow-subsystem project atm) and not by undertow itself.
>>
>> But it should not be hard to make undertow "standalone" for uses in
>> embeddable container.
>> I started working on having "standalone distribution" where you would
>> get really stripped down version of AS that would include undertow
>> with AS management & deployment capability.
>>
>> It is something worth investigating.
>>
>> --
>> tomaz
>>
>>
>>> -----Original Message-----
>>> From: undertow-dev-bounces(a)lists.jboss.org [mailto:undertow-dev-
>>> bounces(a)lists.jboss.org] On Behalf Of Anil Saldhana
>>> Sent: Thursday, March 28, 2013 8:09 PM
>>> To: undertow-dev(a)lists.jboss.org
>>> Subject: [undertow-dev] Undertow as embeddable web container
>>>
>>> Hi all,
>>> is undertow ready to be embeddable as a web container? Similar to
>> Jetty.
>>> We can give undertow a ride with the PicketLink integration
testsuite.
>>> Regards,
>>> Anil