Skip to content

Commit

Permalink
fix(orchestrator): revert remove field 'variables' from ProcessInsanc…
Browse files Browse the repository at this point in the history
…eDTO (#2229) (#2233)

Revert "fix(orchestrator): remove field 'variables' from ProcessInstanceDTO (#2229)"

This reverts commit 72050eb.
  • Loading branch information
batzionb authored Sep 23, 2024
1 parent 15f7d71 commit fcadbf9
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/orchestrator-common/src/generated/.METADATA.sha1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7ec62a1b04426e5eed857f18fdae983cf02a39c4
1cfad2af0d85c888ce0217056ff82a70d168886a

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions plugins/orchestrator-common/src/generated/client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,12 @@ export interface ProcessInstanceDTO {
* @memberof ProcessInstanceDTO
*/
'error'?: ProcessInstanceErrorDTO;
/**
*
* @type {object}
* @memberof ProcessInstanceDTO
*/
'variables'?: object;
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,9 @@
},
"error" : {
"$ref" : "#/components/schemas/ProcessInstanceErrorDTO"
},
"variables" : {
"$ref" : "#/components/schemas/ProcessInstanceVariablesDTO"
}
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
| **businessKey** | **String** | | [optional] [default to null] |
| **nodes** | [**List**](NodeInstanceDTO.md) | | [default to null] |
| **error** | [**ProcessInstanceErrorDTO**](ProcessInstanceErrorDTO.md) | | [optional] [default to null] |
| **variables** | [**Object**](.md) | | [optional] [default to null] |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

5 changes: 5 additions & 0 deletions plugins/orchestrator-common/src/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@ components:
$ref: '#/components/schemas/NodeInstanceDTO'
error:
$ref: '#/components/schemas/ProcessInstanceErrorDTO'
variables:
$ref: '#/components/schemas/ProcessInstanceVariablesDTO'
required:
- id
- processId
Expand Down Expand Up @@ -593,3 +595,6 @@ components:
description: Error message (optional)
required:
- nodeDefinitionId
ProcessInstanceVariablesDTO:
type: object
additionalProperties: true

0 comments on commit fcadbf9

Please sign in to comment.