Initiate grpc northbound services during ONOS startup
Change-Id: I97839a6f23281c2128dcdbfe98eb5981a07bf482
diff --git a/incubator/protobuf/services/nb/BUCK b/incubator/protobuf/services/nb/BUCK
index 1ce40c2..1d3c697 100644
--- a/incubator/protobuf/services/nb/BUCK
+++ b/incubator/protobuf/services/nb/BUCK
@@ -56,4 +56,14 @@
osgi_jar_with_tests(
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
+)
+
+onos_app (
+ title = 'Grpc Northbound Service',
+ app_name = "org.onosproject.grpc.nb.service",
+ category = 'TODO',
+ url = 'http://onosproject.org',
+ included_bundles = ['//incubator/grpc-dependencies:grpc-core-repkg-1.3.0',
+ '//lib:google-instrumentation-0.3.0'],
+ description = 'gRPC northbound services used to provide fine-grained access to ONOS native northbound interface from off-platform applications',
)
\ No newline at end of file
diff --git a/modules.defs b/modules.defs
index e917053..345f4f9 100644
--- a/modules.defs
+++ b/modules.defs
@@ -218,6 +218,7 @@
'//apps/route-service:onos-apps-route-service-oar',
'//apps/evpn-route-service:onos-apps-evpn-route-service-oar',
'//incubator/protobuf/registry:onos-incubator-protobuf-registry-oar',
+ '//incubator/protobuf/services/nb:onos-incubator-protobuf-services-nb-oar',
'//apps/openstacknetworkingui:onos-apps-openstacknetworkingui-oar',
'//apps/p4-tutorial/pipeconf:onos-apps-p4-tutorial-pipeconf-oar',
'//apps/p4-tutorial/icmpdropper:onos-apps-p4-tutorial-icmpdropper-oar',