-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
The public api endpoint for adding variables which was defined ProcessVariableRestService should now be transferred in the PublicApiRestService where other public api endpoints are defined. The endpoint accepts in the body a json array containing the process definition key and the labels which we wish to add to it. This information is stored in the variable-label-index in ES.
Information on the endpoint:
POST api/variables/labels
REQUEST BODY:
{ "definitionKey": "someProcessDefinition", "labels" : [ { "variableName": "name", "variableType": "String", "label": "a label"}, { "variableName": "an other name", "variableType": "String", "label": "an other label"}, ] }
AC:
- the endpoint which has been developed in publicly accesible through an authorization token.
- ITs have been added to test the functionality
https://confluence.camunda.com/pages/viewpage.action?spaceKey=CO&title=2021-11-11+Kickoff%3A+Relabel+variables+in+charts+and+tables+to+improve+readability