blob: a7319eadbd5612d17bf660e81ec7c2f2e5ff3ea7 [file] [log] [blame]
Sithara Punnassery8b155b22017-03-02 14:13:32 -08001COMPILE_DEPS = [
Vidyashree Rama3c503612017-05-10 13:55:34 +05302 '//lib:CORE_DEPS',
Ray Milkey446f4462017-08-17 15:36:01 -07003 '//lib:JACKSON',
Thomas Vachuska30311982017-05-26 11:11:38 -07004 '//core/api:onos-api',
5 '//core/common:onos-core-common',
6 '//cli:onos-cli',
7 '//lib:org.apache.karaf.shell.console',
8 '//lib:jackson-core',
Vidyashree Rama3c503612017-05-10 13:55:34 +05309 '//lib:onos-yang-model',
10 '//lib:onos-yang-compiler-api',
11 '//lib:onos-yang-runtime',
12 '//lib:onos-yang-serializers-json',
13 '//lib:onos-yang-serializers-xml',
14 '//lib:onos-yang-serializers-utils',
15 '//lib:org.apache.servicemix.bundles.dom4j',
Sithara Punnassery8b155b22017-03-02 14:13:32 -080016]
17
18BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053019 '//lib:onos-yang-model',
20 '//lib:onos-yang-compiler-api',
21 '//lib:onos-yang-runtime',
22 '//lib:onos-yang-serializers-json',
23 '//lib:onos-yang-serializers-xml',
24 '//lib:onos-yang-serializers-utils',
25 '//apps/yang:onos-apps-yang',
26 '//apps/yang/web:onos-apps-yang-web',
Bharat saraswal5a2af5e2017-03-23 10:50:17 +053027]
28
29EXCLUDED_BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053030 '//lib:org.apache.servicemix.bundles.dom4j',
GauravAgrawal-Huawei77409ac2017-03-14 08:51:04 +000031]
32
Vidyashree Rama3c503612017-05-10 13:55:34 +053033TEST_DEPS = [
34 '//lib:TEST_ADAPTERS',
35 '//utils/osgi:onlab-osgi-tests',
36]
37
38osgi_jar_with_tests(
39 deps = COMPILE_DEPS,
40 test_deps = TEST_DEPS,
Sithara Punnassery8b155b22017-03-02 14:13:32 -080041)
42
Vidyashree Rama3c503612017-05-10 13:55:34 +053043onos_app(
44 title = 'YANG Compiler and Runtime',
45 category = 'Utility',
46 url = 'http://onosproject.org',
Thomas Vachuskab0029682017-08-23 17:55:53 -070047 description = 'Provides ability to register compiled YANG models or even to compile YANG source ' +
48 'files on the fly. Registering YANG models allows other ONOS subsystems to interact with ' +
49 'orchestrators or individual network devices using XML or JSON data structured in accordance ' +
50 'with those models.',
Vidyashree Rama3c503612017-05-10 13:55:34 +053051 included_bundles = BUNDLES,
52 excluded_bundles = EXCLUDED_BUNDLES,
Ray Milkey446f4462017-08-17 15:36:01 -070053)