Sithara Punnassery | 8b155b2 | 2017-03-02 14:13:32 -0800 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
Vidyashree Rama | 3c50361 | 2017-05-10 13:55:34 +0530 | [diff] [blame] | 2 | '//lib:CORE_DEPS', |
Thomas Vachuska | 3031198 | 2017-05-26 11:11:38 -0700 | [diff] [blame] | 3 | '//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 Rama | 3c50361 | 2017-05-10 13:55:34 +0530 | [diff] [blame] | 8 | '//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 Punnassery | 8b155b2 | 2017-03-02 14:13:32 -0800 | [diff] [blame] | 15 | ] |
| 16 | |
| 17 | BUNDLES = [ |
Vidyashree Rama | 3c50361 | 2017-05-10 13:55:34 +0530 | [diff] [blame] | 18 | '//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 saraswal | 5a2af5e | 2017-03-23 10:50:17 +0530 | [diff] [blame] | 26 | ] |
| 27 | |
| 28 | EXCLUDED_BUNDLES = [ |
Vidyashree Rama | 3c50361 | 2017-05-10 13:55:34 +0530 | [diff] [blame] | 29 | '//lib:org.apache.servicemix.bundles.dom4j', |
GauravAgrawal-Huawei | 77409ac | 2017-03-14 08:51:04 +0000 | [diff] [blame] | 30 | ] |
| 31 | |
Vidyashree Rama | 3c50361 | 2017-05-10 13:55:34 +0530 | [diff] [blame] | 32 | TEST_DEPS = [ |
| 33 | '//lib:TEST_ADAPTERS', |
| 34 | '//utils/osgi:onlab-osgi-tests', |
| 35 | ] |
| 36 | |
| 37 | osgi_jar_with_tests( |
| 38 | deps = COMPILE_DEPS, |
| 39 | test_deps = TEST_DEPS, |
Sithara Punnassery | 8b155b2 | 2017-03-02 14:13:32 -0800 | [diff] [blame] | 40 | ) |
| 41 | |
Vidyashree Rama | 3c50361 | 2017-05-10 13:55:34 +0530 | [diff] [blame] | 42 | onos_app( |
| 43 | title = 'YANG Compiler and Runtime', |
| 44 | category = 'Utility', |
| 45 | url = 'http://onosproject.org', |
Thomas Vachuska | 7c45e28 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 46 | 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 Rama | 3c50361 | 2017-05-10 13:55:34 +0530 | [diff] [blame] | 50 | included_bundles = BUNDLES, |
| 51 | excluded_bundles = EXCLUDED_BUNDLES, |
Sithara Punnassery | 5deaab5 | 2017-03-06 14:23:07 -0800 | [diff] [blame] | 52 | ) |