Initiate packetization of Testing reporting
[releng.git] / utils / test / reporting / api / urls.py
1 ##############################################################################
2 # Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 from api.handlers import landing
10 from api.handlers import projects
11 from api.handlers import testcases
12
13 mappings = [
14     (r"/landing-page/filters", landing.FiltersHandler),
15     (r"/landing-page/scenarios", landing.ScenariosHandler),
16
17     (r"/projects-page/projects", projects.Projects),
18     (r"/projects/([^/]+)/cases", testcases.TestCases),
19     (r"/projects/([^/]+)/cases/([^/]+)", testcases.TestCase)
20 ]