Thomas Vachuska | 9c04643 | 2018-07-11 09:46:35 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + ONOS_YANG + [ |
Ray Milkey | 6d94e9f | 2018-07-15 18:04:26 -0700 | [diff] [blame] | 2 | "//core/common:onos-core-common", |
| 3 | "@onos_yang_runtime//jar", |
Thomas Vachuska | 9c04643 | 2018-07-11 09:46:35 -0700 | [diff] [blame] | 4 | ] |
| 5 | |
| 6 | BUNDLES = ONOS_YANG + [ |
Ray Milkey | 6d94e9f | 2018-07-15 18:04:26 -0700 | [diff] [blame] | 7 | "@onos_yang_runtime//jar", |
| 8 | "//apps/yang:onos-apps-yang", |
| 9 | "//apps/yang/web:onos-apps-yang-web", |
| 10 | "@org_apache_servicemix_bundles_dom4j//jar", |
Thomas Vachuska | 9c04643 | 2018-07-11 09:46:35 -0700 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | EXCLUDED_BUNDLES = [ |
| 14 | ] |
| 15 | |
| 16 | osgi_jar_with_tests( |
Ray Milkey | d4595f1 | 2018-10-10 15:57:09 -0700 | [diff] [blame] | 17 | karaf_command_packages = ["org.onosproject.yang.impl"], |
Ray Milkey | 6d94e9f | 2018-07-15 18:04:26 -0700 | [diff] [blame] | 18 | deps = COMPILE_DEPS, |
Thomas Vachuska | 9c04643 | 2018-07-11 09:46:35 -0700 | [diff] [blame] | 19 | ) |
| 20 | |
| 21 | onos_app( |
Ray Milkey | 6d94e9f | 2018-07-15 18:04:26 -0700 | [diff] [blame] | 22 | category = "Utility", |
| 23 | description = "Provides ability to register compiled YANG models or even to compile YANG source " + |
| 24 | "files on the fly. Registering YANG models allows other ONOS subsystems to interact with " + |
| 25 | "orchestrators or individual network devices using XML or JSON data structured in accordance " + |
| 26 | "with those models.", |
| 27 | excluded_bundles = EXCLUDED_BUNDLES, |
| 28 | included_bundles = BUNDLES, |
| 29 | title = "YANG Compiler and Runtime", |
| 30 | url = "http://onosproject.org", |
Thomas Vachuska | 9c04643 | 2018-07-11 09:46:35 -0700 | [diff] [blame] | 31 | ) |