i-Cell-Mobilsoft-Open-Source / roaster

Developer and Integration test framework based on coff:ee
https://i-cell-mobilsoft-open-source.github.io/roaster/
Apache License 2.0
11 stars 6 forks source link

TM4J nem működik, ha a roaster-restassured is a függőségek között van #106

Closed martin-nagy closed 1 year ago

martin-nagy commented 1 year ago

Valószínűleg valami elrontja a @JsonIgnoreProperties(ignoreUnknown = true) annotációt a hu.icellmobilsoft.roaster.tm4j.common.client.api.JiraRestClient#getSelf metóduson, ha a roaster-jaxrs is a classpath-on van.

Stacktrace:

[2023-01-04T13:28:50.893Z] #18 45.43 javax.ws.rs.ProcessingException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "self" (class hu.icellmobilsoft.roaster.tm4j.dto.domain.jira.User), not marked as ignorable (2 known properties: "name", "key"])
[2023-01-04T13:28:50.893Z] #18 45.44  at [Source: (org.jboss.resteasy.specimpl.AbstractBuiltResponse$InputStreamWrapper); line: 1, column: 10] (through reference chain: hu.icellmobilsoft.roaster.tm4j.dto.domain.jira.User["self"])
[2023-01-04T13:28:50.893Z] #18 45.44    at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readFrom(ClientResponse.java:254)
[2023-01-04T13:28:50.893Z] #18 45.44    at org.jboss.resteasy.specimpl.BuiltResponse.readEntity(BuiltResponse.java:90)
[2023-01-04T13:28:50.893Z] #18 45.45    at org.jboss.resteasy.specimpl.AbstractBuiltResponse.readEntity(AbstractBuiltResponse.java:256)
[2023-01-04T13:28:50.894Z] #18 45.45    at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:167)
[2023-01-04T13:28:50.894Z] #18 45.45    at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.BodyEntityExtractor.extractEntity(BodyEntityExtractor.java:64)
[2023-01-04T13:28:50.894Z] #18 45.45    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:154)
[2023-01-04T13:28:50.894Z] #18 45.45    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:115)
[2023-01-04T13:28:50.894Z] #18 45.45    at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:76)
[2023-01-04T13:28:50.894Z] #18 45.45    at com.sun.proxy.$Proxy157.getSelf(Unknown Source)
[2023-01-04T13:28:50.894Z] #18 45.45    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-01-04T13:28:50.894Z] #18 45.45    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-01-04T13:28:50.894Z] #18 45.45    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-01-04T13:28:50.894Z] #18 45.45    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2023-01-04T13:28:50.894Z] #18 45.45    at org.jboss.resteasy.microprofile.client.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:146)
[2023-01-04T13:28:50.894Z] #18 45.45    at com.sun.proxy.$Proxy158.getSelf(Unknown Source)
[2023-01-04T13:28:50.894Z] #18 45.45    at hu.icellmobilsoft.roaster.tm4j.common.client.RestTm4jService.lambda$getUserKey$0(RestTm4jService.java:121)
[2023-01-04T13:28:50.894Z] #18 45.45    at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1133)
[2023-01-04T13:28:50.894Z] #18 45.45    at hu.icellmobilsoft.roaster.tm4j.common.client.RestTm4jService.getUserKey(RestTm4jService.java:121)
[2023-01-04T13:28:50.894Z] #18 45.45    at hu.icellmobilsoft.roaster.tm4j.common.RestTm4jReporter.createExecution(RestTm4jReporter.java:148)
[2023-01-04T13:28:50.894Z] #18 45.45    at hu.icellmobilsoft.roaster.tm4j.common.RestTm4jReporter.reportSuccess(RestTm4jReporter.java:90)
[2023-01-04T13:28:50.894Z] #18 45.45    at hu.icellmobilsoft.roaster.tm4j.junit5.Tm4jExtension.testSuccessful(Tm4jExtension.java:81)