Refactor of CFM code part1 - NBI
Change-Id: I5f37a05cb3978ff3a6d3cba8802a462452cecf06
diff --git a/apps/cfm/nbi/BUCK b/apps/cfm/nbi/BUCK
new file mode 100644
index 0000000..9acd4a0
--- /dev/null
+++ b/apps/cfm/nbi/BUCK
@@ -0,0 +1,25 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//lib:javax.ws.rs-api',
+ '//utils/rest:onlab-rest',
+ '//lib:JACKSON',
+ '//cli:onos-cli',
+ '//lib:org.apache.karaf.shell.console',
+ '//incubator/api:onos-incubator-api'
+]
+
+TEST_DEPS = [
+ '//lib:TEST_REST',
+ '//utils/osgi:onlab-osgi-tests',
+ '//web/api:onos-rest-tests',
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+ web_context = '/onos/cfm',
+ api_title = 'L2 Monitoring CFM',
+ api_version = '1.0',
+ api_description = 'REST API for L2 Monitoring CFM',
+ api_package = 'org.onosproject.soam.rest',
+)