Appify buck build for openstack and VTN apps
Change-Id: I6cc23cd567954daaee59271123a07040853e695b
diff --git a/apps/openstackinterface/BUCK b/apps/openstackinterface/BUCK
index 05f3ee3..a7ccbd3 100644
--- a/apps/openstackinterface/BUCK
+++ b/apps/openstackinterface/BUCK
@@ -1,32 +1,12 @@
-SRC = 'src/main/java/org/onosproject/**/'
-TEST = 'src/test/java/org/onosproject/**/'
-
-COMPILE_DEPS = [
- '//lib:CORE_DEPS',
- '//lib:jersey-client',
- '//lib:javax.ws.rs-api',
-]
-
BUNDLES = [
- '//apps/openstackinterface:onos-apps-openstackinterface-api',
- # TODO - this doesn't actually work now, have to refactor the BUCK files into each sub directory
+ '//apps/openstackinterface/api:onos-apps-openstackinterface-api',
+ '//apps/openstackinterface/app:onos-apps-openstackinterface-app',
]
-osgi_jar_with_tests (
- name = 'onos-apps-openstackinterface-api',
- srcs = glob(['api/' + SRC + '*.java']),
- deps = COMPILE_DEPS,
- visibility = ['PUBLIC'],
-)
-
-osgi_jar_with_tests (
- deps = COMPILE_DEPS,
-)
-
onos_app (
- title = 'Authentication App',
- category = 'Security',
+ title = 'OpenStack Interface App',
+ category = 'Utility',
url = 'http://onosproject.org',
- description = 'ONOS authentication application.',
+ description = 'Openstack Interface Application.',
included_bundles = BUNDLES,
)