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