blob: e16cb7edd5c83233ed9d08cbf5666b971ec19746 [file] [log] [blame]
Hyunsun Moon90163ba2016-10-12 13:35:14 -07001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
Hyunsun Moonf4ba44f2017-03-14 03:25:52 +09003 '//core/store/serializers:onos-core-serializers',
4 '//core/common:onos-core-common',
5 '//incubator/api:onos-incubator-api',
6 '//cli:onos-cli',
7 '//lib:org.apache.karaf.shell.console',
Hyunsun Moon90163ba2016-10-12 13:35:14 -07008 '//lib:netty-transport',
9 '//lib:netty-buffer',
10 '//lib:netty-codec',
11 '//lib:netty-handler',
Hyunsun Moon90163ba2016-10-12 13:35:14 -070012 '//lib:openflowj-3.0',
Jovana Vuletafe32db7d2017-05-01 12:18:00 +020013 '//lib:javax.ws.rs-api',
14 '//utils/rest:onlab-rest',
Hyunsun Moon90163ba2016-10-12 13:35:14 -070015]
16
Hyunsun Moonf4ba44f2017-03-14 03:25:52 +090017TEST_DEPS = [
18 '//lib:TEST_ADAPTERS',
19 '//core/api:onos-api-tests',
20 '//core/common:onos-core-common-tests',
Jovana Vuletafe32db7d2017-05-01 12:18:00 +020021 '//lib:TEST_REST',
22 '//lib:jersey-server',
Jian Li242ce522017-05-23 11:41:41 +090023 '//web/api:onos-rest-tests',
Hyunsun Moonf4ba44f2017-03-14 03:25:52 +090024]
25
Hyunsun Moon90163ba2016-10-12 13:35:14 -070026EXCLUDED_BUNDLES = [
27 '//lib:openflowj-3.0',
28]
29
30osgi_jar_with_tests (
31 deps = COMPILE_DEPS,
Hyunsun Moonf4ba44f2017-03-14 03:25:52 +090032 test_deps = TEST_DEPS,
Jovana Vuletafe32db7d2017-05-01 12:18:00 +020033 web_context = '/onos/v1/ofagent',
Hyunsun Moon90163ba2016-10-12 13:35:14 -070034)
35
36onos_app (
37 title = 'OpenFlow Agent App',
38 category = 'Traffic Steering',
39 url = 'http://onosproject.org',
40 description = 'OpenFlow agent application for virtualization subsystem.',
41 excluded_bundles = EXCLUDED_BUNDLES
42)