@@ -3,9 +3,6 @@ import org.elasticsearch.gradle.PropertyNormalization
3
3
import org.elasticsearch.gradle.internal.info.BuildParams
4
4
import org.elasticsearch.gradle.internal.test.InternalClusterTestPlugin
5
5
6
- import static org.elasticsearch.gradle.PropertyNormalization.DEFAULT
7
- import static org.elasticsearch.gradle.PropertyNormalization.IGNORE_VALUE
8
-
9
6
/*
10
7
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
11
8
* or more contributor license agreements. Licensed under the Elastic License
@@ -62,26 +59,20 @@ dependencies {
62
59
api " com.fasterxml.woodstox:woodstox-core:${ versions.woodstox} "
63
60
64
61
// netty
65
- api " io.netty:netty-buffer:${ versions.netty} "
66
62
api " io.netty:netty-codec-dns:${ versions.netty} "
67
- api " io.netty:netty-codec-http:${ versions.netty} "
68
63
api " io.netty:netty-codec-http2:${ versions.netty} "
69
64
api " io.netty:netty-codec-socks:${ versions.netty} "
70
- api " io.netty:netty-codec:${ versions.netty} "
71
- api " io.netty:netty-common:${ versions.netty} "
72
65
api " io.netty:netty-handler-proxy:${ versions.netty} "
73
- api " io.netty:netty-handler:${ versions.netty} "
74
- api " io.netty:netty-resolver:${ versions.netty} "
75
66
api " io.netty:netty-resolver-dns:${ versions.netty} "
76
- api " io.netty:netty-transport:${ versions.netty} "
77
- api " io.netty:netty-transport-native-unix-common:${ versions.netty} "
78
67
79
68
// reactor
80
69
api " io.projectreactor.netty:reactor-netty-core:${ versions.reactorNetty} "
81
70
api " io.projectreactor.netty:reactor-netty-http:${ versions.reactorNetty} "
82
71
api " io.projectreactor:reactor-core:${ versions.reactorCore} "
83
72
api " org.reactivestreams:reactive-streams:${ versions.reactiveStreams} "
84
73
74
+ implementation project(" :modules:transport-netty4" )
75
+
85
76
runtimeOnly(" org.slf4j:slf4j-api:${ versions.slf4j} " )
86
77
runtimeOnly(" org.apache.logging.log4j:log4j-slf4j-impl:${ versions.log4j} " )
87
78
@@ -116,14 +107,6 @@ tasks.named("dependencyLicenses").configure {
116
107
117
108
tasks. named(" thirdPartyAudit" ). configure {
118
109
ignoreMissingClasses(
119
- ' com.aayushatharva.brotli4j.Brotli4jLoader' ,
120
- ' com.aayushatharva.brotli4j.decoder.DecoderJNI$Status' ,
121
- ' com.aayushatharva.brotli4j.decoder.DecoderJNI$Wrapper' ,
122
- ' com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel' ,
123
- ' com.aayushatharva.brotli4j.encoder.Encoder' ,
124
- ' com.aayushatharva.brotli4j.encoder.Encoder$Mode' ,
125
- ' com.aayushatharva.brotli4j.encoder.Encoder$Parameters' ,
126
-
127
110
' com.azure.storage.internal.avro.implementation.AvroObject' ,
128
111
' com.azure.storage.internal.avro.implementation.AvroReader' ,
129
112
' com.azure.storage.internal.avro.implementation.AvroReaderFactory' ,
@@ -162,103 +145,6 @@ tasks.named("thirdPartyAudit").configure {
162
145
' kotlin.reflect.KDeclarationContainer' ,
163
146
' kotlin.sequences.Sequence' ,
164
147
165
- // from io.netty.handler.codec.protobuf.ProtobufDecoder (netty)
166
- ' com.google.protobuf.ExtensionRegistry' ,
167
- ' com.google.protobuf.MessageLite$Builder' ,
168
- ' com.google.protobuf.MessageLite' ,
169
- ' com.google.protobuf.Parser' ,
170
- ' com.google.protobuf.ExtensionRegistryLite' ,
171
- ' com.google.protobuf.MessageLiteOrBuilder' ,
172
- ' com.google.protobuf.nano.CodedOutputByteBufferNano' ,
173
- ' com.google.protobuf.nano.MessageNano' ,
174
-
175
- // from io.netty.logging.CommonsLoggerFactory (netty)
176
- ' org.apache.commons.logging.Log' ,
177
- ' org.apache.commons.logging.LogFactory' ,
178
-
179
- // from Log4j (deliberate, Netty will fallback to Log4j 2)
180
- ' org.apache.log4j.Level' ,
181
- ' org.apache.log4j.Logger' ,
182
-
183
- // from io.netty.handler.ssl.util.BouncyCastleSelfSignedCertGenerator (netty)
184
- ' org.bouncycastle.cert.X509v3CertificateBuilder' ,
185
- ' org.bouncycastle.cert.jcajce.JcaX509CertificateConverter' ,
186
- ' org.bouncycastle.operator.jcajce.JcaContentSignerBuilder' ,
187
- ' org.bouncycastle.openssl.PEMEncryptedKeyPair' ,
188
- ' org.bouncycastle.openssl.PEMParser' ,
189
- ' org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter' ,
190
- ' org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder' ,
191
- ' org.bouncycastle.openssl.jcajce.JcePEMDecryptorProviderBuilder' ,
192
- ' org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo' ,
193
-
194
- // from io.netty.handler.ssl.JettyNpnSslEngine (netty)
195
- ' org.eclipse.jetty.npn.NextProtoNego$ClientProvider' ,
196
- ' org.eclipse.jetty.npn.NextProtoNego$ServerProvider' ,
197
- ' org.eclipse.jetty.npn.NextProtoNego' ,
198
-
199
- // from io.netty.handler.codec.marshalling.ChannelBufferByteInput (netty)
200
- ' org.jboss.marshalling.ByteInput' ,
201
-
202
- // from io.netty.handler.codec.marshalling.ChannelBufferByteOutput (netty)
203
- ' org.jboss.marshalling.ByteOutput' ,
204
-
205
- // from io.netty.handler.codec.marshalling.CompatibleMarshallingEncoder (netty)
206
- ' org.jboss.marshalling.Marshaller' ,
207
-
208
- // from io.netty.handler.codec.marshalling.ContextBoundUnmarshallerProvider (netty)
209
- ' org.jboss.marshalling.MarshallerFactory' ,
210
- ' org.jboss.marshalling.MarshallingConfiguration' ,
211
- ' org.jboss.marshalling.Unmarshaller' ,
212
-
213
- // from io.netty.handler.codec.spdy.SpdyHeaderBlockJZlibEncoder (netty-codec-http)
214
- ' com.jcraft.jzlib.Deflater' ,
215
- ' com.jcraft.jzlib.Inflater' ,
216
- ' com.jcraft.jzlib.JZlib$WrapperType' ,
217
- ' com.jcraft.jzlib.JZlib' ,
218
-
219
- ' com.github.luben.zstd.Zstd' ,
220
-
221
- // from io.netty.handler.codec.compression.LzfDecoder
222
- // from io.netty.handler.codec.compression.LzfEncoder (netty-codec)
223
- ' com.ning.compress.BufferRecycler' ,
224
- ' com.ning.compress.lzf.ChunkDecoder' ,
225
- ' com.ning.compress.lzf.ChunkEncoder' ,
226
- ' com.ning.compress.lzf.LZFChunk' ,
227
- ' com.ning.compress.lzf.LZFEncoder' ,
228
- ' com.ning.compress.lzf.util.ChunkDecoderFactory' ,
229
- ' com.ning.compress.lzf.util.ChunkEncoderFactory' ,
230
-
231
- // from io.netty.handler.codec.compression.LzmaFrameEncoder (netty-codec)
232
- ' lzma.sdk.lzma.Encoder' ,
233
-
234
- // from io.netty.handler.ssl.JettyAlpnSslEngin (netty-handler optional dependency)
235
- ' org.eclipse.jetty.alpn.ALPN$ClientProvider' ,
236
- ' org.eclipse.jetty.alpn.ALPN$ServerProvider' ,
237
- ' org.eclipse.jetty.alpn.ALPN' ,
238
-
239
- // from io.netty.handler.ssl.ConscryptAlpnSslEngine (netty-handler optional dependency)
240
- ' org.conscrypt.AllocatedBuffer' ,
241
- ' org.conscrypt.BufferAllocator' ,
242
- ' org.conscrypt.Conscrypt' ,
243
- ' org.conscrypt.HandshakeListener' ,
244
-
245
- // from io.netty.handler.ssl.OpenSslEngine (netty)
246
- ' io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod' ,
247
- ' io.netty.internal.tcnative.AsyncTask' ,
248
- ' io.netty.internal.tcnative.Buffer' ,
249
- ' io.netty.internal.tcnative.Library' ,
250
- ' io.netty.internal.tcnative.SSL' ,
251
- ' io.netty.internal.tcnative.SSLContext' ,
252
- ' io.netty.internal.tcnative.SSLPrivateKeyMethod' ,
253
- ' io.netty.internal.tcnative.CertificateCallback' ,
254
- ' io.netty.internal.tcnative.CertificateCompressionAlgo' ,
255
- ' io.netty.internal.tcnative.CertificateVerifier' ,
256
- ' io.netty.internal.tcnative.ResultCallback' ,
257
- ' io.netty.internal.tcnative.SessionTicketKey' ,
258
- ' io.netty.internal.tcnative.SniHostNameMatcher' ,
259
- ' io.netty.internal.tcnative.SSLSession' ,
260
- ' io.netty.internal.tcnative.SSLSessionCache' ,
261
-
262
148
// from io.netty.util.internal.Hidden (netty-common optional dependency)
263
149
' reactor.blockhound.BlockHound$Builder' ,
264
150
' reactor.blockhound.integration.BlockHoundIntegration' ,
@@ -294,26 +180,6 @@ tasks.named("thirdPartyAudit").configure {
294
180
)
295
181
296
182
ignoreViolations(
297
- ' io.netty.handler.ssl.util.OpenJdkSelfSignedCertGenerator' ,
298
-
299
- ' io.netty.util.internal.PlatformDependent0' ,
300
- ' io.netty.util.internal.PlatformDependent0$1' ,
301
- ' io.netty.util.internal.PlatformDependent0$2' ,
302
- ' io.netty.util.internal.PlatformDependent0$3' ,
303
- ' io.netty.util.internal.PlatformDependent0$4' ,
304
- ' io.netty.util.internal.PlatformDependent0$6' ,
305
- ' io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueConsumerNodeRef' ,
306
- ' io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueProducerNodeRef' ,
307
- ' io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields' ,
308
- ' io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields' ,
309
- ' io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields' ,
310
- ' io.netty.util.internal.shaded.org.jctools.queues.LinkedQueueNode' ,
311
- ' io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueConsumerIndexField' ,
312
- ' io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueProducerIndexField' ,
313
- ' io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueProducerLimitField' ,
314
- ' io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess' ,
315
- ' io.netty.util.internal.shaded.org.jctools.util.UnsafeRefArrayAccess' ,
316
-
317
183
' javax.activation.MailcapCommandMap' ,
318
184
' javax.activation.MimetypesFileTypeMap' ,
319
185
' reactor.core.publisher.Traces$SharedSecretsCallSiteSupplierFactory$TracingException' ,
0 commit comments