blob: 243a7d154d93e02d65a88466c80ce951165eb81d [file] [log] [blame]
Sithara Punnassery8b155b22017-03-02 14:13:32 -08001COMPILE_DEPS = [
Vidyashree Rama3c503612017-05-10 13:55:34 +05302 '//lib:CORE_DEPS',
Thomas Vachuska30311982017-05-26 11:11:38 -07003 '//core/api:onos-api',
4 '//core/common:onos-core-common',
5 '//cli:onos-cli',
6 '//lib:org.apache.karaf.shell.console',
7 '//lib:jackson-core',
Vidyashree Rama3c503612017-05-10 13:55:34 +05308 '//lib:onos-yang-model',
9 '//lib:onos-yang-compiler-api',
10 '//lib:onos-yang-runtime',
11 '//lib:onos-yang-serializers-json',
12 '//lib:onos-yang-serializers-xml',
13 '//lib:onos-yang-serializers-utils',
14 '//lib:org.apache.servicemix.bundles.dom4j',
Sithara Punnassery8b155b22017-03-02 14:13:32 -080015]
16
17BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053018 '//lib:onos-yang-model',
19 '//lib:onos-yang-compiler-api',
20 '//lib:onos-yang-runtime',
21 '//lib:onos-yang-serializers-json',
22 '//lib:onos-yang-serializers-xml',
23 '//lib:onos-yang-serializers-utils',
24 '//apps/yang:onos-apps-yang',
25 '//apps/yang/web:onos-apps-yang-web',
Bharat saraswal5a2af5e2017-03-23 10:50:17 +053026]
27
28EXCLUDED_BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053029 '//lib:org.apache.servicemix.bundles.dom4j',
GauravAgrawal-Huawei77409ac2017-03-14 08:51:04 +000030]
31
Vidyashree Rama3c503612017-05-10 13:55:34 +053032TEST_DEPS = [
33 '//lib:TEST_ADAPTERS',
34 '//utils/osgi:onlab-osgi-tests',
35]
36
37osgi_jar_with_tests(
38 deps = COMPILE_DEPS,
39 test_deps = TEST_DEPS,
Sithara Punnassery8b155b22017-03-02 14:13:32 -080040)
41
Vidyashree Rama3c503612017-05-10 13:55:34 +053042onos_app(
43 title = 'YANG Compiler and Runtime',
44 category = 'Utility',
45 url = 'http://onosproject.org',
Thomas Vachuska7c45e282017-08-23 17:55:53 -070046 description = 'Provides ability to register compiled YANG models or even to compile YANG source ' +
47 'files on the fly. Registering YANG models allows other ONOS subsystems to interact with ' +
48 'orchestrators or individual network devices using XML or JSON data structured in accordance ' +
49 'with those models.',
Vidyashree Rama3c503612017-05-10 13:55:34 +053050 included_bundles = BUNDLES,
51 excluded_bundles = EXCLUDED_BUNDLES,
Sithara Punnassery5deaab52017-03-06 14:23:07 -080052)