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