blob: 725e27dba0bf4eee6e222b8e341808ea21f233c8 [file] [log] [blame]
Jian Lifc55e422019-01-21 14:39:34 +09001COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + REST + [
2 "//core/store/serializers:onos-core-serializers",
Jian Lia80b1582019-01-25 12:47:42 +09003 "//protocols/ovsdb/api:onos-protocols-ovsdb-api",
4 "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc",
Jian Lifc55e422019-01-21 14:39:34 +09005 "//apps/k8s-node/api:onos-apps-k8s-node-api",
6 "//apps/k8s-networking/api:onos-apps-k8s-networking-api",
Jian Li9b199162019-02-10 18:00:35 +09007 "@commons_net//jar",
Jian Li3defa842019-02-12 00:31:35 +09008 "@k8s_client//jar",
9 "@k8s_model//jar",
Jian Li3d1111e2019-02-22 02:02:13 +090010 "@okhttp//jar",
11 "@okio//jar",
12 "@logging_interceptor//jar",
13 "@jackson_dataformat_yaml//jar",
14 "@snakeyaml//jar",
15 "@zjsonpatch//jar",
16 "@validation_api//jar",
Jian Lifc55e422019-01-21 14:39:34 +090017]
18
Jian Lia80b1582019-01-25 12:47:42 +090019TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Lifc55e422019-01-21 14:39:34 +090020 "//core/api:onos-api-tests",
21 "//core/common:onos-core-common-tests",
Jian Lia80b1582019-01-25 12:47:42 +090022 "//web/api:onos-rest-tests",
Jian Lifc55e422019-01-21 14:39:34 +090023]
24
25osgi_jar_with_tests(
Jian Lia80b1582019-01-25 12:47:42 +090026 api_description = "REST API for Kubernetes Networking",
27 api_package = "org.onosproject.k8snetworking.web",
28 api_title = "Kubernetes Networking API",
29 api_version = "1.0",
Jian Lifc55e422019-01-21 14:39:34 +090030 karaf_command_packages = ["org.onosproject.k8snetworking.cli"],
31 test_deps = TEST_DEPS,
Jian Lia80b1582019-01-25 12:47:42 +090032 web_context = "/onos/k8snetworking",
Jian Lifc55e422019-01-21 14:39:34 +090033 deps = COMPILE_DEPS,
34)