Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/odtn/service/BUILD b/apps/odtn/service/BUILD
new file mode 100644
index 0000000..38f187e
--- /dev/null
+++ b/apps/odtn/service/BUILD
@@ -0,0 +1,40 @@
+COMPILE_DEPS = CORE_DEPS + ONOS_YANG + CLI + JACKSON + [
+    "//apps/odtn/api:onos-apps-odtn-api",
+    "//apps/config:onos-apps-config",
+    "//models/tapi:onos-models-tapi",
+    "//models/openconfig:onos-models-openconfig",
+    "//apps/yang:onos-apps-yang",
+    "//incubator/api:onos-incubator-api",
+    "//protocols/netconf/api:onos-protocols-netconf-api",
+]
+
+osgi_jar_with_tests(
+    test_deps = TEST_ADAPTERS,
+    deps = COMPILE_DEPS,
+)
+
+APPS = [
+    "org.onosproject.yang",
+    "org.onosproject.config",
+    "org.onosproject.configsync",
+    "org.onosproject.models.tapi",
+    "org.onosproject.models.openconfig",
+    "org.onosproject.odtn-api",
+
+    # strictly speaking following are not mandatory
+    "org.onosproject.restconf",
+    "org.onosproject.drivers.netconf",  # will need if using TemplateManager
+    "org.onosproject.drivers.odtn-driver",
+    "org.onosproject.netconf",
+    "org.onosproject.configsync-netconf",
+    "org.onosproject.protocols.restconfserver",
+]
+
+onos_app(
+    app_name = "org.onosproject.odtn-service",
+    category = "Traffic Engineering",
+    description = "ODTN Service Application",
+    required_apps = APPS,
+    title = "ODTN Service Application",
+    url = "http://onosproject.org",
+)