Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # pylint: disable=W0612 | |
|
stgao
2016/06/13 22:56:12
nit: move this next to the unused variables.
caiw
2016/06/14 19:48:05
Done.
| |
| 6 from common.base_handler import BaseHandler | |
| 7 from common.base_handler import Permission | |
| 8 | |
| 9 | |
| 10 class CheckFlake(BaseHandler): | |
| 11 PERMISSION_LEVEL = Permission.CORP_USER | |
| 12 | |
| 13 def HandleGet(self): | |
| 14 | |
| 15 # Get input parameters. | |
| 16 master_name = self.request.get('master_name').strip() | |
| 17 builder_name = self.request.get('builder_name').strip() | |
| 18 build_number = int(self.request.get('build_number').strip()) | |
| 19 test_target_name = self.request.get('test_target_name').strip() | |
| 20 testcase_list = self.request.get('testcase_list').strip() | |
| 21 | |
| 22 # TODO(caiw): Get status of master_analysis from database. | |
| 23 | |
| 24 # TODO(caiw): If there is a completed master_analysis, return | |
| 25 # the template which displays it. | |
| 26 | |
| 27 # TODO(caiw): If the current master_analysis has an error, | |
| 28 # delete it. | |
| 29 | |
| 30 # TODO(caiw): If there is no master_analysis, create one. | |
| 31 | |
| 32 # TODO(caiw): Trigger pipeline. | |
| 33 | |
| 34 # TODO(caiw): Return the appropriate template based on the case. | |
| OLD | NEW |