1<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"> 2<!-- 3Copyright 2016 Google Inc. All Rights Reserved. 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<listener> 19 <listener-class> 20 com.android.vts.config.ObjectifyListener 21 </listener-class> 22</listener> 23 24<filter> 25 <filter-name>ObjectifyFilter</filter-name> 26 <filter-class>com.googlecode.objectify.ObjectifyFilter</filter-class> 27</filter> 28<filter-mapping> 29 <filter-name>ObjectifyFilter</filter-name> 30 <url-pattern>/*</url-pattern> 31</filter-mapping> 32 33<servlet> 34 <servlet-name>dashboard_main</servlet-name> 35 <servlet-class>com.android.vts.servlet.DashboardMainServlet</servlet-class> 36</servlet> 37 38<servlet> 39 <servlet-name>show_release</servlet-name> 40 <servlet-class>com.android.vts.servlet.ShowReleaseServlet</servlet-class> 41</servlet> 42 43<servlet> 44 <servlet-name>show_green_release</servlet-name> 45 <servlet-class>com.android.vts.servlet.ShowGreenReleaseServlet</servlet-class> 46</servlet> 47 48<servlet> 49 <servlet-name>show_coverage_overview</servlet-name> 50 <servlet-class>com.android.vts.servlet.ShowCoverageOverviewServlet</servlet-class> 51</servlet> 52 53<servlet> 54 <servlet-name>show_tree</servlet-name> 55 <servlet-class>com.android.vts.servlet.ShowTreeServlet</servlet-class> 56</servlet> 57 58<servlet> 59 <servlet-name>show_table</servlet-name> 60 <servlet-class>com.android.vts.servlet.ShowTableServlet</servlet-class> 61</servlet> 62 63<servlet> 64 <servlet-name>show_graph</servlet-name> 65 <servlet-class>com.android.vts.servlet.ShowGraphServlet</servlet-class> 66</servlet> 67 68<servlet> 69 <servlet-name>show_profiling_list</servlet-name> 70 <servlet-class>com.android.vts.servlet.ShowProfilingListServlet</servlet-class> 71</servlet> 72 73<servlet> 74 <servlet-name>show_profiling_overview</servlet-name> 75 <servlet-class>com.android.vts.servlet.ShowProfilingOverviewServlet</servlet-class> 76</servlet> 77 78<servlet> 79 <servlet-name>show_plan_release</servlet-name> 80 <servlet-class>com.android.vts.servlet.ShowPlanReleaseServlet</servlet-class> 81</servlet> 82 83<servlet> 84 <servlet-name>show_plan_run</servlet-name> 85 <servlet-class>com.android.vts.servlet.ShowPlanRunServlet</servlet-class> 86</servlet> 87 88<servlet> 89 <servlet-name>show_performance_digest</servlet-name> 90 <servlet-class>com.android.vts.servlet.ShowPerformanceDigestServlet</servlet-class> 91</servlet> 92 93<servlet> 94 <servlet-name>show_coverage</servlet-name> 95 <servlet-class>com.android.vts.servlet.ShowCoverageServlet</servlet-class> 96</servlet> 97 98<servlet> 99 <servlet-name>show_test_acknowledgments</servlet-name> 100 <servlet-class>com.android.vts.servlet.ShowTestAcknowledgmentServlet</servlet-class> 101</servlet> 102 103<servlet> 104 <servlet-name>show_gcs_log</servlet-name> 105 <servlet-class>com.android.vts.servlet.ShowGcsLogServlet</servlet-class> 106</servlet> 107 108<servlet> 109 <servlet-name>test_data_api</servlet-name> 110 <servlet-class>com.android.vts.api.TestDataForDevServlet</servlet-class> 111</servlet> 112 113<servlet> 114 <servlet-name>datastore_api</servlet-name> 115 <servlet-class>com.android.vts.api.DatastoreRestServlet</servlet-class> 116</servlet> 117 118<servlet> 119 <servlet-name>data_api</servlet-name> 120 <servlet-class>com.android.vts.api.DataRestServlet</servlet-class> 121</servlet> 122 123<servlet> 124 <servlet-name>coverage_api</servlet-name> 125 <servlet-class>com.android.vts.api.CoverageRestServlet</servlet-class> 126</servlet> 127 128<servlet> 129 <servlet-name>test_run_api</servlet-name> 130 <servlet-class>com.android.vts.api.TestRunRestServlet</servlet-class> 131</servlet> 132 133<servlet> 134 <servlet-name>favorites_api</servlet-name> 135 <servlet-class>com.android.vts.api.UserFavoriteRestServlet</servlet-class> 136</servlet> 137 138<servlet> 139 <servlet-name>test_suite_api</servlet-name> 140 <servlet-class>com.android.vts.api.TestSuiteResultRestServlet</servlet-class> 141</servlet> 142 143<servlet> 144 <servlet-name>bigtable_legacy_api</servlet-name> 145 <servlet-class>com.android.vts.api.BigtableLegacyJsonServlet</servlet-class> 146</servlet> 147 148<servlet> 149 <servlet-name>test_acknowledgments</servlet-name> 150 <servlet-class>com.android.vts.api.TestAcknowledgmentRestServlet</servlet-class> 151</servlet> 152 153<servlet> 154 <servlet-name>vts_alert_job</servlet-name> 155 <servlet-class>com.android.vts.job.VtsAlertJobServlet</servlet-class> 156</servlet> 157 158<servlet> 159 <servlet-name>vts_performance_job</servlet-name> 160 <servlet-class>com.android.vts.job.VtsPerformanceJobServlet</servlet-class> 161</servlet> 162 163<servlet> 164 <servlet-name>vts_profiling_stats_job</servlet-name> 165 <servlet-class>com.android.vts.job.VtsProfilingStatsJobServlet</servlet-class> 166</servlet> 167 168<servlet> 169 <servlet-name>vts_coverage_job</servlet-name> 170 <servlet-class>com.android.vts.job.VtsCoverageAlertJobServlet</servlet-class> 171</servlet> 172 173<servlet> 174 <servlet-name>vts_inactivity_job</servlet-name> 175 <servlet-class>com.android.vts.job.VtsInactivityJobServlet</servlet-class> 176</servlet> 177 178<servlet> 179 <servlet-name>vts_spreadsheet_sync_job</servlet-name> 180 <servlet-class>com.android.vts.job.VtsSpreadSheetSyncServlet</servlet-class> 181</servlet> 182 183<servlet> 184 <servlet-name>suite_test_report_gcs_monitor_job</servlet-name> 185 <servlet-class>com.android.vts.job.VtsSuiteTestJobServlet</servlet-class> 186</servlet> 187 188<servlet-mapping> 189 <servlet-name>dashboard_main</servlet-name> 190 <url-pattern>/</url-pattern> 191</servlet-mapping> 192 193<servlet-mapping> 194 <servlet-name>show_release</servlet-name> 195 <url-pattern>/show_release/*</url-pattern> 196</servlet-mapping> 197 198<servlet-mapping> 199 <servlet-name>show_green_release</servlet-name> 200 <url-pattern>/show_green_release/*</url-pattern> 201</servlet-mapping> 202 203<servlet-mapping> 204 <servlet-name>show_coverage_overview</servlet-name> 205 <url-pattern>/show_coverage_overview/*</url-pattern> 206</servlet-mapping> 207 208<servlet-mapping> 209 <servlet-name>show_tree</servlet-name> 210 <url-pattern>/show_tree/*</url-pattern> 211</servlet-mapping> 212 213<servlet-mapping> 214 <servlet-name>show_table</servlet-name> 215 <url-pattern>/show_table/*</url-pattern> 216</servlet-mapping> 217 218<servlet-mapping> 219 <servlet-name>show_graph</servlet-name> 220 <url-pattern>/show_graph/*</url-pattern> 221</servlet-mapping> 222 223<servlet-mapping> 224 <servlet-name>show_profiling_list</servlet-name> 225 <url-pattern>/show_profiling_list/*</url-pattern> 226</servlet-mapping> 227 228<servlet-mapping> 229 <servlet-name>show_profiling_overview</servlet-name> 230 <url-pattern>/show_profiling_overview/*</url-pattern> 231</servlet-mapping> 232 233<servlet-mapping> 234 <servlet-name>show_plan_release</servlet-name> 235 <url-pattern>/show_plan_release/*</url-pattern> 236</servlet-mapping> 237 238<servlet-mapping> 239 <servlet-name>show_plan_run</servlet-name> 240 <url-pattern>/show_plan_run/*</url-pattern> 241</servlet-mapping> 242 243<servlet-mapping> 244 <servlet-name>show_performance_digest</servlet-name> 245 <url-pattern>/show_performance_digest/*</url-pattern> 246</servlet-mapping> 247 248<servlet-mapping> 249 <servlet-name>show_coverage</servlet-name> 250 <url-pattern>/show_coverage/*</url-pattern> 251</servlet-mapping> 252 253<servlet-mapping> 254 <servlet-name>show_test_acknowledgments</servlet-name> 255 <url-pattern>/show_test_acknowledgments/*</url-pattern> 256</servlet-mapping> 257 258<servlet-mapping> 259 <servlet-name>show_gcs_log</servlet-name> 260 <url-pattern>/show_gcs_log/*</url-pattern> 261</servlet-mapping> 262 263<servlet-mapping> 264 <servlet-name>bigtable_legacy_api</servlet-name> 265 <url-pattern>/api/bigtable/*</url-pattern> 266</servlet-mapping> 267 268<servlet-mapping> 269 <servlet-name>test_data_api</servlet-name> 270 <url-pattern>/api/test_data/*</url-pattern> 271</servlet-mapping> 272 273<servlet-mapping> 274 <servlet-name>datastore_api</servlet-name> 275 <url-pattern>/api/datastore/*</url-pattern> 276</servlet-mapping> 277 278<servlet-mapping> 279 <servlet-name>data_api</servlet-name> 280 <url-pattern>/api/data/*</url-pattern> 281</servlet-mapping> 282 283<servlet-mapping> 284 <servlet-name>coverage_api</servlet-name> 285 <url-pattern>/api/coverage/*</url-pattern> 286</servlet-mapping> 287 288<servlet-mapping> 289 <servlet-name>test_run_api</servlet-name> 290 <url-pattern>/api/test_run/*</url-pattern> 291</servlet-mapping> 292 293<servlet-mapping> 294 <servlet-name>favorites_api</servlet-name> 295 <url-pattern>/api/favorites/*</url-pattern> 296</servlet-mapping> 297 298<servlet-mapping> 299 <servlet-name>test_acknowledgments</servlet-name> 300 <url-pattern>/api/test_acknowledgments/*</url-pattern> 301</servlet-mapping> 302 303<servlet-mapping> 304 <servlet-name>test_suite_api</servlet-name> 305 <url-pattern>/api/test_suite/*</url-pattern> 306</servlet-mapping> 307 308<servlet-mapping> 309 <servlet-name>vts_alert_job</servlet-name> 310 <url-pattern>/task/vts_alert_job/*</url-pattern> 311</servlet-mapping> 312 313<servlet-mapping> 314 <servlet-name>vts_coverage_job</servlet-name> 315 <url-pattern>/task/vts_coverage_job/*</url-pattern> 316</servlet-mapping> 317 318<servlet-mapping> 319 <servlet-name>vts_profiling_stats_job</servlet-name> 320 <url-pattern>/task/vts_profiling_stats_job/*</url-pattern> 321</servlet-mapping> 322 323<servlet-mapping> 324 <servlet-name>vts_performance_job</servlet-name> 325 <url-pattern>/cron/vts_performance_job/*</url-pattern> 326</servlet-mapping> 327 328<servlet-mapping> 329 <servlet-name>vts_inactivity_job</servlet-name> 330 <url-pattern>/cron/vts_inactivity_job/*</url-pattern> 331</servlet-mapping> 332 333<servlet-mapping> 334 <servlet-name>vts_spreadsheet_sync_job</servlet-name> 335 <url-pattern>/cron/vts_spreadsheet_sync_job/*</url-pattern> 336</servlet-mapping> 337 338<servlet-mapping> 339 <servlet-name>suite_test_report_gcs_monitor_job</servlet-name> 340 <url-pattern>/cron/test_suite_report_gcs_monitor/*</url-pattern> 341</servlet-mapping> 342 343<security-constraint> 344 <web-resource-collection> 345 <web-resource-name>tasks</web-resource-name> 346 <url-pattern>/cron/*</url-pattern> 347 <url-pattern>/task/*</url-pattern> 348 </web-resource-collection> 349 <auth-constraint> 350 <role-name>admin</role-name> 351 </auth-constraint> 352</security-constraint> 353 354<security-constraint> 355 <web-resource-collection> 356 <web-resource-name>all</web-resource-name> 357 <url-pattern>/show_*</url-pattern> 358 </web-resource-collection> 359 <auth-constraint> 360 <role-name>*</role-name> 361 </auth-constraint> 362</security-constraint> 363</web-app> 364