Skip to content
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

Feature/decision polling #142

Open
wants to merge 48 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a4b1904
init
tDalile May 5, 2022
7b0f45c
add temporary properties for development
tDalile May 12, 2022
7fabbb4
Add decision polling property
tDalile May 16, 2022
6513ca7
Add layout file for decision definition event mapping
tDalile May 16, 2022
c3bfd22
Add layout class for decision definition event mapping
tDalile May 16, 2022
97d8cc9
Add polling job for decision definitions
tDalile May 16, 2022
3eff38e
Add polling service for decision definitions
tDalile May 16, 2022
f2be5e5
Add REST polling for decision definitions
tDalile May 16, 2022
9ed14b2
Add JDBC polling for decision definitions
tDalile May 17, 2022
a9381b4
Fix formatting
tDalile May 31, 2022
c4c7fa5
Add decision instance property
tDalile Jun 20, 2022
a5bab3c
Add decision instance polling
tDalile Jun 20, 2022
e236897
Add decision instance property
tDalile Jun 20, 2022
b0bb01f
Reset
tDalile Jun 20, 2022
0e5599a
Add JDBC polling of decision instances
tDalile Jun 20, 2022
c655a6c
Add REST polling of decision instances
tDalile Jun 20, 2022
1d41e45
Add decision instance class
tDalile Jun 20, 2022
04c2808
Add decision instance input and output class
tDalile Jun 20, 2022
677320f
Add decision instance response class
tDalile Jun 20, 2022
18898d4
Add decision instance input and output response class
tDalile Jun 20, 2022
37d3255
Reset
tDalile Jun 20, 2022
138b915
Add Runtime DMN tests
tDalile Jun 28, 2022
2138858
Add REST polling DMN tests
tDalile Jun 28, 2022
da24d53
Add decision polling property
tDalile Jul 19, 2022
825aaaf
Add layout class for decision definition event mapping
tDalile May 16, 2022
2359503
Add polling job for decision definitions
tDalile May 16, 2022
77fdc9a
Add polling service for decision definitions
tDalile May 16, 2022
4f50304
Add REST polling for decision definitions
tDalile May 16, 2022
9dd5a7a
Add JDBC polling for decision definitions
tDalile May 17, 2022
0644550
Add decision instance property
tDalile Jun 20, 2022
9743cb1
Add decision instance polling
tDalile Jun 20, 2022
3b1ab1a
Fix merge issue
tDalile Jul 19, 2022
27ed009
Add JDBC polling of decision instances
tDalile Jun 20, 2022
48514b1
Add REST polling of decision instances
tDalile Jun 20, 2022
f4d3a72
Add layout classes for decision instance event mapping
tDalile Jun 20, 2022
8a04da1
Add REST polling DMN tests
tDalile Jul 20, 2022
260a218
Add DMN engine dependency
tDalile Jul 20, 2022
60f4769
Add DMN resources for testing
tDalile Jul 20, 2022
f7c805d
Add REST polling DMN tests
tDalile Jun 28, 2022
d4b0c41
Add explanation for formatString method
tDalile Jul 20, 2022
927f673
Add complex object test
tDalile Jul 25, 2022
e038fb2
Add config file to pass the spin plugin to process engine
tDalile Aug 2, 2022
a3e8589
Add model for testing
tDalile Aug 2, 2022
547f2ff
Resolved merge clonflicts
tDalile Aug 2, 2022
0ed833d
Fix missing serializable
tDalile Aug 2, 2022
38a45f6
Fix formatting
tDalile Aug 2, 2022
291898f
Fix configuration of process engine without camunda.cfg.xml
tDalile Aug 16, 2022
44e882d
Fix string -> date as required in the pipeline
tDalile Aug 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
* ActivityInstanceEvent class.
* </p>
*
*
*
*
*
* @author viadee
*
*
Comment on lines -9 to +12
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wenn das das Einzige ist, was in dieser Datei geändert wird, dann m.E. reverten, damit sich nicht "so viel" ändert?

