Skip to content

Commit

Permalink
Merge pull request #81 from rgdoliveira/sync_main
Browse files Browse the repository at this point in the history
Sync main branch with Apache main branch
  • Loading branch information
rgdoliveira authored Nov 26, 2024
2 parents b813ee5 + 6e47f9c commit 8a0157e
Show file tree
Hide file tree
Showing 53 changed files with 73 additions and 1,658 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ default String getName() {
return getClass().getName();
}

Optional<String> computeAssigment(UserTaskInstance userTaskInstance, IdentityProvider identityProvider);
Optional<String> computeAssignment(UserTaskInstance userTaskInstance, IdentityProvider identityProvider);

}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Set<String> getPotentialGroups() {

@Override
public String toString() {
return "Reassigment [potentialUsers=" + potentialUsers + ", potentialGroups=" + potentialGroups + "]";
return "Reassignment [potentialUsers=" + potentialUsers + ", potentialGroups=" + potentialGroups + "]";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ private static ObjectMapper buildObjectMapper() {
ObjectMapper objectMapper = new ObjectMapper()
.registerModule(new JavaTimeModule())
.registerModule(JsonFormat.getCloudEventJacksonModule())
.disable(com.fasterxml.jackson.databind.SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
.disable(com.fasterxml.jackson.databind.SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
.disable(com.fasterxml.jackson.databind.DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE);
registerDescriptors(objectMapper);
return objectMapper;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private static void assertCreateJobEvent(JobCloudEvent<?> result) {

assertThat(job.getSchedule()).isInstanceOf(TimerSchedule.class);
TimerSchedule schedule = (TimerSchedule) job.getSchedule();
assertThat(schedule.getStartTime()).isEqualTo(SCHEDULE_START_TIME);
assertThat(schedule.getStartTime()).hasToString(SCHEDULE_START_TIME.toString());
assertThat(schedule.getRepeatCount()).isEqualTo(SCHEDULE_REPEAT_COUNT);
assertThat(schedule.getDelay()).isEqualTo(SCHEDULE_DELAY);
assertThat(schedule.getDelayUnit()).isEqualTo(SCHEDULE_DELAY_UNIT);
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8a0157e

Please sign in to comment.