PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/v3.2/nimbits-tds/web/WEB-INF/web.xml

http://nimbits-server.googlecode.com/
XML | 421 lines | 335 code | 64 blank | 22 comment | 0 complexity | 76b16796bcfc6d9d306f309afda343ae MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<!--
  3  ~ Copyright (c) 2010 Tonic Solutions LLC.
  4  ~
  5  ~ http://www.nimbits.com
  6  ~
  7  ~
  8  ~ Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
  9  ~
 10  ~ http://www.gnu.org/licenses/gpl.html
 11  ~
 12  ~ Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 13  -->
 14
 15<web-app xmlns="http://java.sun.com/xml/ns/javaee"
 16         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 17         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
 18		  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 19         version="2.5">
 20
 21
 22    <servlet>
 23        <servlet-name>loginService</servlet-name>
 24        <servlet-class>com.nimbits.server.login.LoginServiceImpl</servlet-class>
 25    </servlet>
 26    <servlet>
 27        <servlet-name>pointService</servlet-name>
 28        <servlet-class>com.nimbits.server.point.PointServiceImpl</servlet-class>
 29    </servlet>
 30
 31    <servlet>
 32        <servlet-name>userService</servlet-name>
 33        <servlet-class>com.nimbits.server.user.UserServiceImpl</servlet-class>
 34    </servlet>
 35
 36    <servlet>
 37        <servlet-name>IMService</servlet-name>
 38        <servlet-class>com.nimbits.server.instantmessage.IMServiceImpl</servlet-class>
 39    </servlet>
 40
 41    <servlet>
 42        <servlet-name>xmppreceiver</servlet-name>
 43        <servlet-class>com.nimbits.server.instantmessage.XMPPReceiverServlet</servlet-class>
 44    </servlet>
 45
 46    <servlet-mapping>
 47        <servlet-name>xmppreceiver</servlet-name>
 48        <url-pattern>/_ah/xmpp/message/chat/</url-pattern>
 49    </servlet-mapping>
 50
 51
 52    <servlet-mapping>
 53        <servlet-name>loginService</servlet-name>
 54        <url-pattern>/nimbits/login</url-pattern>
 55    </servlet-mapping>
 56
 57    <servlet-mapping>
 58        <servlet-name>pointService</servlet-name>
 59        <url-pattern>/nimbits/point</url-pattern>
 60    </servlet-mapping>
 61
 62    <servlet>
 63        <servlet-name>dataService</servlet-name>
 64        <servlet-class>com.nimbits.server.recordedvalue.RecordedValueServiceImpl</servlet-class>
 65    </servlet>
 66    <servlet-mapping>
 67        <servlet-name>dataService</servlet-name>
 68        <url-pattern>/nimbits/data</url-pattern>
 69    </servlet-mapping>
 70
 71
 72    <servlet>
 73        <servlet-name>settingsService</servlet-name>
 74        <servlet-class>com.nimbits.server.settings.SettingServiceImpl</servlet-class>
 75    </servlet>
 76    <servlet-mapping>
 77        <servlet-name>settingsService</servlet-name>
 78        <url-pattern>/nimbits/settings</url-pattern>
 79    </servlet-mapping>
 80
 81
 82    <servlet>
 83        <servlet-name>diagramService</servlet-name>
 84        <servlet-class>com.nimbits.server.diagram.DiagramServiceImpl</servlet-class>
 85    </servlet>
 86    <servlet-mapping>
 87        <servlet-name>diagramService</servlet-name>
 88        <url-pattern>/nimbits/diagram</url-pattern>
 89    </servlet-mapping>
 90
 91
 92    <servlet-mapping>
 93        <servlet-name>userService</servlet-name>
 94        <url-pattern>/nimbits/user</url-pattern>
 95    </servlet-mapping>
 96
 97
 98    <servlet-mapping>
 99        <servlet-name>IMService</servlet-name>
