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/git issue 4049 process instance api enhancement #4222
Changes from all commits
769aac9
1ac6dd3
d0f979f
5c48648
a4505a0
c317a01
c039fee
071a48d
1b9bb27
e5c9e92
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -28,13 +28,18 @@ public class ProcessInstanceDto extends LinkableDto { | |||||||||
private boolean ended; | ||||||||||
private boolean suspended; | ||||||||||
private String tenantId; | ||||||||||
/** | ||||||||||
* GIT Issue : https://github.com/camunda/camunda-bpm-platform/issues/4049 | ||||||||||
*/ | ||||||||||
private String definitionKey; | ||||||||||
|
||||||||||
public ProcessInstanceDto() { | ||||||||||
} | ||||||||||
|
||||||||||
public ProcessInstanceDto(ProcessInstance instance) { | ||||||||||
this.id = instance.getId(); | ||||||||||
this.definitionId = instance.getProcessDefinitionId(); | ||||||||||
this.definitionKey = instance.getProcessDefinitionKey(); | ||||||||||
this.businessKey = instance.getBusinessKey(); | ||||||||||
this.caseInstanceId = instance.getCaseInstanceId(); | ||||||||||
this.ended = instance.isEnded(); | ||||||||||
|
@@ -49,6 +54,14 @@ public String getId() { | |||||||||
public String getDefinitionId() { | ||||||||||
return definitionId; | ||||||||||
} | ||||||||||
|
||||||||||
/** | ||||||||||
* @return the definitionKey | ||||||||||
* GIT Issue : https://github.com/camunda/camunda-bpm-platform/issues/4049 | ||||||||||
*/ | ||||||||||
public String getDefinitionKey() { | ||||||||||
return definitionKey; | ||||||||||
Comment on lines
+62
to
+63
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔧 Formatting:
Suggested change
|
||||||||||
} | ||||||||||
|
||||||||||
public String getBusinessKey() { | ||||||||||
return businessKey; | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❌ Failing test (the mocks are not updated):
How to run the REST API tests (after the engine and sql-script modules are built)?: |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❌ Instead of using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Changes in OpenAPI look good.