Skip to content

Commit 9d424c8

Browse files
committed
Add docs for bblfsh proxy
Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
1 parent 650fcdd commit 9d424c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ An analyzer is a [gRPC](https://grpc.io/) server that implements the [Analyzer s
44

55
At the same time, an analyzer acts as a gRPC client to access the [Data Server](https://github.com/src-d/lookout-sdk/blob/master/proto/service_data.proto) exposed by the lookout server. This endpoint will provide the necessary source code and [Babelfish Universal Abstract Syntax Trees (UAST)](https://doc.bblf.sh/uast/uast-specification.html). See `LOOKOUT_DATA_SERVER` environment variable below for more details.
66

7+
If your analyzer needs to access the Babelfish API you can point your [Babelfish client](https://docs.sourced.tech/babelfish/using-babelfish/clients) to the same Data Server address (defined by `LOOKOUT_DATA_SERVER`). The lookout server will proxy these gRPC requests to Babelfish.
8+
79
All the needed `.proto` files are located in the [/sdk directory](https://github.com/src-d/lookout-sdk/tree/master/proto).
810

911
## Code generation

0 commit comments

Comments
 (0)