Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 1 | osgi_feature ( |
| 2 | name="onos-thirdparty-base", |
| 3 | title="ONOS 3rd party dependencies", |
| 4 | required_features = [], |
| 5 | included_bundles = [ |
Madan Jampani | 630e7ac | 2016-05-31 11:34:05 -0700 | [diff] [blame] | 6 | '//lib:atomix', |
Jordan Halterman | 00e92da | 2018-05-22 23:05:52 -0700 | [diff] [blame] | 7 | '//lib:atomix-cluster', |
| 8 | '//lib:atomix-gossip', |
| 9 | '//lib:atomix-primary-backup', |
| 10 | '//lib:atomix-primitive', |
| 11 | '//lib:atomix-raft', |
| 12 | '//lib:atomix-storage', |
| 13 | '//lib:atomix-utils', |
Jordan Halterman | 6aca84c | 2018-07-31 13:33:13 -0700 | [diff] [blame] | 14 | '//lib:classgraph', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 15 | '//lib:commons-lang', |
| 16 | '//lib:commons-lang3', |
Yuta HIGUCHI | 825401e | 2018-02-27 13:23:25 -0800 | [diff] [blame] | 17 | '//lib:commons-text', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 18 | '//lib:commons-configuration', |
Jordan Halterman | 00e92da | 2018-05-22 23:05:52 -0700 | [diff] [blame] | 19 | '//lib:fast-classpath-scanner', |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 20 | '//lib:com_google_guava_guava', |
| 21 | '//lib:io_netty_netty', |
| 22 | '//lib:io_netty_netty_common', |
| 23 | '//lib:io_netty_netty_buffer', |
| 24 | '//lib:io_netty_netty_transport', |
| 25 | '//lib:io_netty_netty_handler', |
| 26 | '//lib:io_netty_netty_codec', |
Thomas Vachuska | 6771f4f | 2018-08-15 09:28:15 -0700 | [diff] [blame] | 27 | '//lib:io_netty_netty_transport_native_unix_common', |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 28 | '//lib:io_netty_netty_transport-native-epoll', |
| 29 | '//lib:io_netty_netty_resolver', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 30 | '//lib:commons-pool', |
| 31 | '//lib:commons-math3', |
| 32 | '//lib:joda-time', |
| 33 | '//lib:metrics-core', |
| 34 | '//lib:metrics-json', |
| 35 | '//lib:minimal-json', |
| 36 | '//lib:kryo', |
| 37 | '//lib:reflectasm', |
| 38 | '//lib:asm', |
| 39 | '//lib:minlog', |
| 40 | '//lib:objenesis', |
| 41 | '//lib:jackson-core', |
| 42 | '//lib:jackson-annotations', |
| 43 | '//lib:jackson-databind', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 44 | '//lib:commons-collections', |
| 45 | '//lib:typesafe-config', |
| 46 | '//lib:concurrent-trees', |
| 47 | '//lib:commons-io', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 48 | '//lib:jersey-client', |
| 49 | '//lib:mapdb', |
Holger Schulz | 092cbbf | 2017-08-31 17:52:30 +0200 | [diff] [blame] | 50 | '//lib:bcpkix-jdk15on', |
| 51 | '//lib:bcprov-jdk15on', |
hiroki | 0bd58bb | 2018-05-14 22:18:23 -0700 | [diff] [blame] | 52 | '//lib:commons-jxpath', # FIXME: move xpath lib dependency to the right place |
| 53 | '//lib:commons-beanutils', # jxpath dependency |
| 54 | '//lib:jdom', # jxpath dependency |
kdarapu | 97843dc | 2018-05-10 12:46:32 +0530 | [diff] [blame] | 55 | '//lib:sigar', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 56 | ] |
| 57 | ) |
| 58 | |
| 59 | osgi_feature ( |
| 60 | name="onos-thirdparty-web", |
| 61 | title="ONOS 3rd party dependencies for web apps", |
| 62 | required_features = [ 'war', 'onos-thirdparty-base' ], |
| 63 | included_bundles = [ |
| 64 | '//lib:jersey-common', |
Carmelo Cascone | 72893b7 | 2018-08-09 00:59:06 -0700 | [diff] [blame] | 65 | '//lib:javax.annotation-api-mvn', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 66 | '//lib:javax.ws.rs-api', |
| 67 | '//lib:hk2-api', |
| 68 | '//lib:hk2-locator', |
| 69 | '//lib:hk2-osgi-resource-locator', |
| 70 | '//lib:javax.inject', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 71 | '//lib:jersey-server', |
Jian Li | 5d505f24 | 2018-02-24 01:45:31 +0900 | [diff] [blame] | 72 | '//lib:jersey-hk2', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 73 | '//lib:aopalliance-repackaged', |
| 74 | '//lib:hk2-utils', |
| 75 | '//lib:validation-api', |
| 76 | '//lib:javassist', |
| 77 | '//lib:jersey-container-servlet', |
| 78 | '//lib:jersey-container-servlet-core', |
| 79 | '//lib:jersey-media-multipart', |
| 80 | '//lib:mimepull', |
| 81 | ] |
| 82 | ) |
| 83 | |
| 84 | osgi_feature ( |
| 85 | name = 'onos-api', |
| 86 | title = 'ONOS services and model API', |
| 87 | required_features = ['scr', 'onos-thirdparty-base'], |
| 88 | included_bundles =[ |
| 89 | '//utils/misc:onlab-misc', |
| 90 | '//utils/osgi:onlab-osgi', |
| 91 | '//core/api:onos-api', |
| 92 | '//incubator/api:onos-incubator-api', |
| 93 | ] |
| 94 | ) |
| 95 | |
| 96 | osgi_feature ( |
| 97 | name='onos-core', |
| 98 | title='ONOS core components', |
| 99 | required_features = ['onos-api'], |
| 100 | included_bundles = [ |
| 101 | '//core/net:onos-core-net', |
| 102 | '//core/common:onos-core-common', |
| 103 | '//core/store/dist:onos-core-dist', |
| 104 | '//core/store/primitives:onos-core-primitives', |
| 105 | '//core/store/persistence:onos-core-persistence', |
| 106 | '//core/store/serializers:onos-core-serializers', |
| 107 | ] |
| 108 | ) |
| 109 | |
| 110 | osgi_feature ( |
| 111 | name='onos-incubator', |
| 112 | title='ONOS core incubator components', |
| 113 | required_features = ['onos-core'], |
| 114 | included_bundles = [ |
| 115 | '//incubator/net:onos-incubator-net', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 116 | '//incubator/store:onos-incubator-store', |
| 117 | '//incubator/rpc:onos-incubator-rpc', |
| 118 | ] |
| 119 | ) |
| 120 | |
| 121 | osgi_feature ( |
| 122 | name="onos-rest", |
| 123 | title="ONOS REST API components", |
| 124 | required_features = ['onos-api', 'onos-thirdparty-web'], |
| 125 | included_bundles = [ |
| 126 | '//utils/rest:onlab-rest', |
| 127 | '//web/api:onos-rest', |
| 128 | ] |
| 129 | ) |
| 130 | |
| 131 | osgi_feature ( |
| 132 | name = 'onos-gui', |
| 133 | title = 'ONOS GUI console components', |
| 134 | required_features = ['onos-api', 'onos-thirdparty-web'], |
| 135 | included_bundles = [ |
| 136 | '//lib:jetty-websocket', |
| 137 | '//utils/rest:onlab-rest', |
| 138 | '//web/gui:onos-gui', |
| 139 | ] |
| 140 | ) |
| 141 | |
| 142 | osgi_feature ( |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 143 | name = 'onos-gui2', |
| 144 | title = 'ONOS GUI2 console components', |
| 145 | required_features = ['onos-api', 'onos-thirdparty-web'], |
| 146 | included_bundles = [ |
| 147 | '//lib:jetty-websocket', |
| 148 | '//utils/rest:onlab-rest', |
| 149 | '//web/gui2:onos-gui2', |
| 150 | ] |
| 151 | ) |
| 152 | |
| 153 | osgi_feature ( |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 154 | name = 'onos-cli', |
| 155 | title="ONOS admin command console components", |
| 156 | required_features = ['onos-api'], |
| 157 | included_bundles = [ |
| 158 | '//cli:onos-cli', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 159 | ] |
| 160 | ) |
| 161 | |
Heedo Kang | 611a065 | 2017-09-05 12:26:30 +0900 | [diff] [blame] | 162 | osgi_feature ( |
| 163 | name = 'onos-security', |
| 164 | title="Security-Mode ONOS", |
| 165 | required_features = ['onos-api'], |
| 166 | included_bundles = [ |
| 167 | '//lib:org.apache.felix.framework.security', |
| 168 | '//core/security:onos-security', |
| 169 | ] |
| 170 | ) |
Thomas Vachuska | f25c248 | 2018-06-12 13:18:45 -0700 | [diff] [blame] | 171 | |
| 172 | compile_features( |
| 173 | name = 'onos-features', |
| 174 | features = FEATURES, |
| 175 | maven_coords = 'org.onosproject:onos-features:xml:features:' + ONOS_VERSION, |
| 176 | ) |