blob: 519382657bf79d617957097fe92b530d45250cf2 [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 Li07c27f32020-10-08 02:57:45 +09008 "@jersey_client//jar",
9 "@json//jar",
Jian Li3defa842019-02-12 00:31:35 +090010 "@k8s_client//jar",
11 "@k8s_model//jar",
Jian Li9ac73952021-01-15 14:53:22 +090012 "@k8s_model_common//jar",
13 "@k8s_model_core//jar",
14 "@k8s_model_rbac//jar",
15 "@k8s_model_apps//jar",
16 "@k8s_model_admissionregistration//jar",
17 "@k8s_model_apiextensions//jar",
18 "@k8s_model_batch//jar",
19 "@k8s_model_certificates//jar",
20 "@k8s_model_coordination//jar",
21 "@k8s_model_discovery//jar",
22 "@k8s_model_metrics//jar",
23 "@k8s_model_scheduling//jar",
24 "@k8s_model_settings//jar",
25 "@k8s_model_storageclass//jar",
26 "@k8s_model_autoscaling//jar",
27 "@k8s_model_events//jar",
28 "@k8s_model_extensions//jar",
29 "@k8s_model_networking//jar",
30 "@k8s_model_node//jar",
31 "@k8s_model_policy//jar",
Jian Li3d1111e2019-02-22 02:02:13 +090032 "@okhttp//jar",
33 "@okio//jar",
34 "@logging_interceptor//jar",
35 "@jackson_dataformat_yaml//jar",
36 "@snakeyaml//jar",
37 "@zjsonpatch//jar",
38 "@validation_api//jar",
Jian Lifc55e422019-01-21 14:39:34 +090039]
40
Jian Lia80b1582019-01-25 12:47:42 +090041TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
Jian Lifc55e422019-01-21 14:39:34 +090042 "//core/api:onos-api-tests",
43 "//core/common:onos-core-common-tests",
Jian Lia80b1582019-01-25 12:47:42 +090044 "//web/api:onos-rest-tests",
Jian Lifc55e422019-01-21 14:39:34 +090045]
46
47osgi_jar_with_tests(
Jian Lia80b1582019-01-25 12:47:42 +090048 api_description = "REST API for Kubernetes Networking",
49 api_package = "org.onosproject.k8snetworking.web",
50 api_title = "Kubernetes Networking API",
51 api_version = "1.0",
Jian Lifc55e422019-01-21 14:39:34 +090052 karaf_command_packages = ["org.onosproject.k8snetworking.cli"],
53 test_deps = TEST_DEPS,
Jian Lia80b1582019-01-25 12:47:42 +090054 web_context = "/onos/k8snetworking",
Jian Lifc55e422019-01-21 14:39:34 +090055 deps = COMPILE_DEPS,
56)