Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 1 | |
| 2 | BUNDLES = [ |
| 3 | "//protocols/grpc/proto:dummy_java_grpc", |
| 4 | "//protocols/grpc/proto:dummy_java_proto", |
| 5 | "//protocols/grpc/api:onos-protocols-grpc-api", |
| 6 | "//protocols/grpc/ctl:onos-protocols-grpc-ctl", |
| 7 | # gRPC dependencies |
Thomas Vachuska | 727abd3 | 2018-08-09 16:18:11 -0700 | [diff] [blame] | 8 | "@runtime_grpc_core//jar", |
| 9 | "@runtime_grpc_stub//jar", |
| 10 | "@runtime_grpc_netty//jar", |
| 11 | "@runtime_grpc_auth//jar", |
| 12 | "@runtime_grpc_protobuf//jar", |
| 13 | "@runtime_grpc_protobuf_lite//jar", |
| 14 | "@runtime_protobuf//jar", |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 15 | # Lazily adding all netty-related packages. |
| 16 | # Some of them might not be necessary. |
| 17 | "@io_netty_netty//jar", |
| 18 | "@io_netty_netty_buffer//jar", |
| 19 | "@io_netty_netty_codec//jar", |
| 20 | "@io_netty_netty_codec_http//jar", |
| 21 | "@io_netty_netty_codec_http2//jar", |
| 22 | "@io_netty_netty_common//jar", |
| 23 | "@io_netty_netty_handler//jar", |
| 24 | "@io_netty_netty_transport//jar", |
| 25 | "@io_netty_netty_transport_native_epoll//jar", |
| 26 | "@io_netty_netty_resolver//jar", |
| 27 | ] |
| 28 | |
| 29 | onos_app ( |
| 30 | app_name = "org.onosproject.protocols.grpc", |
| 31 | title = "RPC Protocol Subsystem", |
| 32 | category = "rotocol", |
| 33 | url = "ttp://onosproject.org", |
| 34 | description = "Exposes APIs to operate with gRPC channels", |
| 35 | included_bundles = BUNDLES, |
| 36 | ) |