3 final class DrydockLogListController
extends DrydockLogController
{
5 public function shouldAllowPublic() {
9 public function handleRequest(AphrontRequest
$request) {
10 $viewer = $request->getViewer();
11 $engine = new DrydockLogSearchEngine();
13 $id = $request->getURIData('id');
14 $type = $request->getURIData('type');
17 $blueprint = id(new DrydockBlueprintQuery())
22 return new Aphront404Response();
24 $engine->setBlueprint($blueprint);
25 $this->setBlueprint($blueprint);
28 $resource = id(new DrydockResourceQuery())
33 return new Aphront404Response();
35 $engine->setResource($resource);
36 $this->setResource($resource);
39 $lease = id(new DrydockLeaseQuery())
44 return new Aphront404Response();
46 $engine->setLease($lease);
47 $this->setLease($lease);
50 $operation = id(new DrydockRepositoryOperationQuery())
55 return new Aphront404Response();
57 $engine->setOperation($operation);
58 $this->setOperation($operation);
61 return new Aphront404Response();
64 $query_key = $request->getURIData('queryKey');
66 $controller = id(new PhabricatorApplicationSearchController())
67 ->setQueryKey($query_key)
68 ->setSearchEngine($engine)
69 ->setNavigation($this->buildSideNavView());
71 return $this->delegateToController($controller);