* @version $Id: $Id
*/
public class ActivityInstanceEvent extends ScopeInstanceEvent {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
package de.viadee.camunda.kafka.event;

import java.util.Date;

public class DecisionDefinitionEvent extends DeploymentEvent {

private String key;
private String category;
private Integer version;
private String resource;
private String decisionRequirementsDefinitionId;
private String decisionRequirementsDefinitionKey;
private Integer historyTimeToLive;
private String versionTag;
private String xml;

public String getKey() {
return key;
}

public void setKey(String key) {
this.key = key;
}

public String getCategory() {
return category;
}

public void setCategory(String category) {
this.category = category;
}

public Integer getVersion() {
return version;
}

public void setVersion(Integer version) {
this.version = version;
}

public String getResource() {
return resource;
}

public void setResource(String resource) {
this.resource = resource;
}

public String getDecisionRequirementsDefinitionId() {
return decisionRequirementsDefinitionId;
}

public void setDecisionRequirementsDefinitionId(String decisionRequirementsDefinitionId) {
this.decisionRequirementsDefinitionId = decisionRequirementsDefinitionId;
}

public String getDecisionRequirementsDefinitionKey() {
return decisionRequirementsDefinitionKey;
}

public void setDecisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey) {
this.decisionRequirementsDefinitionKey = decisionRequirementsDefinitionKey;
}

public Integer getHistoryTimeToLive() {
return historyTimeToLive;
}

public void setHistoryTimeToLive(Integer historyTimeToLive) {
this.historyTimeToLive = historyTimeToLive;
}

public String getVersionTag() {
return versionTag;
}

public void setVersionTag(String versionTag) {
this.versionTag = versionTag;
}

public String getXml() {
return xml;
}

public void setXml(String xml) {
this.xml = xml;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
package de.viadee.camunda.kafka.event;

import java.util.Date;
import java.util.List;

/**
* <p>
* DecisionInstanceEvent class.
* </p>
*
*
*
* @author viadee
*
* @version $Id: $Id
*/
public class DecisionInstanceEvent extends HistoryEvent {

private String decisionDefinitionId;
private String decisionDefinitionKey;
private String decisionDefinitionName;
private Date evaluationTime;
private Date removalTime;
private String activityId;
private String activityInstanceId;
private String tenantId;
private String userId;
private String rootDecisionInstanceId;
private String rootProcessInstanceId;
private String decisionRequirementsDefinitionId;
private String decisionRequirementsDefinitionKey;
private Double collectResultValue;
private List<DecisionInstanceInputEvent> inputs;
private List<DecisionInstanceOutputEvent> outputs;

public String getDecisionDefinitionId() {
return decisionDefinitionId;
}

public void setDecisionDefinitionId(String decisionDefinitionId) {
this.decisionDefinitionId = decisionDefinitionId;
}

public String getDecisionDefinitionKey() {
return decisionDefinitionKey;
}

public void setDecisionDefinitionKey(String decisionDefinitionKey) {
this.decisionDefinitionKey = decisionDefinitionKey;
}

public String getDecisionDefinitionName() {
return decisionDefinitionName;
}

public void setDecisionDefinitionName(String decisionDefinitionName) {
this.decisionDefinitionName = decisionDefinitionName;
}

public Date getEvaluationTime() {
return evaluationTime;
}

public void setEvaluationTime(Date evaluationTime) {
this.evaluationTime = evaluationTime;
}

public Date getRemovalTime() {
return removalTime;
}

public void setRemovalTime(Date removalTime) {
this.removalTime = removalTime;
}

public String getActivityId() {
return activityId;
}

public void setActivityId(String activityId) {
this.activityId = activityId;
}

public String getActivityInstanceId() {
return activityInstanceId;
}

public void setActivityInstanceId(String activityInstanceId) {
this.activityInstanceId = activityInstanceId;
}

public String getTenantId() {
return tenantId;
}

public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}

public String getUserId() {
return userId;
}

public void setUserId(String userId) {
this.userId = userId;
}

public String getRootDecisionInstanceId() {
return rootDecisionInstanceId;
}

public void setRootDecisionInstanceId(String rootDecisionInstanceId) {
this.rootDecisionInstanceId = rootDecisionInstanceId;
}

public String getRootProcessInstanceId() {
return rootProcessInstanceId;
}

public void setRootProcessInstanceId(String rootProcessInstanceId) {
this.rootProcessInstanceId = rootProcessInstanceId;
}

public String getDecisionRequirementsDefinitionId() {
return decisionRequirementsDefinitionId;
}

public void setDecisionRequirementsDefinitionId(String decisionRequirementsDefinitionId) {
this.decisionRequirementsDefinitionId = decisionRequirementsDefinitionId;
}

public String getDecisionRequirementsDefinitionKey() {
return decisionRequirementsDefinitionKey;
}

public void setDecisionRequirementsDefinitionKey(String decisionRequirementsDefinitionKey) {
this.decisionRequirementsDefinitionKey = decisionRequirementsDefinitionKey;
}

public Double getCollectResultValue() {
return collectResultValue;
}

public void setCollectResultValue(Double collectResultValue) {
this.collectResultValue = collectResultValue;
}

public List<DecisionInstanceInputEvent> getInputs() {
return inputs;
}

public void setInputs(List<DecisionInstanceInputEvent> inputs) {
this.inputs = inputs;
}

public List<DecisionInstanceOutputEvent> getOutputs() {
return outputs;
}

public void setOutputs(List<DecisionInstanceOutputEvent> outputs) {
this.outputs = outputs;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
package de.viadee.camunda.kafka.event;

import java.util.Date;
import java.util.Map;

public class DecisionInstanceInputEvent {

private String id;
private String decisionInstanceId;
private String clauseId;
private String clauseName;
private String errorMessage;
private String type;
private Date createTime;
private Date removalTime;
private String rootProcessInstanceId;
private String value;
private Map<String, Object> valueInfo;

public String getId() {
return id;
}

public void setId(String id) {
this.id = id;
}

public String getDecisionInstanceId() {
return decisionInstanceId;
}

public void setDecisionInstanceId(String decisionInstanceId) {
this.decisionInstanceId = decisionInstanceId;
}

public String getClauseId() {
return clauseId;
}

public void setClauseId(String clauseId) {
this.clauseId = clauseId;
}

public String getClauseName() {
return clauseName;
}

public void setClauseName(String clauseName) {
this.clauseName = clauseName;
}

public String getErrorMessage() {
return errorMessage;
}

public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}

public String getType() {
return type;
}

public void setType(String type) {
this.type = type;
}

public Date getCreateTime() {
return createTime;
}

public void setCreateTime(Date createTime) {
this.createTime = createTime;
}

public Date getRemovalTime() {
return removalTime;
}

public void setRemovalTime(Date removalTime) {
this.removalTime = removalTime;
}

public String getRootProcessInstanceId() {
return rootProcessInstanceId;
}

public void setRootProcessInstanceId(String rootProcessInstanceId) {
this.rootProcessInstanceId = rootProcessInstanceId;
}

public String getValue() {
return value;
}

public void setValue(String value) {
this.value = value;
}

public Map<String, Object> getValueInfo() {
return valueInfo;
}

public void setValueInfo(Map<String, Object> valueInfo) {
this.valueInfo = valueInfo;
}
}
Loading