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 | 7947be9 | 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', |
| 39 | ] |
| 40 | ) |
| 41 | |
| 42 | osgi_feature ( |
| 43 | name="onos-thirdparty-web", |
| 44 | title="ONOS 3rd party dependencies for web apps", |
| 45 | required_features = [ 'war', 'onos-thirdparty-base' ], |
| 46 | included_bundles = [ |
| 47 | '//lib:jersey-common', |
| 48 | '//lib:javax.annotation-api', |
| 49 | '//lib:javax.ws.rs-api', |
| 50 | '//lib:hk2-api', |
| 51 | '//lib:hk2-locator', |
| 52 | '//lib:hk2-osgi-resource-locator', |
| 53 | '//lib:javax.inject', |
| 54 | '//lib:jersey-guava', |
| 55 | '//lib:jersey-server', |
| 56 | '//lib:aopalliance-repackaged', |
| 57 | '//lib:hk2-utils', |
| 58 | '//lib:validation-api', |
| 59 | '//lib:javassist', |
| 60 | '//lib:jersey-container-servlet', |
| 61 | '//lib:jersey-container-servlet-core', |
| 62 | '//lib:jersey-media-multipart', |
| 63 | '//lib:mimepull', |
| 64 | ] |
| 65 | ) |
| 66 | |
| 67 | osgi_feature ( |
| 68 | name = 'onos-api', |
| 69 | title = 'ONOS services and model API', |
| 70 | required_features = ['scr', 'onos-thirdparty-base'], |
| 71 | included_bundles =[ |
| 72 | '//utils/misc:onlab-misc', |
| 73 | '//utils/osgi:onlab-osgi', |
| 74 | '//core/api:onos-api', |
| 75 | '//incubator/api:onos-incubator-api', |
| 76 | ] |
| 77 | ) |
| 78 | |
| 79 | osgi_feature ( |
| 80 | name='onos-core', |
| 81 | title='ONOS core components', |
| 82 | required_features = ['onos-api'], |
| 83 | included_bundles = [ |
| 84 | '//core/net:onos-core-net', |
| 85 | '//core/common:onos-core-common', |
| 86 | '//core/store/dist:onos-core-dist', |
| 87 | '//core/store/primitives:onos-core-primitives', |
| 88 | '//core/store/persistence:onos-core-persistence', |
| 89 | '//core/store/serializers:onos-core-serializers', |
| 90 | ] |
| 91 | ) |
| 92 | |
| 93 | osgi_feature ( |
| 94 | name='onos-incubator', |
| 95 | title='ONOS core incubator components', |
| 96 | required_features = ['onos-core'], |
| 97 | included_bundles = [ |
| 98 | '//incubator/net:onos-incubator-net', |
| 99 | '//incubator/core:onos-incubator-core', |
| 100 | '//incubator/store:onos-incubator-store', |
| 101 | '//incubator/rpc:onos-incubator-rpc', |
| 102 | ] |
| 103 | ) |
| 104 | |
| 105 | osgi_feature ( |
| 106 | name="onos-rest", |
| 107 | title="ONOS REST API components", |
| 108 | required_features = ['onos-api', 'onos-thirdparty-web'], |
| 109 | included_bundles = [ |
| 110 | '//utils/rest:onlab-rest', |
| 111 | '//web/api:onos-rest', |
| 112 | ] |
| 113 | ) |
| 114 | |
| 115 | osgi_feature ( |
| 116 | name = 'onos-gui', |
| 117 | title = 'ONOS GUI console components', |
| 118 | required_features = ['onos-api', 'onos-thirdparty-web'], |
| 119 | included_bundles = [ |
| 120 | '//lib:jetty-websocket', |
| 121 | '//utils/rest:onlab-rest', |
| 122 | '//web/gui:onos-gui', |
| 123 | ] |
| 124 | ) |
| 125 | |
| 126 | osgi_feature ( |
| 127 | name = 'onos-cli', |
| 128 | title="ONOS admin command console components", |
| 129 | required_features = ['onos-api'], |
| 130 | included_bundles = [ |
| 131 | '//cli:onos-cli', |
Brian O'Connor | 807ed4a | 2016-04-29 17:10:44 -0700 | [diff] [blame] | 132 | ] |
| 133 | ) |
| 134 | |
| 135 | #FIXME |
| 136 | # osgi_feature ( |
| 137 | # name = 'onos-security', |
| 138 | # title="Security-Mode ONOS", |
| 139 | # required_features = ['onos-api'], |
| 140 | # included_bundles = [ |
| 141 | # 'org.onosproject/org.apache.felix.framework.security/2.2.0.onos', |
| 142 | # 'org.onosproject/onos-security/@ONOS-VERSION', |
| 143 | # ] |
| 144 | # ) |
| 145 | |