aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/api/router/mapper.py.orig
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:22:44 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:25:33 +0800
commit3e443dff14a2be02b914e66f27b549d0ed4cc600 (patch)
tree704edf5368e322ca0c723425714ef4ddbf562d1c /legacy/api/router/mapper.py.orig
parent642ccf1b4f905d779b33b224ace16c3c0abf25a1 (diff)
Add licence header according to OPNFV contribution guidelines[1] by script[2]
[1]: https://wiki.opnfv.org/display/DEV/Contribution+Guidelines [2]: https://github.com/Justin-chi/Lab/blob/master/add_license.sh Change-Id: I5b77394a104857bb4ee9addbe973ed239b7a59f3 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'legacy/api/router/mapper.py.orig')
-rw-r--r--legacy/api/router/mapper.py.orig19
1 files changed, 19 insertions, 0 deletions
diff --git a/legacy/api/router/mapper.py.orig b/legacy/api/router/mapper.py.orig
new file mode 100644
index 00000000..1acb40b5
--- /dev/null
+++ b/legacy/api/router/mapper.py.orig
@@ -0,0 +1,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>'),
+]