Ray Milkey
Committed by Brian O'Connor

Refactor protocol BUCK files to use more modern rules and format

Change-Id: I9262fdeef12cfd098afefc711d995ffc76b9efb1
......@@ -23,26 +23,27 @@ CORE = [
'//protocols/rest/api:onos-protocols-rest-api',
'//protocols/rest/ctl:onos-protocols-rest-ctl',
'//protocols/bgp/bgpio:onos-bgpio',
'//protocols/bgp/api:onos-bgp-api',
'//protocols/bgp/ctl:onos-bgp-ctl',
'//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
'//protocols/bgp/api:onos-protocols-bgp-api',
'//protocols/bgp/ctl:onos-protocols-bgp-ctl',
'//protocols/netconf/api:onos-protocols-netconf-api',
'//protocols/netconf/ctl:onos-protocols-netconf-ctl',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/ctl:onos-of-ctl',
'//protocols/ospf/api:onos-ospf-api',
'//protocols/ospf/protocol:onos-ospf-protocol',
'//protocols/ospf/ctl:onos-ospf-ctl',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/ctl:onos-ovsdb-ctl',
'//protocols/pcep/pcepio:onos-pcep-pcepio',
'//protocols/pcep/api:onos-pcep-controller-api',
'//protocols/pcep/ctl:onos-pcep-ctl',
'//protocols/snmp/api:onos-snmp-api',
'//protocols/snmp/ctl:onos-snmp-ctl',
'//protocols/isis:onos-isis-api',
'//protocols/isis:onos-isis-isisio',
'//protocols/openflow/api:onos-protocols-openflow-api',
'//protocols/openflow/ctl:onos-protocols-openflow-ctl',
'//protocols/ospf/api:onos-protocols-ospf-api',
'//protocols/ospf/protocol:onos-protocols-ospf-protocol',
'//protocols/ospf/ctl:onos-protocols-ospf-ctl',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/ctl:onos-protocols-ovsdb-ctl',
'//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
'//protocols/pcep/api:onos-protocols-pcep-api',
'//protocols/pcep/ctl:onos-protocols-pcep-ctl',
'//protocols/snmp/api:onos-protocols-snmp-api',
'//protocols/snmp/ctl:onos-protocols-snmp-ctl',
'//protocols/isis/api:onos-protocols-isis-api',
'//protocols/isis/ctl:onos-protocols-isis-ctl',
'//protocols/isis/isisio:onos-protocols-isis-isisio',
'//drivers/utilities:onos-drivers-utilities',
'//drivers/bti:onos-drivers-bti-oar',
......@@ -64,6 +65,8 @@ CORE = [
'//providers/ovsdb/tunnel:onos-ovsdb-provider-tunnel',
'//providers/rest/device:onos-providers-rest-device',
'//providers/snmp/device:onos-providers-snmp-device',
'//providers/isis/cfg:onos-providers-isis-cfg',
'//providers/isis/device:onos-providers-isis-device',
'//web/api:onos-rest',
'//web/gui:onos-gui',
......@@ -83,6 +86,7 @@ APPS = [
'//providers/null:onos-providers-null-oar',
'//providers/openflow/base:onos-providers-openflow-base-oar',
'//providers/rest:onos-providers-rest-oar',
'//providers/isis:onos-providers-isis-oar',
# Apps
'//apps/dhcp:onos-apps-dhcp-oar',
......
......@@ -15,8 +15,8 @@ COMPILE_DEPS = [
'//apps/openstackinterface/api:onos-apps-openstackinterface-api',
'//apps/dhcp/api:onos-apps-dhcp-api',
'//apps/xosclient:onos-apps-xosclient',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
]
BUNDLES = [
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//core/store/serializers:onos-core-serializers',
]
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
]
osgi_jar_with_tests (
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/snmp/api:onos-snmp-api',
'//protocols/snmp/api:onos-protocols-snmp-api',
'//incubator/api:onos-incubator-api',
'//lib:org.apache.servicemix.bundles.snmp4j',
'//lib:snmp-core',
......
......@@ -2,7 +2,7 @@ COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//drivers/utilities:onos-drivers-utilities',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/api:onos-protocols-openflow-api',
'//core/store/serializers:onos-core-serializers',
]
......@@ -13,6 +13,7 @@ osgi_jar_with_tests (
)
onos_app (
app_name = 'org.onosproject.drivers',
title = 'Default device drivers',
category = 'Drivers',
url = 'http://onosproject.org',
......
......@@ -2,7 +2,7 @@ COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:org.apache.servicemix.bundles.snmp4j',
'//drivers/utilities:onos-drivers-utilities',
'//protocols/snmp/api:onos-snmp-api',
'//protocols/snmp/api:onos-protocols-snmp-api',
'//incubator/api:onos-incubator-api',
]
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//drivers/utilities:onos-drivers-utilities',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
]
TEST_DEPS = [
'//lib:TEST_ADAPTERS',
'//protocols/ovsdb/api:onos-protocols-ovsdb-tests',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api-tests',
]
osgi_jar_with_tests (
......
SRC = 'src/main/java/org/onosproject/**/'
CURRENT_NAME = 'onos-bgp-api'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/bgp/bgpio:onos-bgpio',
'//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-bgpio'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
]
TEST_DEPS = [
'//lib:TEST',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-bgp-ctl'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:jersey-client',
'//lib:httpclient-osgi',
'//lib:httpcore-osgi',
'//lib:javax.ws.rs-api',
'//protocols/bgp/api:onos-bgp-api',
'//protocols/bgp/bgpio:onos-bgpio',
]
TEST_DEPS = [
'//lib:TEST',
'//protocols/bgp/api:onos-protocols-bgp-api',
'//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:netty-buffer',
]
TEST_DEPS = [
'//lib:TEST',
]
java_library(
name = 'onos-isis',
visibility = ['PUBLIC'],
deps = [':onos-isis-api',
':onos-isis-isisio',
],
)
# onos-isis-api
osgi_jar(
name = 'onos-isis-api',
srcs = glob(['api/' + SRC + '*.java']),
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'onos-isis-api-tests',
srcs = glob(['api/' + TEST + '*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[':onos-isis-api'],
source_under_test = [':onos-isis-api'],
)
# onos-isis-isisio
osgi_jar(
name = 'onos-isis-isisio',
srcs = glob(['isisio/' + SRC + '*.java']),
deps = COMPILE_DEPS + [':onos-isis-api'],
visibility = ['PUBLIC'],
)
java_test(
name = 'onos-isis-isisio-tests',
srcs = glob(['isisio/' + TEST + '*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[':onos-isis-isisio'],
source_under_test = [':onos-isis-isisio'],
)
COMPILE_DEPS = [
'//lib:CORE_DEPS',
]
osgi_jar_with_tests (
deps = COMPILE_DEPS,
)
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/isis/api:onos-protocols-isis-api',
'//protocols/isis/isisio:onos-protocols-isis-isisio',
]
osgi_jar_with_tests (
deps = COMPILE_DEPS,
)
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/isis/api:onos-protocols-isis-api',
]
osgi_jar_with_tests (
deps = COMPILE_DEPS,
)
......@@ -2,6 +2,6 @@ COMPILE_DEPS = [
'//lib:CORE_DEPS',
]
osgi_jar(
osgi_jar_with_tests (
deps = COMPILE_DEPS,
)
......
......@@ -9,7 +9,6 @@ TEST_DEPS = [
]
osgi_jar_with_tests (
name = 'onos-of-api',
deps = COMPILE_DEPS,
test_deps = TEST_DEPS,
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-of-ctl'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api'
'//protocols/openflow/api:onos-protocols-openflow-api'
]
TEST_DEPS = [
......@@ -14,18 +9,7 @@ TEST_DEPS = [
'//core/api:onos-api-tests',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
test_deps = TEST_DEPS,
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-ospf-api'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
]
TEST_DEPS = [
'//lib:TEST',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-ospf-ctl'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ospf/api:onos-ospf-api',
'//protocols/ospf/protocol:onos-ospf-protocol',
]
TEST_DEPS = [
'//lib:TEST',
'//protocols/ospf/api:onos-protocols-ospf-api',
'//protocols/ospf/protocol:onos-protocols-ospf-protocol',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-ospf-protocol'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ospf/api:onos-ospf-api',
]
TEST_DEPS = [
'//lib:TEST',
'//protocols/ospf/api:onos-protocols-ospf-api',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-ovsdb-api'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:netty-transport',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
]
TEST_DEPS = [
'//lib:TEST',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'onos-protocols-ovsdb-tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
visibility = ['PUBLIC'],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-ovsdb-ctl'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:netty-transport',
'//lib:netty-buffer',
'//lib:netty-codec',
'//lib:netty-handler',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-ovsdb-api',
]
TEST_DEPS = [
'//lib:TEST',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
SRC = 'src/main/java/org/onosproject/**/'
CURRENT_NAME = 'onos-ovsdb-rfc'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:netty-buffer',
'//lib:netty-codec',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
......
SRC = 'src/main/java/org/onosproject/**/'
CURRENT_NAME = 'onos-pcep-controller-api'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/pcep/pcepio:onos-pcep-pcepio',
'//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
......
SRC = 'src/main/java/org/onosproject/**/'
CURRENT_NAME = 'onos-pcep-ctl'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/pcep/pcepio:onos-pcep-pcepio',
'//protocols/pcep/api:onos-pcep-controller-api',
'//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
'//protocols/pcep/api:onos-protocols-pcep-api',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-pcep-pcepio'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
]
TEST_DEPS = [
'//lib:TEST',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
......@@ -12,10 +12,6 @@ COMPILE_DEPS = [
'//protocols/rest/api:onos-protocols-rest-api',
]
TEST_DEPS = [
'//lib:TEST',
]
osgi_jar_with_tests (
deps = COMPILE_DEPS,
)
......
SRC = 'src/main/java/org/onosproject/**/'
CURRENT_NAME = 'onos-snmp-api'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//incubator/api:onos-incubator-api',
......@@ -13,9 +8,6 @@ COMPILE_DEPS = [
'//lib:mibs-rfc',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
......
SRC = 'src/main/java/org/onosproject/**/'
TEST = 'src/test/java/org/onosproject/**/'
CURRENT_NAME = 'onos-snmp-ctl'
CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//incubator/api:onos-incubator-api',
'//protocols/snmp/api:onos-snmp-api',
'//protocols/snmp/api:onos-protocols-snmp-api',
'//lib:org.apache.servicemix.bundles.snmp4j',
'//lib:snmp-core',
'//lib:bti7000',
......@@ -14,22 +9,7 @@ COMPILE_DEPS = [
'//lib:mibs-rfc',
]
TEST_DEPS = [
'//lib:TEST',
]
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
osgi_jar_with_tests (
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob([TEST + '/*.java']),
deps = COMPILE_DEPS +
TEST_DEPS +
[CURRENT_TARGET],
source_under_test = [CURRENT_TARGET],
)
......
BUNDLES = [
'//providers/bgp/cfg:onos-providers-bgp-cfg',
'//providers/bgp/flow:onos-providers-bgp-flow',
#'//providers/bgp/flow:onos-providers-bgp-flow',
'//providers/bgp/topology:onos-providers-bgp-topology',
'//protocols/bgp/api:onos-bgp-api',
'//protocols/bgp/ctl:onos-bgp-ctl',
'//protocols/bgp/bgpio:onos-bgpio',
'//protocols/bgp/api:onos-protocols-bgp-api',
'//protocols/bgp/ctl:onos-protocols-bgp-ctl',
'//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
]
onos_app (
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/bgp/api:onos-bgp-api',
'//protocols/bgp/api:onos-protocols-bgp-api',
]
osgi_jar_with_tests (
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/bgp/api:onos-bgp-api',
'//protocols/bgp/bgpio:onos-bgpio',
'//protocols/bgp/api:onos-protocols-bgp-api',
'//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
'//incubator/store:onos-incubator-store',
]
......
SRC = 'src/main/java/org/onosproject/**/'
# FIXME - BGCEP got moved
CURRENT_NAME = 'onos-bgpcep-provider-flow'
CURRENT_TARGET = ':' + CURRENT_NAME
#SRC = 'src/main/java/org/onosproject/**/'
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/bgp/api:onos-bgp-api',
]
#CURRENT_NAME = 'onos-bgpcep-provider-flow'
#CURRENT_TARGET = ':' + CURRENT_NAME
osgi_jar(
name = CURRENT_NAME,
srcs = glob([SRC + '/*.java']),
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
#COMPILE_DEPS = [
# '//lib:CORE_DEPS',
# '//protocols/bgp/api:onos-bgp-api',
#]
#osgi_jar(
# name = CURRENT_NAME,
# srcs = glob([SRC + '/*.java']),
# deps = COMPILE_DEPS,
# visibility = ['PUBLIC'],
#)
......
BUNDLES = [
'//protocols/isis/api:onos-protocols-isis-api',
'//protocols/isis/ctl:onos-protocols-isis-ctl',
'//protocols/isis/isisio:onos-protocols-isis-isisio',
'//providers/isis/cfg:onos-providers-isis-cfg',
'//providers/isis/device:onos-providers-isis-device',
]
onos_app (
title = 'ISIS Provider',
category = 'Provider',
url = 'http://onosproject.org',
description = 'ONOS ISIS protocol adapters.',
included_bundles = BUNDLES,
)
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/isis/api:onos-protocols-isis-api',
]
osgi_jar_with_tests (
deps = COMPILE_DEPS,
)
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/isis/api:onos-protocols-isis-api',
]
osgi_jar_with_tests (
deps = COMPILE_DEPS,
)
BUNDLES = [
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/ctl:onos-of-ctl',
'//protocols/openflow/api:onos-protocols-openflow-api',
'//protocols/openflow/ctl:onos-protocols-openflow-ctl',
'//providers/openflow/device:onos-providers-openflow-device',
'//providers/openflow/packet:onos-providers-openflow-packet',
'//providers/openflow/flow:onos-providers-openflow-flow',
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/api:onos-protocols-openflow-api',
]
TEST_DEPS = [
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/api:onos-protocols-openflow-api',
]
osgi_jar_with_tests (
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/api:onos-protocols-openflow-api',
'//providers/openflow/flow:onos-providers-openflow-flow',
]
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/api:onos-protocols-openflow-api',
'//apps/cpman/api:onos-apps-cpman-api',
]
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/api:onos-protocols-openflow-api',
]
osgi_jar_with_tests (
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-of-api',
'//protocols/openflow/api:onos-protocols-openflow-api',
]
osgi_jar_with_tests (
......
......@@ -6,8 +6,8 @@ CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
]
TEST_DEPS = [
......
......@@ -6,8 +6,8 @@ CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
]
TEST_DEPS = [
......
......@@ -6,8 +6,8 @@ CURRENT_TARGET = ':' + CURRENT_NAME
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//incubator/api:onos-incubator-api',
]
......
BUNDLES = [
'//providers/pcep/topology:onos-providers-pcep-topology',
'//providers/pcep/tunnel:onos-providers-pcep-tunnel',
'//protocols/pcep/api:onos-pcep-controller-api',
'//protocols/pcep/pcepio:onos-pcep-pcepio',
'//protocols/pcep/api:onos-protocols-pcep-api',
'//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
]
onos_app (
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//apps/pcep-api:onos-apps-pcep-api',
]
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//apps/pcep-api:onos-apps-pcep-api',
'//incubator/api:onos-incubator-api',
'//protocols/pcep/pcepio:onos-pcep-pcepio',
'//protocols/pcep/api:onos-pcep-controller-api',
'//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
'//protocols/pcep/api:onos-protocols-pcep-api',
]
TEST_DEPS = [
......
COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//protocols/ovsdb/api:onos-ovsdb-api',
'//protocols/ovsdb/rfc:onos-ovsdb-rfc',
'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
'//apps/pcep-api:onos-apps-pcep-api',
'//incubator/api:onos-incubator-api',
'//protocols/rest/api:onos-protocols-rest-api',
......
......@@ -6,8 +6,8 @@ COMPILE_DEPS = [
'//lib:mibs-net-snmp',
'//lib:mibs-rfc',
'//incubator/api:onos-incubator-api',
'//protocols/snmp/api:onos-snmp-api',
'//protocols/snmp/ctl:onos-snmp-ctl',
'//protocols/snmp/api:onos-protocols-snmp-api',
'//protocols/snmp/ctl:onos-protocols-snmp-ctl',
]
osgi_jar_with_tests (
......