Project

General

Profile

« Previous | Next » 

Revision 6264

MN rest servlet, handler and mappings

View differences:

web.xml.tomcat5
179 179
      <load-on-startup>10</load-on-startup>
180 180
    </servlet>
181 181
    
182
<!-- CN REST Servlet -->
182
	<!-- CN REST Servlet -->
183 183
    <servlet>
184 184
      <servlet-name>CNRestServlet</servlet-name>
185 185
      <servlet-class>edu.ucsb.nceas.metacat.restservice.CNRestServlet</servlet-class>
......
192 192
        <param-value>true</param-value>
193 193
      </init-param>
194 194
      <load-on-startup>15</load-on-startup>
195
    </servlet>    
195
    </servlet>
196
    
197
    <!-- MN REST Servlet -->
198
    <servlet>
199
      <servlet-name>MNRestServlet</servlet-name>
200
      <servlet-class>edu.ucsb.nceas.metacat.restservice.MNRestServlet</servlet-class>
201
      <init-param>
202
        <param-name>debug</param-name>
203
        <param-value>1</param-value>
204
      </init-param>
205
      <init-param>
206
        <param-name>listings</param-name>
207
        <param-value>true</param-value>
208
      </init-param>
209
      <load-on-startup>20</load-on-startup>
210
    </servlet>
196 211
  
197 212
    <servlet-mapping>
198 213
        <servlet-name>metacat</servlet-name>
......
305 320
    <url-pattern>/d1/monitor/*</url-pattern>
306 321
  </servlet-mapping>
307 322

  
308
  <servlet-mapping>
309
    <servlet-name>RestServlet</servlet-name>
310
    <url-pattern>/d1/*</url-pattern>
311
  </servlet-mapping>
312

  
313 323
	<!-- CN REST services -->
314 324
	<!-- CNCore-->
315 325
	<servlet-mapping>
......
372 382
		<url-pattern>/d1/cn/meta/policy/*</url-pattern>
373 383
	</servlet-mapping>
374 384
	
385
	<!-- MN REST services -->
386
	<!-- MNCore-->
387
	<servlet-mapping>
388
		<servlet-name>MNRestServlet</servlet-name>
389
		<url-pattern>/d1/mn/monitor/*</url-pattern>
390
	</servlet-mapping>
391
	<servlet-mapping>
392
		<servlet-name>MNRestServlet</servlet-name>
393
		<url-pattern>/d1/mn/log/*</url-pattern>
394
	</servlet-mapping>
395
	<servlet-mapping>
396
		<servlet-name>MNRestServlet</servlet-name>
397
		<url-pattern>/d1/mn/node</url-pattern>
398
	</servlet-mapping>
399
	<!-- MNRead-->
400
	<servlet-mapping>
401
		<servlet-name>MNRestServlet</servlet-name>
402
		<url-pattern>/d1/mn/meta/*</url-pattern>
403
	</servlet-mapping>
404
	<servlet-mapping>
405
		<servlet-name>MNRestServlet</servlet-name>
406
		<url-pattern>/d1/mn/object/*</url-pattern>
407
	</servlet-mapping>
408
	<servlet-mapping>
409
		<servlet-name>MNRestServlet</servlet-name>
410
		<url-pattern>/d1/mn/checksum/*</url-pattern>
411
	</servlet-mapping>
412
	<servlet-mapping>
413
		<servlet-name>MNRestServlet</servlet-name>
414
		<url-pattern>/d1/mn/error</url-pattern>
415
	</servlet-mapping>
416
	<!-- MNAuthorization -->
417
	<servlet-mapping>
418
		<servlet-name>MNRestServlet</servlet-name>
419
		<url-pattern>/d1/mn/isAuthorized/*</url-pattern>
420
	</servlet-mapping>
421
	<servlet-mapping>
422
		<servlet-name>MNRestServlet</servlet-name>
423
		<url-pattern>/d1/mn/accessRules/*</url-pattern>
424
	</servlet-mapping>
425
	<!-- MNReplication -->
426
	<servlet-mapping>
427
		<servlet-name>MNRestServlet</servlet-name>
428
		<url-pattern>/d1/mn/replicate/*</url-pattern>
429
	</servlet-mapping>
430
	
375 431

  
376 432
 <!-- uncomment this if you want the admin servlet -->
377 433
  <servlet-mapping>

Also available in: Unified diff