blob: fb9e3afaa59de471ddd2c762a89fa5eaa7fce673 [file] [log] [blame]
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
dispatch:
# Serve rpcexplorer from go service. Most prpc calls are still served from
# python (exceptions below). default-go service lives here:
# https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/appengine/frontend
- url: "*/rpcexplorer/*"
service: default-go
# New services are written in Go, so serve the discovery services from there.
- url: "*/prpc/discovery.Discovery/*"
service: default-go
# Builders service is implemened in Go, so serve it from there.
- url: "*/prpc/buildbucket.v2.Builders/*"
service: default-go
# GetBuild is implemented in Go, so serve it from there.
- url: "*/prpc/buildbucket.v2.Builds/GetBuild"
service: default-go
# SearchBuild is implemented in Go, so serve it from there.
- url: "*/prpc/buildbucket.v2.Builds/SearchBuilds"
service: default-go
# Batch is implemented in Go, so serve it from there.
- url: "*/prpc/buildbucket.v2.Builds/Batch"
service: default-go
# This endpoint only exists in luci-go.
- url: "*/auth/api/v1/server/client_id"
service: default-go
# UpdateBuild is implemented in Go, so serve it from there.
- url: "*/prpc/buildbucket.v2.Builds/UpdateBuild"
service: default-go
# CancelBuild is implemented in Go, so serve it from there.
- url: "*/prpc/buildbucket.v2.Builds/CancelBuild"
service: default-go
# ScheduleBuild is implemented in Go, so serve it from there.
- url: "*/prpc/buildbucket.v2.Builds/ScheduleBuild"
service: default-go
# Only serve it on default service.
- url: "*/build/*"
service: default