blob: e5e65e114d8d200127b59873c35b1dac94607f58 [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.
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
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)