Andrea Campanella | 8bcd586 | 2017-12-11 11:34:45 +0100 | [diff] [blame] | 1 | PROTOBUF_VER = '3.2.0' |
Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame] | 2 | GRPC_VER = '1.3.1' |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 3 | |
| 4 | BUNDLES = [ |
| 5 | '//protocols/grpc/proto:onos-protocols-grpc-proto', |
| 6 | '//protocols/grpc/api:onos-protocols-grpc-api', |
| 7 | '//protocols/grpc/ctl:onos-protocols-grpc-ctl', |
| 8 | # gRPC dependencies |
Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame] | 9 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 10 | '//lib:grpc-protobuf-' + GRPC_VER, |
| 11 | '//lib:grpc-protobuf-lite-' + GRPC_VER, |
| 12 | '//lib:grpc-stub-' + GRPC_VER, |
| 13 | '//lib:grpc-netty-' + GRPC_VER, |
| 14 | '//lib:grpc-auth-' + GRPC_VER, |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 15 | '//lib:google-instrumentation-0.3.0', |
Andrea Campanella | 8bcd586 | 2017-12-11 11:34:45 +0100 | [diff] [blame] | 16 | '//lib:protobuf-java-3.2.0', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 17 | # Lazily adding all netty-related packages. |
| 18 | # Some of them might not be necessary. |
| 19 | '//lib:netty', |
| 20 | '//lib:netty-buffer', |
| 21 | '//lib:netty-codec', |
| 22 | '//lib:netty-codec-http', |
| 23 | '//lib:netty-codec-http2', |
| 24 | '//lib:netty-common', |
| 25 | '//lib:netty-handler', |
| 26 | '//lib:netty-transport', |
| 27 | '//lib:netty-transport-native-epoll', |
| 28 | '//lib:netty-resolver', |
| 29 | ] |
| 30 | |
| 31 | onos_app ( |
| 32 | app_name = 'org.onosproject.protocols.grpc', |
| 33 | title = 'gRPC Protocol Subsystem', |
Thomas Vachuska | 1251e63 | 2017-07-31 15:03:40 -0700 | [diff] [blame] | 34 | category = 'Protocol', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 35 | url = 'http://onosproject.org', |
Carmelo Cascone | 47a853b | 2018-01-05 02:40:58 +0100 | [diff] [blame^] | 36 | description = 'Exposes APIs to store and manage gRPC channels.', |
Carmelo Cascone | dda88d0 | 2017-07-19 22:42:01 -0400 | [diff] [blame] | 37 | included_bundles = BUNDLES, |
Carmelo Cascone | 47a853b | 2018-01-05 02:40:58 +0100 | [diff] [blame^] | 38 | ) |