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

feat: process instance pdk api enhancement #4847

Open
wants to merge 59 commits into
base: master
Choose a base branch
from

Conversation

yanavasileva
Copy link
Member

@yanavasileva yanavasileva commented Dec 11, 2024

Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID /Get Process Instance List /Post Process instance list to include Process definition key in the API response
related to GIT Issue : 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049


Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
Process Instance API Enhancement with Process definition Key attribute
-Enhance the GET Process Instance based on PID \Get Process Instance List \Post Process instance list to include Process definition key in the API response.Git issue 4049

Signed-off-by: Shenoy, Nandan <[email protected]>
@yanavasileva yanavasileva added ci:all-db Runs the builds for all databases. ci:default-build Runs the builds that have no explicit trigger (e.g. different history levels). ci:migration Runs the process instance migration builds. ci:rest-api Runs extra builds for the REST API (currently only WLS compatibility builds). ci:rolling-update Runs the rolling update builds. labels Dec 11, 2024
@yanavasileva yanavasileva self-assigned this Dec 11, 2024
@yanavasileva yanavasileva changed the title CI: issue 4049 process instance pdk api enhancement feat: process instance pdk api enhancement Dec 12, 2024
@yanavasileva
Copy link
Member Author

To reviewer:

  • I have already reviewed the community member commits. Please review only my commits.

@@ -774,9 +783,13 @@ public void setProcessDefinition(ProcessDefinitionImpl processDefinition) {
this.processDefinition = processDefinition;
if (processDefinition != null) {
this.processDefinitionId = processDefinition.getId();
if (processDefinition instanceof ProcessDefinitionEntity) {
Copy link
Member Author

Choose a reason for hiding this comment

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

📓 Process definition can be created without a key. Therefore, setting the key only if we have have it.
Found out about the use case via failing org.camunda.bpm.engine.test.standalone.entity.EntitySerializationTest.testExecutionEntitySerialization().

@Nandanrshenoy
Copy link
Contributor

@yanavasileva ,
Is there some thing that I can take up to conclude this contribution.If so please suggest.Thanks.

Nandan

Copy link
Member

@mboskamp mboskamp left a comment

Choose a reason for hiding this comment

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

👍 Looks good in general, I added one comment but otherwise I think this is good to go.

/**
* The key of the process definition of the process instance.
*/
String getProcessDefinitionKey();
Copy link
Member

Choose a reason for hiding this comment

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

❓ Is this necessary? ProcessInstance extends Execution which already has the same method definition.

@mboskamp
Copy link
Member

mboskamp commented Jan 8, 2025

Sorry, I accidentally pushed a commit to this branch. I reverted it. Please squash when merging.

@Nandanrshenoy
Copy link
Contributor

Thanks to each one of you for your support.If there is any action item at my end kindly flag me.

Regards,
Nandan Shenoy

@yanavasileva yanavasileva added the ci:no-build Prevents any CI stage from running. label Jan 10, 2025
@yanavasileva yanavasileva removed the ci:no-build Prevents any CI stage from running. label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:all-db Runs the builds for all databases. ci:default-build Runs the builds that have no explicit trigger (e.g. different history levels). ci:migration Runs the process instance migration builds. ci:rest-api Runs extra builds for the REST API (currently only WLS compatibility builds). ci:rolling-update Runs the rolling update builds.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants