v5 initial commit
diff --git a/apps/xran/BUCK b/apps/xran/BUCK
new file mode 100644
index 0000000..0c41439
--- /dev/null
+++ b/apps/xran/BUCK
@@ -0,0 +1,60 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//lib:COMPILE',
+ '//lib:netty-handler',
+ '//lib:javax.ws.rs-api',
+ '//lib:org.apache.karaf.shell.console',
+ '//lib:netty-buffer',
+ '//utils/rest:onlab-rest',
+ '//core/store/serializers:onos-core-serializers',
+ '//cli:onos-cli',
+ '//lib:netty-transport',
+ '//core/common:onos-core-common',
+ ':netty-transport-sctp',
+ '//lib:swagger-annotations',
+ '//lib:JACKSON',
+ '//lib:NETTY'
+]
+
+BUNDLES = [
+ '//apps/xran:onos-apps-xran',
+]
+
+TEST_DEPS = [
+ '//lib:TEST',
+ '//lib:TEST_ADAPTERS',
+]
+
+EXCLUDED_BUNDLES = [
+ ':netty-transport-sctp',
+ '//lib:swagger-annotations'
+]
+
+osgi_jar_with_tests (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+ web_context = '/onos/xran',
+ api_title = 'XRAN REST API',
+ api_package = 'org.onosproject.xran.impl.rest',
+ api_version = '1.0',
+ api_description = 'XRAN REST API',
+)
+
+onos_app (
+ app_name = 'org.onosproject.xran',
+ title = 'XRAN REST API',
+ category = 'Utilities',
+ url = 'http://onosproject.org',
+ description = 'XRAN REST API.',
+ included_bundles = BUNDLES,
+ excluded_bundles = EXCLUDED_BUNDLES,
+)
+
+remote_jar (
+ name = 'netty-transport-sctp',
+ out = 'netty-transport-sctp-4.1.13.Final.jar',
+ url = 'mvn:io.netty:netty-transport-sctp:jar:4.1.13.Final',
+ sha1 = '41e4ab1dc14cae445f93cef6421ce08f82804c1d',
+ maven_coords = 'io.netty:netty-transport-sctp:4.1.13.Final',
+ visibility = [ 'PUBLIC' ],
+)