Hi Stephan,

with Jetty we have also the way of using a fragment for changing a
jetty.xml
https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/jetty-config-fragment

if we're talking about something similar to the jetty-web.xml it's here:
https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/wab-jetty-web/src/main/webapp/WEB-INF

a test for the jetty fragment could the this one:
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty/JettyConfigurationIntegrationTest.java

for the jetty-web.xml it's:
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty/WabJettyWebIntegrationTest.java

hope this helps :)

regards, Achim


2017-06-02 9:17 GMT+02:00 Stephan Siano <[email protected]>:

> Hi,
>
> I have assigned PAXWEB-629 (configure tomcat via config.xml) to me. I have
> a working implementation that can use META-INF/config.xml from a war or
> config.xml from the config dir or a config fragment (for default context
> configuration).
>
> I could test this manually with a RemoteAddrValve in the context that
> denys access from the public ip address of my system but does allow access
> from localhost.
>
> Does anybody have an idea how this could be tested in an automated
> integration test?
>
> Best regards
> Stephan
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to