Skip to content

Commit

Permalink
Merge pull request #52 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 Dec 9, 2024
2 parents 78a414d + 014f52e commit bda2b5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache KIE
Copyright 2023 The Apache Software Foundation
Copyright 2023-2024 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
package org.kie.kogito.jobs.embedded;

import java.util.List;
import java.util.concurrent.ExecutionException;

import org.eclipse.microprofile.config.inject.ConfigProperty;
import org.kie.kogito.event.EventPublisher;
Expand Down Expand Up @@ -81,9 +80,9 @@ public JobDetails publishJobStatusChange(JobDetails jobDetails) {
return jobDetails;
}

bus.fireAsync(new EmbeddedJobServiceEvent(jobDetails)).toCompletableFuture().get();
bus.fireAsync(new EmbeddedJobServiceEvent(jobDetails));
return jobDetails;
} catch (InterruptedException | ExecutionException e) {
} catch (Exception e) {
throw new RuntimeException(e);
}
}
Expand Down

0 comments on commit bda2b5c

Please sign in to comment.