blob: 093ea7d2ae64cda28bad32375f106f545ace8a2a [file] [log] [blame]
Andrea Campanella8bcd5862017-12-11 11:34:45 +01001PROTOBUF_VER = '3.2.0'
Carmelo Casconeb1936bd2017-12-12 14:42:27 -08002GRPC_VER = '1.3.1'
Carmelo Casconedda88d02017-07-19 22:42:01 -04003
4BUNDLES = [
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 Casconeb1936bd2017-12-12 14:42:27 -08009 '//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 Casconedda88d02017-07-19 22:42:01 -040015 '//lib:google-instrumentation-0.3.0',
Andrea Campanella8bcd5862017-12-11 11:34:45 +010016 '//lib:protobuf-java-3.2.0',
Carmelo Casconedda88d02017-07-19 22:42:01 -040017 # Lazily adding all netty-related packages.
18 # Some of them might not be necessary.
Carmelo Cascone72893b72018-08-09 00:59:06 -070019 '//lib:io_netty_netty',
20 '//lib:io_netty_netty_buffer',
21 '//lib:io_netty_netty_codec',
22 '//lib:io_netty_netty_codec-http',
23 '//lib:io_netty_netty_codec-http2',
24 '//lib:io_netty_netty_common',
25 '//lib:io_netty_netty_handler',
26 '//lib:io_netty_netty_transport',
27 '//lib:io_netty_netty_transport-native-epoll',
28 '//lib:io_netty_netty_resolver',
Carmelo Casconedda88d02017-07-19 22:42:01 -040029]
30
31onos_app (
32 app_name = 'org.onosproject.protocols.grpc',
33 title = 'gRPC Protocol Subsystem',
Thomas Vachuska1251e632017-07-31 15:03:40 -070034 category = 'Protocol',
Carmelo Casconedda88d02017-07-19 22:42:01 -040035 url = 'http://onosproject.org',
Carmelo Cascone47a853b2018-01-05 02:40:58 +010036 description = 'Exposes APIs to store and manage gRPC channels.',
Carmelo Casconedda88d02017-07-19 22:42:01 -040037 included_bundles = BUNDLES,
Carmelo Cascone47a853b2018-01-05 02:40:58 +010038)