| COMPILE_DEPS = [ |
| '//lib:CORE_DEPS', |
| '//lib:JACKSON', |
| '//lib:KRYO', |
| '//lib:onos-yang-model', |
| '//lib:httpclient-osgi', |
| '//lib:org.apache.httpcomponents.httpasyncclient-osgi', |
| '//lib:httpcore-osgi', |
| '//lib:netty', |
| '//core/store/serializers:onos-core-serializers', |
| '//apps/restconf/utils:onos-apps-restconf-utils', |
| '//apps/config:onos-apps-config', |
| '//apps/restconf/api:onos-apps-restconf-api', |
| '//models/fpcagent:onos-models-fpcagent', |
| '//models/common:onos-models-common', |
| ':jetty-servlet-custom', |
| ':jetty-server-custom', |
| ':jetty-io-custom', |
| ':jetty-http-custom', |
| ':jetty-util-custom', |
| ':javax.servlet-api-custom', |
| ':zeromq', |
| ':json', |
| ] |
| |
| PROVIDED_DEPS = [ |
| ] |
| |
| BUNDLES = [ |
| '//apps/fpcagent:onos-apps-fpcagent', |
| '//lib:httpclient-osgi', |
| '//lib:httpcore-osgi', |
| '//lib:org.apache.httpcomponents.httpasyncclient-osgi', |
| ':jetty-servlet-custom', |
| ':jetty-server-custom', |
| ':jetty-io-custom', |
| ':jetty-http-custom', |
| ':jetty-util-custom', |
| ':javax.servlet-api-custom', |
| ] |
| |
| EXCLUDED_BUNDLES = [ |
| ':zeromq', |
| ':json', |
| ] |
| |
| APPS = [ |
| 'org.onosproject.models.fpcagent', |
| 'org.onosproject.yang', |
| 'org.onosproject.yang-gui', |
| 'org.onosproject.config', |
| 'org.onosproject.restconf', |
| 'org.onosproject.protocols.restconfserver', |
| ] |
| |
| osgi_jar( |
| deps = COMPILE_DEPS, |
| provided_deps = PROVIDED_DEPS, |
| ) |
| |
| onos_app( |
| app_name = 'org.onosproject.fpcagent', |
| title = 'YANG FPC Agent', |
| category = 'Traffic Steering', |
| url = 'http://onosproject.org', |
| description = 'FPC Agent YANG Application', |
| required_apps = APPS, |
| included_bundles = BUNDLES, |
| excluded_bundles = EXCLUDED_BUNDLES, |
| ) |
| |
| remote_jar ( |
| name = 'json', |
| out = 'json-20090211.jar', |
| url = 'mvn:org.json:json:jar:20090211', |
| sha1 = 'c183aa3a2a6250293808bba12262c8920ce5a51c', |
| maven_coords = 'org.json:json:jar:NON-OSGI:20090211', |
| visibility = [ 'PUBLIC' ], |
| ) |
| |
| remote_jar ( |
| name = 'zeromq', |
| out = 'jeromq-0.3.5.jar', |
| url = 'mvn:org.zeromq:jeromq:jar:0.3.5', |
| sha1 = '39a79082570d114bb5433762e836e4dd9c38b03d', |
| maven_coords = 'org.zeromq:jeromq:0.3.5', |
| visibility = [ 'PUBLIC' ], |
| ) |
| |
| remote_jar ( |
| name = 'javax.servlet-api-custom', |
| out = 'javax.servlet-api-3.0.1.jar', |
| url = 'mvn:javax.servlet:javax.servlet-api:jar:3.0.1', |
| sha1 = '6bf0ebb7efd993e222fc1112377b5e92a13b38dd', |
| maven_coords = 'javax.servlet:javax.servlet-api:3.0.1', |
| visibility = [ 'PUBLIC' ], |
| ) |
| |
| remote_jar ( |
| name = 'jetty-util-custom', |
| out = 'jetty-util-8.1.19.v20160209.jar', |
| url = 'mvn:org.eclipse.jetty:jetty-util:jar:8.1.19.v20160209', |
| sha1 = 'c88071e72998e6355d719d35ff001d9c327a971a', |
| maven_coords = 'org.eclipse.jetty:jetty-util:8.1.19.v20160209', |
| visibility = [ 'PUBLIC' ], |
| ) |
| |
| remote_jar ( |
| name = 'jetty-server-custom', |
| out = 'jetty-server-8.1.19.v20160209.jar', |
| url = 'mvn:org.eclipse.jetty:jetty-server:jar:8.1.19.v20160209', |
| sha1 = 'e4100696c994e26148fd0b62c8a866a606be1540', |
| maven_coords = 'org.eclipse.jetty:jetty-server:8.1.19.v20160209', |
| visibility = [ 'PUBLIC' ], |
| ) |
| |
| remote_jar ( |
| name = 'jetty-servlet-custom', |
| out = 'jetty-servlet-8.1.19.v20160209.jar', |
| url = 'mvn:org.eclipse.jetty:jetty-servlet:jar:8.1.19.v20160209', |
| sha1 = '6872c3fc289de8f26a43b101741b33af36590cb4', |
| maven_coords = 'org.eclipse.jetty:jetty-servlet:8.1.19.v20160209', |
| visibility = [ 'PUBLIC' ], |
| ) |
| |
| remote_jar ( |
| name = 'jetty-http-custom', |
| out = 'jetty-http-8.1.19.v20160209.jar', |
| url = 'mvn:org.eclipse.jetty:jetty-http:jar:8.1.19.v20160209', |
| sha1 = 'f08c189eab9a45810644ec35440f1a0c8aa0c4e0', |
| maven_coords = 'org.eclipse.jetty:jetty-http:8.1.19.v20160209', |
| visibility = [ 'PUBLIC' ], |
| ) |
| |
| remote_jar ( |
| name = 'jetty-io-custom', |
| out = 'jetty-io-8.1.19.v20160209.jar', |
| url = 'mvn:org.eclipse.jetty:jetty-io:jar:8.1.19.v20160209', |
| sha1 = 'c35e77e419169b4c8ad5fa3429865f2c8541e972', |
| maven_coords = 'org.eclipse.jetty:jetty-io:8.1.19.v20160209', |
| visibility = [ 'PUBLIC' ], |
| ) |