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', |
| 9 | '//lib:commons-configuration', |
| 10 | '//lib:guava', |
| 11 | '//lib:netty', |
| 12 | '//lib:netty-common', |
| 13 | '//lib:netty-buffer', |
| 14 | '//lib:netty-transport', |
| 15 | '//lib:netty-handler', |
| 16 | '//lib:netty-codec', |
| 17 | '//lib:netty-transport-native-epoll', |
Jonathan Hart | 5dc9a4e | 2017-01-13 09:09:57 -0800 | [diff] [blame] | 18 | '//lib:netty-resolver', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 19 | '//lib:commons-pool', |
| 20 | '//lib:commons-math3', |
| 21 | '//lib:joda-time', |
| 22 | '//lib:metrics-core', |
| 23 | '//lib:metrics-json', |
| 24 | '//lib:minimal-json', |
| 25 | '//lib:kryo', |
| 26 | '//lib:reflectasm', |
| 27 | '//lib:asm', |
| 28 | '//lib:minlog', |
| 29 | '//lib:objenesis', |
| 30 | '//lib:jackson-core', |
| 31 | '//lib:jackson-annotations', |
| 32 | '//lib:jackson-databind', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 33 | '//lib:commons-collections', |
| 34 | '//lib:typesafe-config', |
| 35 | '//lib:concurrent-trees', |
| 36 | '//lib:commons-io', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 37 | '//lib:jersey-client', |
| 38 | '//lib:mapdb', |
Holger Schulz | 092cbbf | 2017-08-31 17:52:30 +0200 | [diff] [blame^] | 39 | '//lib:bcpkix-jdk15on', |
| 40 | '//lib:bcprov-jdk15on', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 41 | ] |
| 42 | ) |
| 43 | |
| 44 | osgi_feature ( |
| 45 | name="onos-thirdparty-web", |
| 46 | title="ONOS 3rd party dependencies for web apps", |
| 47 | required_features = [ 'war', 'onos-thirdparty-base' ], |
| 48 | included_bundles = [ |
| 49 | '//lib:jersey-common', |
| 50 | '//lib:javax.annotation-api', |
| 51 | '//lib:javax.ws.rs-api', |
| 52 | '//lib:hk2-api', |
| 53 | '//lib:hk2-locator', |
| 54 | '//lib:hk2-osgi-resource-locator', |
| 55 | '//lib:javax.inject', |
| 56 | '//lib:jersey-guava', |
| 57 | '//lib:jersey-server', |
| 58 | '//lib:aopalliance-repackaged', |
| 59 | '//lib:hk2-utils', |
| 60 | '//lib:validation-api', |
| 61 | '//lib:javassist', |
| 62 | '//lib:jersey-container-servlet', |
| 63 | '//lib:jersey-container-servlet-core', |
| 64 | '//lib:jersey-media-multipart', |
| 65 | '//lib:mimepull', |
| 66 | ] |
| 67 | ) |
| 68 | |
| 69 | osgi_feature ( |
| 70 | name = 'onos-api', |
| 71 | title = 'ONOS services and model API', |
| 72 | required_features = ['scr', 'onos-thirdparty-base'], |
| 73 | included_bundles =[ |
| 74 | '//utils/misc:onlab-misc', |
| 75 | '//utils/osgi:onlab-osgi', |
| 76 | '//core/api:onos-api', |
| 77 | '//incubator/api:onos-incubator-api', |
| 78 | ] |
| 79 | ) |
| 80 | |
| 81 | osgi_feature ( |
| 82 | name='onos-core', |
| 83 | title='ONOS core components', |
| 84 | required_features = ['onos-api'], |
| 85 | included_bundles = [ |
| 86 | '//core/net:onos-core-net', |
| 87 | '//core/common:onos-core-common', |
| 88 | '//core/store/dist:onos-core-dist', |
| 89 | '//core/store/primitives:onos-core-primitives', |
| 90 | '//core/store/persistence:onos-core-persistence', |
| 91 | '//core/store/serializers:onos-core-serializers', |
| 92 | ] |
| 93 | ) |
| 94 | |
| 95 | osgi_feature ( |
| 96 | name='onos-incubator', |
| 97 | title='ONOS core incubator components', |
| 98 | required_features = ['onos-core'], |
| 99 | included_bundles = [ |
| 100 | '//incubator/net:onos-incubator-net', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 101 | '//incubator/store:onos-incubator-store', |
| 102 | '//incubator/rpc:onos-incubator-rpc', |
| 103 | ] |
| 104 | ) |
| 105 | |
| 106 | osgi_feature ( |
| 107 | name="onos-rest", |
| 108 | title="ONOS REST API components", |
| 109 | required_features = ['onos-api', 'onos-thirdparty-web'], |
| 110 | included_bundles = [ |
| 111 | '//utils/rest:onlab-rest', |
| 112 | '//web/api:onos-rest', |
| 113 | ] |
| 114 | ) |
| 115 | |
| 116 | osgi_feature ( |
| 117 | name = 'onos-gui', |
| 118 | title = 'ONOS GUI console components', |
| 119 | required_features = ['onos-api', 'onos-thirdparty-web'], |
| 120 | included_bundles = [ |
| 121 | '//lib:jetty-websocket', |
| 122 | '//utils/rest:onlab-rest', |
| 123 | '//web/gui:onos-gui', |
| 124 | ] |
| 125 | ) |
| 126 | |
| 127 | osgi_feature ( |
| 128 | name = 'onos-cli', |
| 129 | title="ONOS admin command console components", |
| 130 | required_features = ['onos-api'], |
| 131 | included_bundles = [ |
| 132 | '//cli:onos-cli', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 133 | ] |
| 134 | ) |
| 135 | |
| 136 | #FIXME |
| 137 | # osgi_feature ( |
| 138 | # name = 'onos-security', |
| 139 | # title="Security-Mode ONOS", |
| 140 | # required_features = ['onos-api'], |
| 141 | # included_bundles = [ |
| 142 | # 'org.onosproject/org.apache.felix.framework.security/2.2.0.onos', |
| 143 | # 'org.onosproject/onos-security/@ONOS-VERSION', |
| 144 | # ] |
| 145 | # ) |
| 146 | |