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