Skip to content

Commit

Permalink
Merge pull request #23 from camunda-community-hub/8.1.7
Browse files Browse the repository at this point in the history
new version for 8.1.7 to get flowNodeId
  • Loading branch information
chDame authored Mar 3, 2023
2 parents f9396ac + e527a1d commit d414c9f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ You can import it to your maven or gradle project as a dependency
<dependency>
<groupId>io.camunda</groupId>
<artifactId>camunda-operate-client-java</artifactId>
<version>1.3.8</version>
<version>8.1.7.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = 'io.camunda'
version = '1.3.8'
version = '8.1.7.0'
sourceCompatibility = '8'

repositories {
Expand All @@ -16,7 +16,7 @@ repositories {
dependencies {
def apolloVersion = "3.2.1"
def httpClientVersion = "5.1.3"
def zeebeBpmnVersion = "8.1.0"
def zeebeBpmnVersion = "8.1.7"
api "org.apache.httpcomponents.client5:httpclient5:${httpClientVersion}"
api "org.apache.httpcomponents.client5:httpclient5-fluent:${httpClientVersion}"

Expand Down
7 changes: 7 additions & 0 deletions src/main/java/io/camunda/operate/dto/FlownodeInstance.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public class FlownodeInstance {
private Long processInstanceKey;
private Date startDate;
private Date endDate;
private String flowNodeId;
private Long incidentKey;
private String type;
private FlownodeInstanceState state;
Expand Down Expand Up @@ -35,6 +36,12 @@ public Date getEndDate() {
public void setEndDate(Date endDate) {
this.endDate = endDate;
}
public String getFlowNodeId() {
return flowNodeId;
}
public void setFlowNodeId(String flowNodeId) {
this.flowNodeId = flowNodeId;
}
public Long getIncidentKey() {
return incidentKey;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class FlownodeInstanceFilter implements Filter {
private Long processInstanceKey;
private Long incidentKey;
private String type;
private String flowNodeId;
private DateFilter startDate;
private DateFilter endDate;
private FlownodeInstanceState state;
Expand Down Expand Up @@ -56,6 +57,14 @@ public void setEndDate(DateFilter endDate) {
this.endDate = endDate;
}

public String getFlowNodeId() {
return flowNodeId;
}

public void setFlowNodeId(String flowNodeId) {
this.flowNodeId = flowNodeId;
}

public FlownodeInstanceState getState() {
return state;
}
Expand All @@ -78,6 +87,7 @@ public static class Builder {
private String type;
private DateFilter startDate;
private DateFilter endDate;
private String flowNodeId;
private FlownodeInstanceState state;
private Boolean incident;

Expand Down Expand Up @@ -109,6 +119,11 @@ public Builder endDate(DateFilter endDate) {
this.endDate = endDate;
return this;
}

public Builder flowNodeId(String flowNodeId) {
this.flowNodeId = flowNodeId;
return this;
}

public Builder state(FlownodeInstanceState state) {
this.state = state;
Expand All @@ -127,6 +142,7 @@ public FlownodeInstanceFilter build() throws OperateException {
processInstanceFilter.type = type;
processInstanceFilter.startDate = startDate;
processInstanceFilter.endDate = endDate;
processInstanceFilter.flowNodeId = flowNodeId;
processInstanceFilter.state = state;
processInstanceFilter.incident = incident;
return processInstanceFilter;
Expand Down

0 comments on commit d414c9f

Please sign in to comment.