Details
-
Dependency upgrade
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.3.0
-
None
-
None
-
Unknown
Description
currently on 1.20.4.Final, upgrade to 2.2.2.Final requires manual changes https://github.com/apache/camel/pull/12545#issuecomment-1866793880
[ERROR] org.apache.camel.component.elytron.ElytronBearerTokenTest.testBearerTokenBadRole -- Time elapsed: 0.919 s <<< FAILURE! org.opentest4j.AssertionFailedError: expected: <403> but was: <500> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531) at org.apache.camel.component.elytron.ElytronBearerTokenTest.testBearerTokenBadRole(ElytronBearerTokenTest.java:95) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [ERROR] org.apache.camel.component.elytron.ElytronBearerTokenTest.testBearerToken -- Time elapsed: 0.027 s <<< ERROR! org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[] at org.apache.camel.CamelExecutionException.wrapCamelExecutionException(CamelExecutionException.java:45) at org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:671) at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:591) at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:587) at org.apache.camel.impl.engine.DefaultProducerTemplate.requestBodyAndHeader(DefaultProducerTemplate.java:431) at org.apache.camel.component.elytron.ElytronBearerTokenTest.testBearerToken(ElytronBearerTokenTest.java:75) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) Caused by: org.apache.camel.http.base.HttpOperationFailedException: HTTP operation failed invoking http://localhost:45917/myapp with statusCode: 500 at org.apache.camel.component.undertow.UndertowClientCallback.lambda$setupResponseListener$2(UndertowClientCallback.java:221) at org.apache.camel.component.undertow.UndertowClientCallback$ErrorHandlingClientCallback.completed(UndertowClientCallback.java:78) at io.undertow.client.http.HttpClientExchange.setResponse(HttpClientExchange.java:125) at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:670) at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:535) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
Attachments
Issue Links
- links to