Skip to content

Commit

Permalink
fix deletion of spring boot subsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
elguardian committed Oct 31, 2023
1 parent 558705d commit 64c031d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 184 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ public void storeProcessInstanceDataEvent(DataAuditContext context, ProcessInsta
public void storeProcessInstanceDataEvent(DataAuditContext context, ProcessInstanceSLADataEvent event) {
EntityManager entityManager = context.getContext();

if(event.getData().getNodeDefinitionId() != null) {
if (event.getData().getNodeDefinitionId() != null) {

ProcessInstanceStateLog log = new ProcessInstanceStateLog();
setProcessCommonAttributes(log, event);

log.setEventType(ProcessStateLogType.SLA_VIOLATION);

entityManager.persist(log);
} else {
ProcessInstanceNodeLog log = new ProcessInstanceNodeLog();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
Expand Down Expand Up @@ -131,4 +129,4 @@ public void setNodeDefinitionId(String nodeDefinitionId) {
this.nodeDefinitionId = nodeDefinitionId;
}

}
}

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion data-audit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<module>kogito-addons-data-audit-jpa-quarkus</module>
<module>kogito-addons-data-audit-jpa-springboot</module>
<module>kogito-addons-data-audit-jpa-quarkus-subsystem</module>
<module>kogito-addons-data-audit-jpa-springboot-subsystem</module>
</modules>

</project>

0 comments on commit 64c031d

Please sign in to comment.