100        <url-pattern>/nimbits/xmpp</url-pattern>
101    </servlet-mapping>
102
103    <!--
104    <servlet>
105        <servlet-name>remote_api</servlet-name>
106        <servlet-class>com.google.apphosting.utils.remoteapi.RemoteApiServlet</servlet-class>
107    </servlet>
108    <servlet-mapping>
109        <servlet-name>remote_api</servlet-name>
110        <url-pattern>/remote_api</url-pattern>
111    </servlet-mapping>
112    -->
113
114    <servlet>
115        <servlet-name>mailhandler</servlet-name>
116        <servlet-class>com.nimbits.server.email.MailHandlerServlet</servlet-class>
117    </servlet>
118    <servlet-mapping>
119        <servlet-name>mailhandler</servlet-name>
120        <url-pattern>/_ah/mail/*</url-pattern>
121    </servlet-mapping>
122
123
124    <servlet>
125        <servlet-name>NimbitsStats</servlet-name>
126        <servlet-class>com.nimbits.server.cron.NimbitsStats</servlet-class>
127    </servlet>
128    <servlet-mapping>
129        <servlet-name>NimbitsStats</servlet-name>
130        <url-pattern>/cron/NimbitsStats</url-pattern>
131    </servlet-mapping>
132
133    <servlet>
134        <servlet-name>PointMaint</servlet-name>
135        <servlet-class>com.nimbits.server.cron.PointMaint</servlet-class>
136    </servlet>
137    <servlet-mapping>
138        <servlet-name>PointMaint</servlet-name>
139        <url-pattern>/cron/PointMaint</url-pattern>
140    </servlet-mapping>
141
142    <servlet>
143        <servlet-name>UserMaint</servlet-name>
144        <servlet-class>com.nimbits.server.cron.UserMaint</servlet-class>
145    </servlet>
146    <servlet-mapping>
147        <servlet-name>UserMaint</servlet-name>
148        <url-pattern>/cron/UserMaint</url-pattern>
149    </servlet-mapping>
150
151    <servlet>
152        <servlet-name>DataScrubberCron</servlet-name>
153        <servlet-class>com.nimbits.server.cron.DataScrubberCron</servlet-class>
154    </servlet>
155    <servlet-mapping>
156        <servlet-name>DataScrubberCron</servlet-name>
157        <url-pattern>/cron/DataScrubberCron</url-pattern>
158    </servlet-mapping>
159    <servlet>
160        <servlet-name>SystemMaint</servlet-name>
161        <servlet-class>com.nimbits.server.cron.SystemMaint</servlet-class>
162    </servlet>
163    <servlet-mapping>
164        <servlet-name>SystemMaint</servlet-name>
165        <url-pattern>/cron/SystemMaint</url-pattern>
166    </servlet-mapping>
167    <servlet>
168        <servlet-name>com.nimbits.server.cron.IdlePointCron</servlet-name>
169        <servlet-class>com.nimbits.server.cron.IdlePointCron</servlet-class>
170    </servlet>
171    <servlet-mapping>
172        <servlet-name>com.nimbits.server.cron.IdlePointCron</servlet-name>
173        <url-pattern>/cron/idle</url-pattern>
174    </servlet-mapping>
175
176    <servlet-mapping>
177        <servlet-name>SystemMaint</servlet-name>
178        <url-pattern>/cron/systemmaint</url-pattern>
179    </servlet-mapping>
180
181    <servlet>
182        <servlet-name>RecordValueTask</servlet-name>
183        <servlet-class>com.nimbits.server.task.RecordValueTask</servlet-class>
184    </servlet>
185    <servlet-mapping>
186        <servlet-name>RecordValueTask</servlet-name>
187        <url-pattern>/task/recordvaluetask</url-pattern>
188    </servlet-mapping>
189
190    <servlet>
191        <servlet-name>com.nimbits.server.task.UpdatePointStatsTask</servlet-name>
192        <servlet-class>com.nimbits.server.task.UpdatePointStatsTask</servlet-class>
193    </servlet>
194    <servlet-mapping>
195        <servlet-name>com.nimbits.server.task.UpdatePointStatsTask</servlet-name>
196        <url-pattern>/task/updatepointstats</url-pattern>
197    </servlet-mapping>
198
199
200    <servlet>
201        <servlet-name>ProcessBatchTask</servlet-name>
202        <servlet-class>com.nimbits.server.task.ProcessBatchTask</servlet-class>
203    </servlet>
204    <servlet-mapping>
205        <servlet-name>ProcessBatchTask</servlet-name>
206        <url-pattern>/task/processbatchtask</url-pattern>
207    </servlet-mapping>
208
209    <servlet>
210        <servlet-name>IncomingMailTask</servlet-name>
211        <servlet-class>com.nimbits.server.email.IncomingMailTask</servlet-class>
212    </servlet>
213    <servlet-mapping>
214        <servlet-name>IncomingMailTask</servlet-name>
215        <url-pattern>/task/incommingmail</url-pattern>
216    </servlet-mapping>
217
218    <servlet>
219        <servlet-name>PointMaintTask</servlet-name>
220        <servlet-class>com.nimbits.server.task.PointMaintTask</servlet-class>
221    </servlet>
222    <servlet-mapping>
223        <servlet-name>PointMaintTask</servlet-name>
224        <url-pattern>/task/pointmaint</url-pattern>
225    </servlet-mapping>
226
227
228    <servlet>
229        <servlet-name>DeleteRecordedValuesTask</servlet-name>
230        <servlet-class>com.nimbits.server.task.DeleteRecordedValuesTask</servlet-class>
231    </servlet>
232    <servlet-mapping>
233        <servlet-name>DeleteRecordedValuesTask</servlet-name>
234        <url-pattern>/task/DeleteRecordedValuesTask</url-pattern>
235    </servlet-mapping>
236    <servlet>
237        <servlet-name>currentValueServlet</servlet-name>
238        <servlet-class>com.nimbits.server.service.CurrentValueService</servlet-class>
239    </servlet>
240    <servlet-mapping>
241        <servlet-name>currentValueServlet</servlet-name>
242        <url-pattern>/service/currentvalue</url-pattern>
243    </servlet-mapping>
244
245    <servlet>
246        <servlet-name>categoryServlet</servlet-name>
247        <servlet-class>com.nimbits.server.pointcategory.CategoryWebService</servlet-class>
248    </servlet>
249    <servlet-mapping>
250        <servlet-name>categoryServlet</servlet-name>
251        <url-pattern>/service/catagory</url-pattern>
252    </servlet-mapping>
253    <servlet-mapping>
254        <servlet-name>categoryServlet</servlet-name>
255        <url-pattern>/service/category</url-pattern>
256    </servlet-mapping>
257
258
259    <servlet>
260        <servlet-name>pointServlet</servlet-name>
261        <servlet-class>com.nimbits.server.point.PointWebService</servlet-class>
262    </servlet>
263    <servlet-mapping>
264        <servlet-name>pointServlet</servlet-name>
265        <url-pattern>/service/point</url-pattern>
266    </servlet-mapping>
267
268
269    <servlet>
270        <servlet-name>seriesServlet</servlet-name>
271        <servlet-class>com.nimbits.server.service.SeriesService</servlet-class>
272    </servlet>
273    <servlet-mapping>
274        <servlet-name>seriesServlet</servlet-name>
275        <url-pattern>/service/series</url-pattern>
276    </servlet-mapping>
277
278
279    <servlet>
280        <servlet-name>chartApiValueServlet</servlet-name>
281        <servlet-class>com.nimbits.server.service.ChartAPIValueService</servlet-class>
282    </servlet>
283    <servlet-mapping>
284        <servlet-name>chartApiValueServlet</servlet-name>
285        <url-pattern>/service/textimage</url-pattern>
286    </servlet-mapping>
287
288
289    <servlet>
290        <servlet-name>chartApiServlet</servlet-name>
291        <servlet-class>com.nimbits.server.service.ChartAPIService</servlet-class>
292    </servlet>
293    <servlet-mapping>
294        <servlet-name>chartApiServlet</servlet-name>
295        <url-pattern>/service/chartapi</url-pattern>
296    </servlet-mapping>
297
298
299    <servlet>
300        <servlet-name>authTestServlet</servlet-name>
301        <servlet-class>com.nimbits.server.service.AuthTestService</servlet-class>
302    </servlet>
303    <servlet-mapping>
304        <servlet-name>authTestServlet</servlet-name>
305        <url-pattern>/service/authtest</url-pattern>
306    </servlet-mapping>
307
308
309    <servlet>
310        <servlet-name>diagramServlet</servlet-name>
311        <servlet-class>com.nimbits.server.diagram.DiagramServlet</servlet-class>
312    </servlet>
313    <servlet-mapping>
314        <servlet-name>diagramServlet</servlet-name>
315        <url-pattern>/service/diagram</url-pattern>
316    </servlet-mapping>
317
318    <servlet>
319        <servlet-name>batchServlet</servlet-name>
320        <servlet-class>com.nimbits.server.service.BatchService</servlet-class>
321    </servlet>
322
323
324    <servlet>
325        <servlet-name>com.nimbits.nimbits CategoryService</servlet-name>
326        <servlet-class>com.nimbits.server.pointcategory.CategoryServiceImpl</servlet-class>
327    </servlet>
328    <servlet>
329        <servlet-name>com.nimbits.nimbits FacebookService</servlet-name>
330        <servlet-class>com.nimbits.server.facebook.FacebookImpl</servlet-class>
331    </servlet>
332    <servlet>
333        <servlet-name>com.nimbits.nimbits TwitterService</servlet-name>
334        <servlet-class>com.nimbits.server.twitter.TwitterImpl</servlet-class>
335    </servlet>
336    <servlet-mapping>
337        <servlet-name>batchServlet</servlet-name>
338        <url-pattern>/service/batch</url-pattern>
339    </servlet-mapping>
340    <servlet>
341        <servlet-name>com.nimbits.nimbits TimespanService</servlet-name>
342        <servlet-class>com.nimbits.server.timespan.TimespanServiceImpl</servlet-class>
343    </servlet>
344
345    <servlet-mapping>
346        <servlet-name>com.nimbits.nimbits CategoryService</servlet-name>
347        <url-pattern>/nimbits/category</url-pattern>
348    </servlet-mapping>
349    <servlet-mapping>
350        <servlet-name>com.nimbits.nimbits FacebookService</servlet-name>
351        <url-pattern>/nimbits/facebook</url-pattern>
352    </servlet-mapping>
353    <servlet-mapping>
354        <servlet-name>com.nimbits.nimbits TwitterService</servlet-name>
355        <url-pattern>/nimbits/twitter</url-pattern>
356    </servlet-mapping>
357    <servlet-mapping>
358        <servlet-name>com.nimbits.nimbits TimespanService</servlet-name>
359        <url-pattern>/nimbits/timespan</url-pattern>
360    </servlet-mapping>
361
362
363    <servlet>
364        <servlet-name>com.nimbits.nimbits UserWebService</servlet-name>
365        <servlet-class>com.nimbits.server.user.UserWebService</servlet-class>
366    </servlet>
367    <servlet-mapping>
368        <servlet-name>com.nimbits.nimbits UserWebService</servlet-name>
369        <url-pattern>/admin/user</url-pattern>
370    </servlet-mapping>
371
372    <servlet>
373        <servlet-name>com.nimbits.nimbits UserReportService</servlet-name>
374        <servlet-class>com.nimbits.server.user.UserReportService</servlet-class>
375    </servlet>
376    <servlet-mapping>
377        <servlet-name>com.nimbits.nimbits UserReportService</servlet-name>
378        <url-pattern>/admin/user_report</url-pattern>
379    </servlet-mapping>
380
381
382    <servlet>
383        <servlet-name>com.nimbits.nimbits OAuth2Servlet</servlet-name>
384        <servlet-class>com.nimbits.server.google.OAuth2Servlet</servlet-class>
385    </servlet>
386    <servlet-mapping>
387        <servlet-name>com.nimbits.nimbits OAuth2Servlet</servlet-name>
388        <url-pattern>/OAuth2Servlet</url-pattern>
389    </servlet-mapping>
390
391
392    <security-constraint>
393        <web-resource-collection>
394            <url-pattern>/cron/*</url-pattern>
395        </web-resource-collection>
396        <auth-constraint>
397            <role-name>admin</role-name>
398        </auth-constraint>
399    </security-constraint>
400
401    <security-constraint>
402        <web-resource-collection>
403            <url-pattern>/admin/*</url-pattern>
404        </web-resource-collection>
405        <auth-constraint>
406            <role-name>admin</role-name>
407        </auth-constraint>
408    </security-constraint>
409
410
411    <security-constraint>
412        <web-resource-collection>
413            <url-pattern>/task/*</url-pattern>
414        </web-resource-collection>
415        <auth-constraint>
416            <role-name>admin</role-name>
417        </auth-constraint>
418    </security-constraint>
419
420
421</web-app>