Additional bazel build files for apps
Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/apps/optical-rest/BUILD b/apps/optical-rest/BUILD
new file mode 100644
index 0000000..bcbdc33
--- /dev/null
+++ b/apps/optical-rest/BUILD
@@ -0,0 +1,24 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + REST + CLI + [
+ "//apps/optical-model:onos-apps-optical-model",
+]
+
+APPS = [
+ "org.onosproject.optical-model",
+]
+
+osgi_jar_with_tests(
+ api_description = "REST API for Optical Model",
+ api_package = "org.onosproject.net.optical.rest",
+ api_title = "Optical Network Model REST API",
+ api_version = "1.0",
+ web_context = "/onos/optical",
+ deps = COMPILE_DEPS,
+)
+
+onos_app(
+ category = "Optical",
+ description = "This application provides REST support for optical network model.",
+ required_apps = APPS,
+ title = "Optical Network Model REST API",
+ url = "http://onosproject.org",
+)