cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cxf git commit: CXF-7085: Introduce support for Server Sent Events (Client). Restructured SSE test cases to have separate modules for Tomcat and Jetty
Date Sat, 24 Jun 2017 18:48:55 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 76877054e -> 0b0ea5039


CXF-7085: Introduce support for Server Sent Events (Client). Restructured SSE test cases to
have separate modules for Tomcat and Jetty


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/0b0ea503
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/0b0ea503
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/0b0ea503

Branch: refs/heads/master
Commit: 0b0ea50394d3fcd6401e51d81db5a90bd4bd5cff
Parents: 7687705
Author: reta <drreta@gmail.com>
Authored: Sat Jun 24 14:48:33 2017 -0400
Committer: reta <drreta@gmail.com>
Committed: Sat Jun 24 14:48:33 2017 -0400

----------------------------------------------------------------------
 .../test/resources/jaxrs_sse/WEB-INF/web.xml    | 28 ++++++++++++++++++++
 1 file changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/0b0ea503/systests/rs-sse/rs-sse-tomcat/src/test/resources/jaxrs_sse/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/systests/rs-sse/rs-sse-tomcat/src/test/resources/jaxrs_sse/WEB-INF/web.xml b/systests/rs-sse/rs-sse-tomcat/src/test/resources/jaxrs_sse/WEB-INF/web.xml
new file mode 100644
index 0000000..64746acb
--- /dev/null
+++ b/systests/rs-sse/rs-sse-tomcat/src/test/resources/jaxrs_sse/WEB-INF/web.xml
@@ -0,0 +1,28 @@
+<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+	<servlet>
+		<servlet-name>CXFServlet</servlet-name>
+		<display-name>CXF Servlet</display-name>
+		<servlet-class>org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet</servlet-class>
   
+		<load-on-startup>1</load-on-startup>
+		<async-supported>true</async-supported>
+		<init-param>
+			<param-name>transportId</param-name>
+			<param-value>http://cxf.apache.org/transports/http/sse</param-value>
+		</init-param>
+		<init-param>
+			<param-name>javax.ws.rs.Application</param-name>
+			<param-value>org.apache.cxf.systest.jaxrs.sse.SseApplication</param-value>
+		</init-param>
+		<init-param>
+			<param-name>jaxrs.scope</param-name>
+			<param-value>singleton</param-value>
+		</init-param>
+	</servlet>
+
+	<servlet-mapping>
+		<servlet-name>CXFServlet</servlet-name>
+		<url-pattern>/rest/*</url-pattern>
+	</servlet-mapping>
+</web-app>
\ No newline at end of file


Mime
View raw message