Project

General

Profile

« Previous | Next » 

Revision 6282

route all /d1/cn/* traffic through the CNRestServlet/Handler -- inspect the pathInfo when deciding what action to take and also strip off any extra parts (like pid).
include query() method pass-through to CNodeService

View differences:

web.xml.tomcat5
266 266
		<servlet-name>CNRestServlet</servlet-name>
267 267
		<url-pattern>/d1/cn/*</url-pattern>
268 268
	</servlet-mapping>
269
	<!-- CNCore-->
270
	<servlet-mapping>
271
		<servlet-name>CNRestServlet</servlet-name>
272
		<url-pattern>/d1/cn/object/*</url-pattern>
273
	</servlet-mapping>
274
	<servlet-mapping>
275
		<servlet-name>CNRestServlet</servlet-name>
276
		<url-pattern>/d1/cn/formats/*</url-pattern>
277
	</servlet-mapping>
278
	<servlet-mapping>
279
		<servlet-name>CNRestServlet</servlet-name>
280
		<url-pattern>/d1/cn/log/*</url-pattern>
281
	</servlet-mapping>
282
	<servlet-mapping>
283
		<servlet-name>CNRestServlet</servlet-name>
284
		<url-pattern>/d1/cn/reserve/*</url-pattern>
285
	</servlet-mapping>
286
	<servlet-mapping>
287
		<servlet-name>CNRestServlet</servlet-name>
288
		<url-pattern>/d1/cn/meta/*</url-pattern>
289
	</servlet-mapping>
290
	<!-- CNRead-->
291
	<servlet-mapping>
292
		<servlet-name>CNRestServlet</servlet-name>
293
		<url-pattern>/d1/cn/resolve/*</url-pattern>
294
	</servlet-mapping>
295
	<servlet-mapping>
296
		<servlet-name>CNRestServlet</servlet-name>
297
		<url-pattern>/d1/cn/assertRelation/*</url-pattern>
298
	</servlet-mapping>
299
	<servlet-mapping>
300
		<servlet-name>CNRestServlet</servlet-name>
301
		<url-pattern>/d1/cn/checksum/*</url-pattern>
302
	</servlet-mapping>
303
	<!-- CNAuthorization -->
304
	<servlet-mapping>
305
		<servlet-name>CNRestServlet</servlet-name>
306
		<url-pattern>/d1/cn/owner/*</url-pattern>
307
	</servlet-mapping>
308
	<servlet-mapping>
309
		<servlet-name>CNRestServlet</servlet-name>
310
		<url-pattern>/d1/cn/isAuthorized/*</url-pattern>
311
	</servlet-mapping>
312
	<servlet-mapping>
313
		<servlet-name>CNRestServlet</servlet-name>
314
		<url-pattern>/d1/cn/accessRules/*</url-pattern>
315
	</servlet-mapping>
316
	<!-- CNReplication -->
317
	<servlet-mapping>
318
		<servlet-name>CNRestServlet</servlet-name>
319
		<url-pattern>/d1/cn/notify/*</url-pattern>
320
	</servlet-mapping>
321
	<servlet-mapping>
322
		<servlet-name>CNRestServlet</servlet-name>
323
		<url-pattern>/d1/cn/meta/replication/*</url-pattern>
324
	</servlet-mapping>
325
	<servlet-mapping>
326
		<servlet-name>CNRestServlet</servlet-name>
327
		<url-pattern>/d1/cn/meta/policy/*</url-pattern>
328
	</servlet-mapping>
329 269
	
330 270
	<!-- MN REST services -->
331 271
	<servlet-mapping>

Also available in: Unified diff