Zayne Khouja
Committed by Ray Milkey

adds working buck file to BGPCEP provider

Change-Id: Ia4a9ee37ed57ec0862501ae9b6f622f225d764fc
1 +COMPILE_DEPS = [
2 + '//lib:CORE_DEPS',
3 + '//lib:COMPILE',
4 + '//lib:org.osgi.compendium',
5 + '//cli:onos-cli',
6 + '//core/store/serializers:onos-core-serializers',
7 + '//utils/rest:onlab-rest',
8 + '//incubator/api:onos-incubator-api',
9 + '//apps/pcep-api:onos-apps-pcep-api',
10 + '//utils/misc:onlab-misc',
11 + '//core/api:onos-api',
12 + '//lib:org.apache.karaf.shell.console',
13 + '//lib:javax.ws.rs-api',
14 +]
15 +
16 +TEST_DEPS = [
17 + '//lib:TEST_REST',
18 +]
19 +
20 +osgi_jar_with_tests (
21 + deps = COMPILE_DEPS,
22 + test_deps = TEST_DEPS
23 +)
24 +
25 +onos_app (
26 + title = 'PCE App',
27 + category = 'default',
28 + url = 'http://onosproject.org',
29 + description = 'PCE as centeral controller App.',
30 +)
...\ No newline at end of file ...\ No newline at end of file
1 +COMPILE_DEPS = [
2 + '//lib:CORE_DEPS',
3 + '//apps/pce/app:onos-apps-pce-app',
4 + '//cli:onos-cli',
5 + '//lib:org.apache.karaf.shell.console',
6 + '//core/api:onos-api',
7 + '//incubator/api:onos-incubator-api',
8 +]
9 +
10 +osgi_jar_with_tests (
11 + deps = COMPILE_DEPS,
12 +)
13 +
14 +onos_app (
15 + title = 'PCE web application',
16 + category = 'Utility',
17 + url = 'http://onosproject.org',
18 + description = 'Allows the user to visualize different types of paths between network entities',
19 +)
...@@ -84,6 +84,7 @@ ONOS_DRIVERS = [ ...@@ -84,6 +84,7 @@ ONOS_DRIVERS = [
84 ONOS_PROVIDERS = [ 84 ONOS_PROVIDERS = [
85 # Providers 85 # Providers
86 '//providers/bgp:onos-providers-bgp-oar', 86 '//providers/bgp:onos-providers-bgp-oar',
87 + '//providers/bgpcep:onos-providers-bgpcep-oar',
87 '//providers/host:onos-providers-host-oar', 88 '//providers/host:onos-providers-host-oar',
88 '//providers/lldp:onos-providers-lldp-oar', 89 '//providers/lldp:onos-providers-lldp-oar',
89 '//providers/netcfghost:onos-providers-netcfghost-oar', 90 '//providers/netcfghost:onos-providers-netcfghost-oar',
......
...@@ -3,6 +3,7 @@ COMPILE_DEPS = [ ...@@ -3,6 +3,7 @@ COMPILE_DEPS = [
3 '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio', 3 '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
4 '//apps/pcep-api:onos-apps-pcep-api', 4 '//apps/pcep-api:onos-apps-pcep-api',
5 '//incubator/api:onos-incubator-api', 5 '//incubator/api:onos-incubator-api',
6 + '//lib:netty',
6 ] 7 ]
7 8
8 osgi_jar_with_tests ( 9 osgi_jar_with_tests (
......
1 COMPILE_DEPS = [ 1 COMPILE_DEPS = [
2 '//lib:CORE_DEPS', 2 '//lib:CORE_DEPS',
3 + '//lib:jackson-databind',
4 + '//lib:jackson-annotations',
5 + '//lib:osgi-core',
6 + '//lib:org.apache.karaf.shell.console',
7 + '//lib:org.apache.felix.scr.annotations',
3 ] 8 ]
4 9
5 osgi_jar_with_tests ( 10 osgi_jar_with_tests (
......
1 +BUNDLES = [
2 + '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
3 + '//protocols/bgp/api:onos-protocols-bgp-api',
4 + '//protocols/bgp/ctl:onos-protocols-bgp-ctl',
5 + '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
6 + '//apps/pcep-api:onos-apps-pcep-api',
7 + '//protocols/pcep/api:onos-protocols-pcep-api',
8 + '//providers/bgp/topology:onos-providers-bgp-topology',
9 + '//providers/bgp/cfg:onos-providers-bgp-cfg',
10 + '//protocols/pcep/ctl:onos-protocols-pcep-ctl',
11 + '//providers/pcep/topology:onos-providers-pcep-topology',
12 + '//providers/pcep/tunnel:onos-providers-pcep-tunnel',
13 + '//providers/pcep/packet:onos-providers-pcep-packet',
14 + '//providers/bgpcep/flow:onos-providers-bgpcep-flow',
15 + '//apps/pce/app:onos-apps-pce-app',
16 + '//apps/pce/pceweb:onos-apps-pce-pceweb',
17 +]
18 +
19 +onos_app (
20 + title = 'BGPCEP Provider',
21 + category = 'Provider',
22 + url = 'http://onosproject.org',
23 + included_bundles = BUNDLES,
24 + description = 'BGPCEP providers.',
25 +)
26 +
1 -# FIXME - BGCEP got moved 1 +COMPILE_DEPS = [
2 - 2 + '//lib:CORE_DEPS',
3 -#SRC = 'src/main/java/org/onosproject/**/' 3 + '//lib:org.osgi.compendium',
4 - 4 + '//protocols/bgp/api:onos-protocols-bgp-api',
5 -#CURRENT_NAME = 'onos-bgpcep-provider-flow' 5 + '//incubator/api:onos-incubator-api',
6 -#CURRENT_TARGET = ':' + CURRENT_NAME 6 + '//protocols/pcep/api:onos-protocols-pcep-api',
7 - 7 + '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
8 -#COMPILE_DEPS = [ 8 +]
9 -# '//lib:CORE_DEPS', 9 +
10 -# '//protocols/bgp/api:onos-bgp-api', 10 +osgi_jar_with_tests(
11 -#] 11 + deps = COMPILE_DEPS,
12 - 12 +)
13 -#osgi_jar(
14 -# name = CURRENT_NAME,
15 -# srcs = glob([SRC + '/*.java']),
16 -# deps = COMPILE_DEPS,
17 -# visibility = ['PUBLIC'],
18 -#)
......
...@@ -3,6 +3,9 @@ BUNDLES = [ ...@@ -3,6 +3,9 @@ BUNDLES = [
3 '//providers/pcep/tunnel:onos-providers-pcep-tunnel', 3 '//providers/pcep/tunnel:onos-providers-pcep-tunnel',
4 '//protocols/pcep/api:onos-protocols-pcep-api', 4 '//protocols/pcep/api:onos-protocols-pcep-api',
5 '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio', 5 '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
6 + '//protocols/pcep/ctl:onos-protocols-pcep-ctl',
7 + '//apps/pcep-api:onos-apps-pcep-api',
8 + '//providers/pcep/packet:onos-providers-pcep-packet',
6 ] 9 ]
7 10
8 onos_app ( 11 onos_app (
......
1 +COMPILE_DEPS = [
2 + '//lib:CORE_DEPS',
3 + '//protocols/pcep/api:onos-protocols-pcep-api',
4 +]
5 +
6 +osgi_jar_with_tests (
7 + deps = COMPILE_DEPS,
8 +)