blob: fbc6fb6fc09cc29a58d3fe574f75936873935b91 [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",
13 "@minimal_json//jar",
14]
15
16osgi_jar_with_tests(
17 name = "onos-core-net",
18 exclude_tests = [
19 "org.onosproject.net.intent.impl.compiler.AbstractLinkCollectionTest",
20 "org.onosproject.net.intent.impl.installer.AbstractIntentInstallerTest",
Carmelo Casconed33d3b42019-06-18 12:12:36 -070021 # FIXME: re-enable CoreEventDispatcherTest
22 # Failing on Jenkins after switching to Bazel remote JDK 11
23 "org.onosproject.event.impl.CoreEventDispatcherTest",
Ray Milkey816db102018-05-30 14:16:37 -070024 ],
Thomas Vachuskaafac1c62018-08-10 11:49:53 -070025 medium_tests = ["//core/net:src/test/java/org/onosproject/net/flowobjective/impl/InOrderFlowObjectiveManagerTest"],
Ray Milkey05d609a2018-08-15 10:27:58 -070026 test_deps = TEST_DEPS,
Ray Milkey816db102018-05-30 14:16:37 -070027 visibility = ["//visibility:public"],
28 deps = COMPILE_DEPS,
29)