blob: 7aa98fcc34ebb19d964c396a9f08582c79320205 [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',
Thomas Vachuskac98aa2a2017-08-28 10:47:48 -070036 description = 'Exposes APIs to setup, manage and teardown gRPC Managed channels with devices. ' +
37 'Also offers channel observer registration and removal capabilities. ' +
38 'The exposed APis abstract low level channel operations.',
Carmelo Casconedda88d02017-07-19 22:42:01 -040039 included_bundles = BUNDLES,
40)