1 <web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"> 2 <!-- 3 Copyright 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 <servlet> 19 <servlet-name>dashboard_main</servlet-name> 20 <servlet-class>com.android.vts.servlet.DashboardMainServlet</servlet-class> 21 </servlet> 22 23 <servlet> 24 <servlet-name>show_release</servlet-name> 25 <servlet-class>com.android.vts.servlet.ShowReleaseServlet</servlet-class> 26 </servlet> 27 28 <servlet> 29 <servlet-name>show_green_release</servlet-name> 30 <servlet-class>com.android.vts.servlet.ShowGreenReleaseServlet</servlet-class> 31 </servlet> 32 33 <servlet> 34 <servlet-name>show_coverage_overview</servlet-name> 35 <servlet-class>com.android.vts.servlet.ShowCoverageOverviewServlet</servlet-class> 36 </servlet> 37 38 <servlet> 39 <servlet-name>show_tree</servlet-name> 40 <servlet-class>com.android.vts.servlet.ShowTreeServlet</servlet-class> 41 </servlet> 42 43 <servlet> 44 <servlet-name>show_table</servlet-name> 45 <servlet-class>com.android.vts.servlet.ShowTableServlet</servlet-class> 46 </servlet> 47 48 <servlet> 49 <servlet-name>show_graph</servlet-name> 50 <servlet-class>com.android.vts.servlet.ShowGraphServlet</servlet-class> 51 </servlet> 52 53 <servlet> 54 <servlet-name>show_profiling_list</servlet-name> 55 <servlet-class>com.android.vts.servlet.ShowProfilingListServlet</servlet-class> 56 </servlet> 57 58 <servlet> 59 <servlet-name>show_profiling_overview</servlet-name> 60 <servlet-class>com.android.vts.servlet.ShowProfilingOverviewServlet</servlet-class> 61 </servlet> 62 63 <servlet> 64 <servlet-name>show_plan_release</servlet-name> 65 <servlet-class>com.android.vts.servlet.ShowPlanReleaseServlet</servlet-class> 66 </servlet> 67 68 <servlet> 69 <servlet-name>show_plan_run</servlet-name> 70 <servlet-class>com.android.vts.servlet.ShowPlanRunServlet</servlet-class> 71 </servlet> 72 73 <servlet> 74 <servlet-name>show_performance_digest</servlet-name> 75 <servlet-class>com.android.vts.servlet.ShowPerformanceDigestServlet</servlet-class> 76 </servlet> 77 78 <servlet> 79 <servlet-name>show_coverage</servlet-name> 80 <servlet-class>com.android.vts.servlet.ShowCoverageServlet</servlet-class> 81 </servlet> 82 83 <servlet> 84 <servlet-name>show_test_acknowledgments</servlet-name> 85 <servlet-class>com.android.vts.servlet.ShowTestAcknowledgmentServlet</servlet-class> 86 </servlet> 87 88 <servlet> 89 <servlet-name>show_gcs_log</servlet-name> 90 <servlet-class>com.android.vts.servlet.ShowGcsLogServlet</servlet-class> 91 </servlet> 92 93 <servlet> 94 <servlet-name>test_data</servlet-name> 95 <servlet-class>com.android.vts.api.TestDataForDevServlet</servlet-class> 96 </servlet> 97 98 <servlet> 99 <servlet-name>datastore</servlet-name> 100 <servlet-class>com.android.vts.api.DatastoreRestServlet</servlet-class> 101 </servlet> 102 103 <servlet> 104 <servlet-name>test_run</servlet-name> 105 <servlet-class>com.android.vts.api.TestRunRestServlet</servlet-class> 106 </servlet> 107 108 <servlet> 109 <servlet-name>favorites</servlet-name> 110 <servlet-class>com.android.vts.api.UserFavoriteRestServlet</servlet-class> 111 </servlet> 112 113 <servlet> 114 <servlet-name>bigtable_legacy</servlet-name> 115 <servlet-class>com.android.vts.api.BigtableLegacyJsonServlet</servlet-class> 116 </servlet> 117 118 <servlet> 119 <servlet-name>test_acknowledgments</servlet-name> 120 <servlet-class>com.android.vts.api.TestAcknowledgmentRestServlet</servlet-class> 121 </servlet> 122 123 <servlet> 124 <servlet-name>vts_alert_job</servlet-name> 125 <servlet-class>com.android.vts.job.VtsAlertJobServlet</servlet-class> 126 </servlet> 127 128 <servlet> 129 <servlet-name>vts_performance_job</servlet-name> 130 <servlet-class>com.android.vts.job.VtsPerformanceJobServlet</servlet-class> 131 </servlet> 132 133 <servlet> 134 <servlet-name>vts_profiling_stats_job</servlet-name> 135 <servlet-class>com.android.vts.job.VtsProfilingStatsJobServlet</servlet-class> 136 </servlet> 137 138 <servlet> 139 <servlet-name>vts_coverage_job</servlet-name> 140 <servlet-class>com.android.vts.job.VtsCoverageAlertJobServlet</servlet-class> 141 </servlet> 142 143 <servlet> 144 <servlet-name>vts_inactivity_job</servlet-name> 145 <servlet-class>com.android.vts.job.VtsInactivityJobServlet</servlet-class> 146 </servlet> 147 148 <servlet-mapping> 149 <servlet-name>dashboard_main</servlet-name> 150 <url-pattern>/</url-pattern> 151 </servlet-mapping> 152 153 <servlet-mapping> 154 <servlet-name>show_release</servlet-name> 155 <url-pattern>/show_release/*</url-pattern> 156 </servlet-mapping> 157 158 <servlet-mapping> 159 <servlet-name>show_green_release</servlet-name> 160 <url-pattern>/show_green_release/*</url-pattern> 161 </servlet-mapping> 162 163 <servlet-mapping> 164 <servlet-name>show_coverage_overview</servlet-name> 165 <url-pattern>/show_coverage_overview/*</url-pattern> 166 </servlet-mapping> 167 168 <servlet-mapping> 169 <servlet-name>show_tree</servlet-name> 170 <url-pattern>/show_tree/*</url-pattern> 171 </servlet-mapping> 172 173 <servlet-mapping> 174 <servlet-name>show_table</servlet-name> 175 <url-pattern>/show_table/*</url-pattern> 176 </servlet-mapping> 177 178 <servlet-mapping> 179 <servlet-name>show_graph</servlet-name> 180 <url-pattern>/show_graph/*</url-pattern> 181 </servlet-mapping> 182 183 <servlet-mapping> 184 <servlet-name>show_profiling_list</servlet-name> 185 <url-pattern>/show_profiling_list/*</url-pattern> 186 </servlet-mapping> 187 188 <servlet-mapping> 189 <servlet-name>show_profiling_overview</servlet-name> 190 <url-pattern>/show_profiling_overview/*</url-pattern> 191 </servlet-mapping> 192 193 <servlet-mapping> 194 <servlet-name>show_plan_release</servlet-name> 195 <url-pattern>/show_plan_release/*</url-pattern> 196 </servlet-mapping> 197 198 <servlet-mapping> 199 <servlet-name>show_plan_run</servlet-name> 200 <url-pattern>/show_plan_run/*</url-pattern> 201 </servlet-mapping> 202 203 <servlet-mapping> 204 <servlet-name>show_performance_digest</servlet-name> 205 <url-pattern>/show_performance_digest/*</url-pattern> 206 </servlet-mapping> 207 208 <servlet-mapping> 209 <servlet-name>show_coverage</servlet-name> 210 <url-pattern>/show_coverage/*</url-pattern> 211 </servlet-mapping> 212 213 <servlet-mapping> 214 <servlet-name>show_test_acknowledgments</servlet-name> 215 <url-pattern>/show_test_acknowledgments/*</url-pattern> 216 </servlet-mapping> 217 218 <servlet-mapping> 219 <servlet-name>show_gcs_log</servlet-name> 220 <url-pattern>/show_gcs_log/*</url-pattern> 221 </servlet-mapping> 222 223 <servlet-mapping> 224 <servlet-name>bigtable_legacy</servlet-name> 225 <url-pattern>/api/bigtable/*</url-pattern> 226 </servlet-mapping> 227 228 <servlet-mapping> 229 <servlet-name>test_data</servlet-name> 230 <url-pattern>/api/test_data/*</url-pattern> 231 </servlet-mapping> 232 233 <servlet-mapping> 234 <servlet-name>datastore</servlet-name> 235 <url-pattern>/api/datastore/*</url-pattern> 236 </servlet-mapping> 237 238 <servlet-mapping> 239 <servlet-name>test_run</servlet-name> 240 <url-pattern>/api/test_run/*</url-pattern> 241 </servlet-mapping> 242 243 <servlet-mapping> 244 <servlet-name>favorites</servlet-name> 245 <url-pattern>/api/favorites/*</url-pattern> 246 </servlet-mapping> 247 248 <servlet-mapping> 249 <servlet-name>test_acknowledgments</servlet-name> 250 <url-pattern>/api/test_acknowledgments/*</url-pattern> 251 </servlet-mapping> 252 253 <servlet-mapping> 254 <servlet-name>vts_alert_job</servlet-name> 255 <url-pattern>/task/vts_alert_job/*</url-pattern> 256 </servlet-mapping> 257 258 <servlet-mapping> 259 <servlet-name>vts_coverage_job</servlet-name> 260 <url-pattern>/task/vts_coverage_job/*</url-pattern> 261 </servlet-mapping> 262 263 <servlet-mapping> 264 <servlet-name>vts_profiling_stats_job</servlet-name> 265 <url-pattern>/task/vts_profiling_stats_job/*</url-pattern> 266 </servlet-mapping> 267 268 <servlet-mapping> 269 <servlet-name>vts_performance_job</servlet-name> 270 <url-pattern>/cron/vts_performance_job/*</url-pattern> 271 </servlet-mapping> 272 273 <servlet-mapping> 274 <servlet-name>vts_inactivity_job</servlet-name> 275 <url-pattern>/cron/vts_inactivity_job/*</url-pattern> 276 </servlet-mapping> 277 278 <security-constraint> 279 <web-resource-collection> 280 <web-resource-name>tasks</web-resource-name> 281 <url-pattern>/cron/*</url-pattern> 282 <url-pattern>/task/*</url-pattern> 283 </web-resource-collection> 284 <auth-constraint> 285 <role-name>admin</role-name> 286 </auth-constraint> 287 </security-constraint> 288 289 <security-constraint> 290 <web-resource-collection> 291 <web-resource-name>all</web-resource-name> 292 <url-pattern>/show_*</url-pattern> 293 </web-resource-collection> 294 <auth-constraint> 295 <role-name>*</role-name> 296 </auth-constraint> 297 </security-constraint> 298 </web-app> 299