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