blob: e15e9c859c46872aa7c6a905346c5522fddfa157 [file] [log] [blame]
Ray Milkey35ea5bf2018-07-17 15:28:44 -07001COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + KRYO + CLI + REST + [
Carmelo Cascone72893b72018-08-09 00:59:06 -07002 "@io_netty_netty_transport//jar",
3 "@io_netty_netty_codec//jar",
4 "@io_netty_netty_handler//jar",
Ray Milkey35ea5bf2018-07-17 15:28:44 -07005 "@openflowj//jar",
6 "//core/store/serializers:onos-core-serializers",
7 "//core/common:onos-core-common",
8 "//incubator/api:onos-incubator-api",
9 "//providers/openflow/flow:onos-providers-openflow-flow",
10 "//protocols/openflow/api:onos-protocols-openflow-api",
11]
12
13BUNDLES = [
14 "//apps/ofagent:onos-apps-ofagent",
15 "//providers/openflow/flow:onos-providers-openflow-flow",
16 "//protocols/openflow/api:onos-protocols-openflow-api",
17]
18
19TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
20 "@jersey_server//jar",
21 "@minimal_json//jar",
22 "//core/api:onos-api-tests",
23 "//core/common:onos-core-common-tests",
24 "//web/api:onos-rest-tests",
25]
26
27osgi_jar_with_tests(
28 api_description = "REST API for OFAgent",
29 api_package = "org.onosproject.ofagent.rest",
30 api_title = "OFAgent API",
31 api_version = "1.0",
32 test_deps = TEST_DEPS,
33 web_context = "/onos/ofagent",
34 deps = COMPILE_DEPS,
35)
36
37onos_app(
38 category = "Traffic Engineering",
39 description = "OpenFlow agent application for virtualization subsystem.",
40 included_bundles = BUNDLES,
41 title = "OpenFlow Agent",
42 url = "http://onosproject.org",
43)