Project

General

Profile

« Previous | Next » 

Revision 6284

simplify the MN rest servlet mapping to match CN mappings - also streamlined the handler code to share extra path info parsing

View differences:

web.xml.tomcat5
272 272
		<servlet-name>MNRestServlet</servlet-name>
273 273
		<url-pattern>/d1/mn/*</url-pattern>
274 274
	</servlet-mapping>
275
	<!-- MNCore-->
276
	<servlet-mapping>
277
		<servlet-name>MNRestServlet</servlet-name>
278
		<url-pattern>/d1/mn/monitor/*</url-pattern>
279
	</servlet-mapping>
280
	<servlet-mapping>
281
		<servlet-name>MNRestServlet</servlet-name>
282
		<url-pattern>/d1/mn/log/*</url-pattern>
283
	</servlet-mapping>
284
	<servlet-mapping>
285
		<servlet-name>MNRestServlet</servlet-name>
286
		<url-pattern>/d1/mn/node</url-pattern>
287
	</servlet-mapping>
288
	<!-- MNRead-->
289
	<servlet-mapping>
290
		<servlet-name>MNRestServlet</servlet-name>
291
		<url-pattern>/d1/mn/meta/*</url-pattern>
292
	</servlet-mapping>
293
	<servlet-mapping>
294
		<servlet-name>MNRestServlet</servlet-name>
295
		<url-pattern>/d1/mn/object/*</url-pattern>
296
	</servlet-mapping>
297
	<servlet-mapping>
298
		<servlet-name>MNRestServlet</servlet-name>
299
		<url-pattern>/d1/mn/checksum/*</url-pattern>
300
	</servlet-mapping>
301
	<servlet-mapping>
302
		<servlet-name>MNRestServlet</servlet-name>
303
		<url-pattern>/d1/mn/error</url-pattern>
304
	</servlet-mapping>
305
	<!-- MNAuthorization -->
306
	<servlet-mapping>
307
		<servlet-name>MNRestServlet</servlet-name>
308
		<url-pattern>/d1/mn/isAuthorized/*</url-pattern>
309
	</servlet-mapping>
310
	<servlet-mapping>
311
		<servlet-name>MNRestServlet</servlet-name>
312
		<url-pattern>/d1/mn/accessRules/*</url-pattern>
313
	</servlet-mapping>
314
	<!-- MNReplication -->
315
	<servlet-mapping>
316
		<servlet-name>MNRestServlet</servlet-name>
317
		<url-pattern>/d1/mn/replicate/*</url-pattern>
318
	</servlet-mapping>
319 275
	
320

  
321 276
 <!-- uncomment this if you want the admin servlet -->
322 277
  <servlet-mapping>
323 278
    <servlet-name>AdminServlet</servlet-name>

Also available in: Unified diff