-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KOGITO-5823] Supporting uppercase properties #3210
Conversation
* clashes with a predefined Java keyword (e.g. `static`) | ||
*/ | ||
private static final String VAR_PREFIX = "v$"; | ||
private static final ObjectMapper mapper = JsonMapper.builder().disable(MapperFeature.AUTO_DETECT_CREATORS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are only using JsonPRoperty annotated fields, see for example the generated model class from codegen
@org.kie.kogito.codegen.Generated(value = "kogito-codegen", reference = "scripts", name = "Scripts", hidden = false)
public class ScriptsModel implements org.kie.kogito.Model, MapInput, MapInputId, MapOutput, MappableToModel<ScriptsModelOutput> {
private String id;
public void setId(String id) {
this.id = id;
}
public String getId() {
return this.id;
}
@org.kie.kogito.codegen.VariableInfo(tags = "")
@com.fasterxml.jackson.annotation.JsonProperty(value = "Message")
@javax.validation.Valid()
private java.lang.String Message;
public java.lang.String getMessage() {
return Message;
}
public void setMessage(java.lang.String Message) {
this.Message = Message;
}
@org.kie.kogito.codegen.VariableInfo(tags = "")
@com.fasterxml.jackson.annotation.JsonProperty(value = "name")
@javax.validation.Valid()
private java.lang.String name;
public java.lang.String getName() {
return name;
}
public void setName(java.lang.String name) {
this.name = name;
}
@Override()
public ScriptsModelOutput toModel() {
ScriptsModelOutput result = new ScriptsModelOutput();
result.setId(getId());
result.setMessage(getMessage());
result.setName(getName());
return result;
}
}
if (jsonAnnotation != null) { | ||
String name = jsonAnnotation.value(); | ||
if (map.containsKey(name)) { | ||
field.setAccessible(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The setter is ignored to use the field, but they are equivalent, therefore same result expected
"No `id` property found for class `%s`. Have you defined getters and setters?", | ||
m.getClass().getCanonicalName())); | ||
} catch (IntrospectionException | ReflectiveOperationException e) { | ||
m.getClass().getMethod("setId", String.class).invoke(m, id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming there is always a setId method in the model class
|
||
for (Map.Entry<String, PropertyDescriptor> e : descriptors.entrySet()) { | ||
String k = e.getKey(); | ||
if (isIdentifier(k)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Id is not annotated, so not specific logic to handle it is longer needed
LOGGER.trace("Models#toMap: Skipping `id` property for class `{}`", m.getClass().getCanonicalName()); | ||
continue; | ||
} | ||
k = unprefixVar(k); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are using the JacksonProperty name (which matched the map one), so not need to handle $vprefix either
Thank you for including me, but I feel this kind of overall decisions/improvements should also be oversight by @baldimir as Tech Lead for DMN as for the impact it has on integration of process and decisions for DMN models and case sensitivity of FEEL/DMN identifiers. |
(tests) - kogito-springboot-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.flexible.example.springboot.ServiceDeskProcessTest.testSupportCaseExample1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.PersonsProcessTest.testAdultNo serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])org.acme.travels.PersonsProcessTest.testChildNo serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnSprinboot1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnSprinboot1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnSprinboot1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. org.acme.travel.tests.multimessaging.springboot.MultiMessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.tests.messaging.springboot.MessagingIT.testProcessexpected: <0> but was: <3>org.kie.kogito.examples.springboot.ProcessMetricsTest.testProcessMetricsSpringboot1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.springboot.outbox.OutboxIT.testSendProcessEvents1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.springboot.TravellersProcessTest.testOrderProcessNo serializer found for class org.acme.travels.springboot.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravellersModel["traveller"])org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessNo serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])org.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessWithErrorNo serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithErrorRest1 expectation failed.Expected status code <500> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testOrdersRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testCreateAndUpdateOrders1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsAbortedRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicyNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicyNotAuthorizedNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsAdultNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsChildNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testAdultPersonsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testPersonsRestStartFromUserTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicy1 expectation failed.Expected status code <201> but was <400>. org.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.ApprovalsTestIT.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.ApprovalsTestIT.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.ApprovalsProcessTestIT.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.ApprovalsProcessTestIT.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <400>. Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.security.springboot.ApprovalsRestTest.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. |
(tests) - serverless-workflow-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kogito.serverless.examples.CountryServiceWorkflowTest.testJsonServiceCallWorkflowexpected: <2> but was: <5> |
(tests) - kogito-runtimes job Reproducerexport BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBusinessRuleTaskWithIOExpressionNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskWithAgendaListenerNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskControlledByUnitOfWorkNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[1]No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[2]No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[1]No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[2]No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[1]No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[2]No serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.codegen.tests.BusinessRuleUnitModel["person"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMappingAutoGeneratedRuleUnitNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExampleGeneratedModel["singlePerson"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testSettingOtherVariableFromAutoGeneratedRuleUnitNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExampleGeneratedModel["singlePerson"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.inputMappingNullCollectionNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExamplePModel["singlePerson"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.outputMappingNullCollectionNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExamplePModel["singlePerson"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testRemovingOtherVariableFromAutoGeneratedRuleUnitNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExampleGeneratedModel["singlePerson"])org.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMappingNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: ruletask.ExamplePModel["singlePerson"])org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndWithVariableTrackedNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndAbortOfUoWNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.BusinessRuleTaskModel["person"])org.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIONo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.ParentProcessModel["person"])org.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIONestedNo serializer found for class org.kie.kogito.codegen.data.PersonWithAddress and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.ParentProcessModel["person"])org.kie.kogito.codegen.tests.EmbeddedSubProcessIT.testEmbeddedSubProcessWithUserTaskAndVariableScopesNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.EmbeddedWithUserTaskModel["person"])org.kie.kogito.codegen.tests.EmbeddedSubProcessIT.testEmbeddedSubProcessNo serializer found for class org.drools.bpmn2.SubProcessModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)org.kie.kogito.codegen.tests.EventSubProcessIT.testEventSignalSubProcessWithDataNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: defaultPackage.EventSubprocessSignalModel["person"])org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[1]expected: 2 but was: 5 org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[2]expected: 2 but was: 5 org.kie.kogito.codegen.tests.TimerEventIT.testBoundaryDurationTimerEventOnSubProcessNo serializer found for class org.drools.bpmn2.TimerBoundaryEventModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)org.kie.kogito.codegen.tests.TimerEventIT.testBoundaryDurationTimerEventOnTaskNo serializer found for class org.drools.bpmn2.TimerBoundaryEventModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)org.kie.kogito.codegen.tests.TimerEventIT.testBoundaryCycleTimerEventOnTaskNo serializer found for class org.drools.bpmn2.TimerBoundaryEventModel and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)org.kie.kogito.codegen.tests.UserTaskIT.testUserTaskWithIOexpressionProcessNo serializer found for class org.kie.kogito.codegen.data.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.drools.bpmn2.UserTaskModel["person"])org.kie.kogito.quarkus.jbpm.OrdersProcessIT.testOrdersRest1 expectation failed.Expected status code <201> but was <500>. org.acme.StatefulProcessResourceTest.updateProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.StatefulProcessResourceTest.completeTaskNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.StatefulProcessResourceTest.getProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.StatefulProcessResourceTest.abortProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.StatefulProcessResourceTest.completeProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.StatefulProcessResourceTest.signalTaskProcessNo serializer found for class com.example.Payload and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.example.FlexibleModel["test"])org.acme.StatefulProcessResourceTest.completeProcessTaskNo serializer found for class com.example.Payload and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.example.SignalModel["test"])org.acme.StatefulProcessResourceTest.createProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.PersonProcessTest.testAdultNo serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])org.acme.travels.PersonProcessTest.testChildNo serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])org.kie.kogito.it.FilesystemPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.JDBCOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.JDBCPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.KafkaPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.MongoDBOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.MongoDBPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.PostgreSQLPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.reactive.ProcessIT.testStartProcess1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.integrationtests.quarkus.EnumsIT.testSubmitMovie1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.ProcessEventIT.testSaveTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.ProcessIT.testStartProcess1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testSaveTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateTaskInfo1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateExcludedUsers1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testJsonSchema1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testCommentAndAttachment1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.EnumsTest.testSubmitMovie1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.ProcessTest.testStartProcess1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testSaveTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateTaskInfo1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateExcludedUsers1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testJsonSchema1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testCommentAndAttachment1 expectation failed.Expected status code <201> but was <400>. |
(tests) - kogito-quarkus-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.flexible.example.quarkus.ServiceDeskProcessTest.testSupportCaseExample1 expectation failed.Expected status code <201> but was <500>. org.acme.travel.BookFlightTest.testBookingFlightNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.FlightBookingModel["trip"])org.acme.travel.BookHotelTest.testBookingHotelNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.HotelBookingModel["trip"])org.acme.travel.TravelTest.testTravelVisaRequiredNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])org.acme.travel.TravelTest.testTravelNoVisaRequiredNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])org.acme.travel.BookFlightIT.testBookingFlightNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.FlightBookingModel["trip"])org.acme.travel.BookHotelIT.testBookingHotelNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.HotelBookingModel["trip"])org.acme.travel.TravelIT.testTravelVisaRequiredNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])org.acme.travel.TravelIT.testProcessMetricsNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])org.acme.travel.TravelIT.testTravelNoVisaRequiredNo serializer found for class org.acme.travels.Trip and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravelsModel["trip"])org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.PersonProcessTest.testAdultNo serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])org.acme.travels.PersonProcessTest.testChildNo serializer found for class org.acme.travels.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.PersonsModel["person"])Build projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. Build projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. org.acme.travel.tests.avro.quarkus.MultiMessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.tests.multimessaging.quarkus.MultiMessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.tests.messaging.quarkus.MessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithCEAssertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {"url" : "/", "method" : "POST", "headers" : { "Content-Type" : { "contains" : "application/cloudevents+json" } }, "bodyPatterns" : [ { "contains" : "[email protected]" }, { "contains" : "\"source\":\"/process/Travelers\"" } ] } Requests received: [ ] within 2 seconds. org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithSourceFieldAssertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {"url" : "/", "method" : "POST", "headers" : { "Content-Type" : { "contains" : "application/cloudevents+json" } }, "bodyPatterns" : [ { "contains" : "[email protected]" }, { "contains" : "\"source\":\"/process/Travelers\"" } ] } Requests received: [ ] within 2 seconds. org.kie.kogito.examples.quarkus.ProcessMetricsTest.testProcessMetricsQuarkusNo serializer found for class org.kie.kogito.examples.quarkus.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.quarkus.OrdersModel["order"])org.kie.kogito.quarkus.outbox.OutboxIT.testSendProcessEvents1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.OrdersProcessIT.testOrderProcessNo serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])org.kie.kogito.examples.OrdersProcessIT.testOrderProcessWithErrorNo serializer found for class org.kie.kogito.examples.demo.Order and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.OrdersModel["order"])org.kie.kogito.examples.OrdersRestIT.testOrdersWithErrorRest1 expectation failed.Expected status code <500> but was <400>. org.kie.kogito.examples.OrdersRestIT.testOrdersRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.OrdersRestIT.testCreateAndUpdateOrders1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsAbortedRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonProcessIT.testAdultNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.PersonProcessIT.testChildNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicyNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicyNotAuthorizedNo serializer found for class org.kie.kogito.examples.demo.Person and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.examples.demo.PersonsModel["person"])org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCycles1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testAdultPersonsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testPersonsRestStartFromUserTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicy1 expectation failed.Expected status code <201> but was <400>. org.acme.travels.quarkus.TravellersProcessTest.testNewTravellerNo serializer found for class org.acme.travels.quarkus.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.TravellersModel["traveller"])org.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])Build projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcessNo serializer found for class org.kie.kogito.hr.Candidate and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.hr.HiringModel["candidate"])Build projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcessNo serializer found for class org.kie.kogito.hr.Candidate and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.kie.kogito.hr.HiringModel["candidate"])org.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])Build projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <400>. Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcessNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhasesNo serializer found for class org.acme.travels.Traveller and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.acme.travels.ApprovalsModel["traveller"])org.acme.travels.security.quarkus.ApprovalsRestTest.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. |
BeanInstrospector does not work with uppercase. Lets take benefit that the generated code is annotated with JsonProperty and use jackson for serialization/deserialization of Map into Model and Model into Map
733b50a
to
631a08a
Compare
(tests) - kogito-springboot-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.flexible.example.springboot.ServiceDeskProcessTest.testSupportCaseExample1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.PersonsProcessTest.testAdultexpected: <2> but was: <1>org.acme.travels.PersonsProcessTest.testChildclass java.util.LinkedHashMap cannot be cast to class org.acme.travels.Person (java.util.LinkedHashMap is in module java.base of loader 'bootstrap'; org.acme.travels.Person is in unnamed module of loader 'app')org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnSprinboot1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnSprinboot1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnSprinboot1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. org.acme.travel.tests.multimessaging.springboot.MultiMessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.tests.messaging.springboot.MessagingIT.testProcessexpected: <0> but was: <3>org.kie.kogito.examples.springboot.ProcessMetricsTest.testProcessMetricsSpringboot1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.springboot.outbox.OutboxIT.testSendProcessEvents1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.springboot.TravellersProcessTest.testOrderProcessCan not set org.acme.travels.springboot.Traveller field org.acme.travels.TravellersModel.traveller to java.util.LinkedHashMaporg.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessCan not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMaporg.kie.kogito.examples.demo.OrdersProcessIT.testOrderProcessWithErrorCan not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMaporg.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithErrorRest1 expectation failed.Expected status code <500> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testOrdersRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testCreateAndUpdateOrders1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsAbortedRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.OrdersRestIT.testOrdersWithOrderItemsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicyCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonProcessIT.testChildWithSecurityPolicyNotAuthorizedCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsAdultCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonProcessIT.testPersonsProcessIsChildCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCyclesCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterfaceCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonsRestIT.testAdultPersonsRestCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonsRestIT.testPersonsRestStartFromUserTaskCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.demo.PersonsRestIT.testChildPersonsRestWithSecurityPolicy1 expectation failed.Expected status code <201> but was <400>. org.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.custom.lifecycle.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.ApprovalsTestIT.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.ApprovalsTestIT.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.ApprovalsProcessTestIT.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.ApprovalsProcessTestIT.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMapBuild projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <400>. Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.security.oidc.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.security.springboot.ApprovalsProcessTest.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.security.springboot.ApprovalsRestTest.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. |
(tests) - kogito-runtimes job Reproducerexport BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskExpecting {} to have a property or a field named "adult" (static and synthetic fields are ignored) org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBusinessRuleTaskWithIOExpressionCan not set org.kie.kogito.codegen.data.Person field defaultPackage.BusinessRuleTaskModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskWithAgendaListenerExpecting {} to have a property or a field named "adult" (static and synthetic fields are ignored) org.kie.kogito.codegen.rules.BusinessRuleTaskIT.testBasicBusinessRuleTaskControlledByUnitOfWorkExpecting {} to have a property or a field named "adult" (static and synthetic fields are ignored) org.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[1]Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitWithAgendaListener(String)[2]Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[1]Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnit(String)[2]Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[1]Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.testBasicBusinessRuleUnitControlledByUnitOfWork(String)[2]Can not set org.kie.kogito.codegen.data.Person field org.kie.kogito.codegen.tests.BusinessRuleUnitModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMappingAutoGeneratedRuleUnitCan not set org.kie.kogito.codegen.data.Person field ruletask.ExampleGeneratedModel.singlePerson to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.testSettingOtherVariableFromAutoGeneratedRuleUnitCan not set org.kie.kogito.codegen.data.Person field ruletask.ExampleGeneratedModel.singlePerson to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.inputMappingNullCollectionCan not set org.kie.kogito.codegen.data.Person field ruletask.ExamplePModel.singlePerson to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.outputMappingNullCollectionCan not set org.kie.kogito.codegen.data.Person field ruletask.ExamplePModel.singlePerson to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.testRemovingOtherVariableFromAutoGeneratedRuleUnitCan not set org.kie.kogito.codegen.data.Person field ruletask.ExampleGeneratedModel.singlePerson to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.BusinessRuleUnitIT.ioMappingCan not set org.kie.kogito.codegen.data.Person field ruletask.ExamplePModel.singlePerson to java.util.LinkedHashMaporg.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndWithVariableTrackedExpecting {} to have a property or a field named "adult" (static and synthetic fields are ignored) org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndAbortOfUoWExpecting {} to have a property or a field named "adult" (static and synthetic fields are ignored) org.kie.kogito.codegen.rules.PublishEventBusinessRuleIT.testBusinessRuleProcessStartToEndExpecting {} to have a property or a field named "adult" (static and synthetic fields are ignored) org.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIOCan not set org.kie.kogito.codegen.data.Person field org.drools.bpmn2.ParentProcessModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.tests.CallActivityTaskIT.testCallActivityTaskWithExpressionsForIONestedCan not set org.kie.kogito.codegen.data.PersonWithAddress field org.drools.bpmn2.ParentProcessModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.tests.EmbeddedSubProcessIT.testEmbeddedSubProcessWithUserTaskAndVariableScopesCan not set org.kie.kogito.codegen.data.Person field org.drools.bpmn2.EmbeddedWithUserTaskModel.person to java.util.LinkedHashMaporg.kie.kogito.codegen.tests.EventSubProcessIT.testEventSignalSubProcessWithDataclass java.util.LinkedHashMap cannot be cast to class org.kie.kogito.codegen.data.Person (java.util.LinkedHashMap is in module java.base of loader 'bootstrap'; org.kie.kogito.codegen.data.Person is in unnamed module of loader 'app')org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[1]expected: 2 but was: 5 org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[2]expected: 2 but was: 5 org.kie.kogito.codegen.tests.UserTaskIT.testUserTaskWithIOexpressionProcessCan not set org.kie.kogito.codegen.data.Person field org.drools.bpmn2.UserTaskModel.person to java.util.LinkedHashMaporg.kie.kogito.quarkus.jbpm.OrdersProcessIT.testOrdersRest1 expectation failed.Expected status code <201> but was <500>. org.acme.StatefulProcessResourceTest.updateProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.StatefulProcessResourceTest.completeTaskCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.StatefulProcessResourceTest.getProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.StatefulProcessResourceTest.abortProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.StatefulProcessResourceTest.completeProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.StatefulProcessResourceTest.signalTaskProcessCan not set com.example.Payload field com.example.FlexibleModel.test to java.util.LinkedHashMaporg.acme.StatefulProcessResourceTest.completeProcessTaskCan not set com.example.Payload field com.example.SignalModel.test to java.util.LinkedHashMaporg.acme.StatefulProcessResourceTest.createProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.PersonProcessTest.testAdultCan not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMaporg.acme.travels.PersonProcessTest.testChildCan not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.it.FilesystemPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.JDBCOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.JDBCPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.KafkaPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.MongoDBOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.MongoDBPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.PostgreSQLOptimisticLockingIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.it.PostgreSQLPersistenceIT.testPersistence1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.reactive.ProcessIT.testStartProcess1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.integrationtests.quarkus.EnumsIT.testSubmitMovie1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.ProcessEventIT.testSaveTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.ProcessIT.testStartProcess1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testSaveTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateTaskInfo1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testUpdateExcludedUsers1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testJsonSchema1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.quarkus.TaskIT.testCommentAndAttachment1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.EnumsTest.testSubmitMovie1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.ProcessTest.testStartProcess1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testSaveTask1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateTaskInfo1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testUpdateExcludedUsers1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testJsonSchema1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.integrationtests.springboot.TaskTest.testCommentAndAttachment1 expectation failed.Expected status code <201> but was <400>. |
(tests) - kogito-quarkus-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.flexible.example.quarkus.ServiceDeskProcessTest.testSupportCaseExample1 expectation failed.Expected status code <201> but was <500>. org.acme.travel.BookFlightTest.testBookingFlightCan not set org.acme.travels.Trip field org.acme.travels.FlightBookingModel.trip to java.util.LinkedHashMaporg.acme.travel.BookHotelTest.testBookingHotelCan not set org.acme.travels.Trip field org.acme.travels.HotelBookingModel.trip to java.util.LinkedHashMaporg.acme.travel.TravelTest.testTravelVisaRequiredCan not set org.acme.travels.Traveller field org.acme.travels.TravelsModel.traveller to java.util.LinkedHashMaporg.acme.travel.TravelTest.testTravelNoVisaRequiredCan not set org.acme.travels.Traveller field org.acme.travels.TravelsModel.traveller to java.util.LinkedHashMaporg.acme.travel.BookFlightIT.testBookingFlightCan not set org.acme.travels.Trip field org.acme.travels.FlightBookingModel.trip to java.util.LinkedHashMaporg.acme.travel.BookHotelIT.testBookingHotelCan not set org.acme.travels.Trip field org.acme.travels.HotelBookingModel.trip to java.util.LinkedHashMaporg.acme.travel.TravelIT.testTravelVisaRequiredCan not set org.acme.travels.Traveller field org.acme.travels.TravelsModel.traveller to java.util.LinkedHashMaporg.acme.travel.TravelIT.testProcessMetricsError while unmarshalling process instanceorg.acme.travel.TravelIT.testTravelNoVisaRequiredError while unmarshalling process instanceorg.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessNewUserUS1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.onboarding.OnboardingEndpointIT.testOnboardingProcessUserAlreadyExists1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.PersonProcessTest.testAdultCan not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMaporg.acme.travels.PersonProcessTest.testChildCan not set org.acme.travels.Person field org.acme.travels.PersonsModel.person to java.util.LinkedHashMapBuild projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestServiceDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationRestWIHDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. Build projects / org.kie.kogito.traffic.TrafficProcessIT.testTrafficViolationEmbeddedDecisionOnQuarkus1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. Build projects / org.acme.deals.DealsRestIT.testDealsRest1 expectation failed.Expected status code <201> but was <500>. org.acme.travel.tests.avro.quarkus.MultiMessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.tests.multimessaging.quarkus.MultiMessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.tests.messaging.quarkus.MessagingIT.testProcessexpected: <0> but was: <3>org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithCEAssertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {"url" : "/", "method" : "POST", "headers" : { "Content-Type" : { "contains" : "application/cloudevents+json" } }, "bodyPatterns" : [ { "contains" : "[email protected]" }, { "contains" : "\"source\":\"/process/Travelers\"" } ] } Requests received: [ ] within 2 seconds. org.acme.travel.CloudEventListenerTest.checkStartNewProcessInstanceWithSourceFieldAssertion condition defined as a org.acme.travel.CloudEventListenerTest Expected at least one request matching: {"url" : "/", "method" : "POST", "headers" : { "Content-Type" : { "contains" : "application/cloudevents+json" } }, "bodyPatterns" : [ { "contains" : "[email protected]" }, { "contains" : "\"source\":\"/process/Travelers\"" } ] } Requests received: [ ] within 2 seconds. org.kie.kogito.examples.quarkus.ProcessMetricsTest.testProcessMetricsQuarkusCan not set org.kie.kogito.examples.quarkus.demo.Order field org.kie.kogito.examples.quarkus.OrdersModel.order to java.util.LinkedHashMaporg.kie.kogito.quarkus.outbox.OutboxIT.testSendProcessEvents1 expectation failed.Expected status code <201> but was <500>. org.kie.kogito.examples.OrdersProcessIT.testOrderProcessCan not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMaporg.kie.kogito.examples.OrdersProcessIT.testOrderProcessWithErrorCan not set org.kie.kogito.examples.demo.Order field org.kie.kogito.examples.OrdersModel.order to java.util.LinkedHashMaporg.kie.kogito.examples.OrdersRestIT.testOrdersWithErrorRest1 expectation failed.Expected status code <500> but was <400>. org.kie.kogito.examples.OrdersRestIT.testOrdersRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.OrdersRestIT.testCreateAndUpdateOrders1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsAbortedRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.OrdersRestIT.testOrdersWithOrderItemsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonProcessIT.testAdultCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonProcessIT.testChildCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicyCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonProcessIT.testChildWithSecurityPolicyNotAuthorizedCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyAndLifeCyclesCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonsRestIT.testChildPersonsRestRetriggerNodeViaMgmtInterfaceCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonsRestIT.testAdultPersonsRestCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonsRestIT.testPersonsRestStartFromUserTaskCan not set org.kie.kogito.examples.demo.Person field org.kie.kogito.examples.demo.PersonsModel.person to java.util.LinkedHashMaporg.kie.kogito.examples.PersonsRestIT.testChildPersonsRest1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestCancelAndTriggerNodeViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicyNotAuthorized1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestAbortViaMgmtInterface1 expectation failed.Expected status code <201> but was <400>. org.kie.kogito.examples.PersonsRestIT.testChildPersonsRestWithSecurityPolicy1 expectation failed.Expected status code <201> but was <400>. org.acme.travels.quarkus.TravellersProcessTest.testNewTravellerCan not set org.acme.travels.quarkus.Traveller field org.acme.travels.TravellersModel.traveller to java.util.LinkedHashMaporg.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.custom.lifecycle.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMapBuild projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcessCan not set org.kie.kogito.hr.Candidate field org.kie.kogito.hr.HiringModel.candidate to java.util.LinkedHashMapBuild projects / org.kie.kogito.hr.HiringProcessIT.testApprovalProcessCan not set org.kie.kogito.hr.Candidate field org.kie.kogito.hr.HiringModel.candidate to java.util.LinkedHashMaporg.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMapBuild projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMapBuild projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMapBuild projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMapBuild projects / org.acme.travels.ApprovalsProcessIT.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMapBuild projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <400>. Build projects / org.acme.travels.ApprovalsRestIT.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. org.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcessCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.security.quarkus.ApprovalsProcessTest.testApprovalProcessViaPhasesCan not set org.acme.travels.Traveller field org.acme.travels.ApprovalsModel.traveller to java.util.LinkedHashMaporg.acme.travels.security.quarkus.ApprovalsRestTest.testStartApprovalAuthorized1 expectation failed.Expected status code <201> but was <500>. |
(tests) - serverless-workflow-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kogito.serverless.examples.CountryServiceWorkflowTest.testJsonServiceCallWorkflowexpected: <2> but was: <5> |
(tests) - kogito-runtimes job Reproducerexport BUILD_MVN_OPTS_CURRENT=-T 1C -Dvalidate-formatting -Prun-code-coverage NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[1]expected: 2 but was: 5 org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testBasicServiceWorkflow(String)[2]expected: 2 but was: 5 |
(tests) - serverless-workflow-examples job Reproducerexport BUILD_MVN_OPTS_CURRENT= NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution Test results:
Those are the test failures: org.kogito.serverless.examples.CountryServiceWorkflowTest.testJsonServiceCallWorkflowexpected: <2> but was: <5> |
It is better for it to not depend on Models
2e061c8
to
41a0b61
Compare
Kudos, SonarCloud Quality Gate passed! |
BeanInstrospector does not work with uppercase (both Message and message fields are mapped to message property, hence the issue). Lets take benefit that the generated code is annotated with JsonProperty annotation with the right case and use jackson for serialization/deserialization of Map into Model and Model into Map.
@tarilabs Im including you because as core Java developer your feedback is appreciated
I commented some of the decissions inline in the code.