blob: 8b38727dd84e172ee4ff8e978ab4874d8aab3ad7 [file] [log] [blame]
Ray Milkey816db102018-05-30 14:16:37 -07001COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + KRYO + [
2 "//core/common:onos-core-common",
Ray Milkey816db102018-05-30 14:16:37 -07003 "//core/store/serializers:onos-core-serializers",
Ray Milkey584f54b2018-10-08 14:45:20 -07004 "//core/store/primitives:onos-core-primitives",
Ray Milkeyd84f89b2018-08-17 14:54:17 -07005 "@org_osgi_service_cm//jar",
Ray Milkey816db102018-05-30 14:16:37 -07006]
7
8TEST_DEPS = TEST + TEST_REST + TEST_ADAPTERS + [
9 "//core/store/dist:onos-core-dist",
10 "//core/store/dist:onos-core-dist-tests",
11 "//utils/osgi:onlab-osgi-tests",
12 "//pipelines/basic:onos-pipelines-basic",
Daniele Morod900fe42021-02-11 16:12:57 +010013 "//protocols/p4runtime/model:onos-protocols-p4runtime-model-native",
Ray Milkey816db102018-05-30 14:16:37 -070014 "@minimal_json//jar",
15]
16
17osgi_jar_with_tests(
18 name = "onos-core-net",
19 exclude_tests = [
20 "org.onosproject.net.intent.impl.compiler.AbstractLinkCollectionTest",
21 "org.onosproject.net.intent.impl.installer.AbstractIntentInstallerTest",
Carmelo Casconed33d3b42019-06-18 12:12:36 -070022 # FIXME: re-enable CoreEventDispatcherTest
23 # Failing on Jenkins after switching to Bazel remote JDK 11
24 "org.onosproject.event.impl.CoreEventDispatcherTest",
Ray Milkey816db102018-05-30 14:16:37 -070025 ],
Thomas Vachuskaafac1c62018-08-10 11:49:53 -070026 medium_tests = ["//core/net:src/test/java/org/onosproject/net/flowobjective/impl/InOrderFlowObjectiveManagerTest"],
Ray Milkey05d609a2018-08-15 10:27:58 -070027 test_deps = TEST_DEPS,
Ray Milkey816db102018-05-30 14:16:37 -070028 visibility = ["//visibility:public"],
29 deps = COMPILE_DEPS,
30)