summaryrefslogtreecommitdiffstats
path: root/legacy/api/router/mapper.py.orig
blob: 1acb40b535dd9216719c16d7774ed7d50960cba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<<<<<<< HEAD
from legacy.api.handler.job_handler import Job, JobList
=======
##############################################################################
# Copyright (c) 2017 ZTE Corporation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
from legacy.api.handler import Job, JobList
>>>>>>> 615b529... Add licence header according to OPNFV contribution guidelines[1] by script[2]


mappers = [
    (JobList, '/api/v1.0/jobs'),
    (Job, '/api/v1.0/jobs/<string:id>'),
]