| COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + REST + [ |
| "//core/store/serializers:onos-core-serializers", |
| "//protocols/ovsdb/api:onos-protocols-ovsdb-api", |
| "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc", |
| "//apps/k8s-node/api:onos-apps-k8s-node-api", |
| "//apps/k8s-networking/api:onos-apps-k8s-networking-api", |
| "@commons_net//jar", |
| ] |
| |
| TEST_DEPS = TEST_ADAPTERS + TEST_REST + [ |
| "//core/api:onos-api-tests", |
| "//core/common:onos-core-common-tests", |
| "//web/api:onos-rest-tests", |
| ] |
| |
| osgi_jar_with_tests( |
| api_description = "REST API for Kubernetes Networking", |
| api_package = "org.onosproject.k8snetworking.web", |
| api_title = "Kubernetes Networking API", |
| api_version = "1.0", |
| karaf_command_packages = ["org.onosproject.k8snetworking.cli"], |
| test_deps = TEST_DEPS, |
| web_context = "/onos/k8snetworking", |
| deps = COMPILE_DEPS, |
| ) |