Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + KRYO + CLI + REST + [ |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 2 | "@io_netty_netty_transport//jar", |
| 3 | "@io_netty_netty_codec//jar", |
| 4 | "@io_netty_netty_handler//jar", |
Ray Milkey | 35ea5bf | 2018-07-17 15:28:44 -0700 | [diff] [blame] | 5 | "@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 | |
| 13 | BUNDLES = [ |
| 14 | "//apps/ofagent:onos-apps-ofagent", |
| 15 | "//providers/openflow/flow:onos-providers-openflow-flow", |
| 16 | "//protocols/openflow/api:onos-protocols-openflow-api", |
| 17 | ] |
| 18 | |
| 19 | TEST_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 | |
| 27 | osgi_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 | |
| 37 | onos_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 | ) |