Refactor: split api from SONA simple fabric
Change-Id: Icbdb10b730af29057097b14df8ddc377f4107853
diff --git a/apps/simplefabric/BUCK b/apps/simplefabric/BUCK
index 177b953..e181a98 100644
--- a/apps/simplefabric/BUCK
+++ b/apps/simplefabric/BUCK
@@ -1,32 +1,13 @@
-COMPILE_DEPS = [
- '//lib:CORE_DEPS',
- '//lib:JACKSON',
- '//lib:concurrent-trees',
- '//lib:javax.ws.rs-api',
- '//lib:org.apache.karaf.shell.console',
- '//cli:onos-cli',
- '//utils/rest:onlab-rest',
-]
-
BUNDLES = [
- '//apps/simplefabric:onos-apps-simplefabric',
+ '//apps/simplefabric/api:onos-apps-simplefabric-api',
+ '//apps/simplefabric/app:onos-apps-simplefabric-app',
]
-TEST_DEPS = [
- '//lib:TEST_ADAPTERS',
-]
-
-osgi_jar_with_tests (
- deps = COMPILE_DEPS,
- test_deps = TEST_DEPS,
- web_context = '/onos/v1/simplefabric',
-)
-
onos_app (
- title = 'SimpleFabric',
- category = 'Traffic Engineering',
- url = 'http://onosproject.org',
- included_bundles = BUNDLES,
- description = 'Simple Fabric application',
- required_apps = [ 'org.onosproject.openflow-base', 'org.onosproject.lldpprovider', 'org.onosproject.hostprovider' ],
-)
+ title = 'SONA SimpleFabric',
+ category = 'Traffic Engineering',
+ url = 'http://onosproject.org',
+ included_bundles = BUNDLES,
+ description = 'SONA Simple Fabric Application',
+ required_apps = [ 'org.onosproject.openflow-base', 'org.onosproject.lldpprovider', 'org.onosproject.hostprovider' ],
+)
\ No newline at end of file