Interface HvlBpmnRepositoryOperationalRestService
- All Known Implementing Classes:
HvlBpmnRepositoryRestController
@Validated
@HvlPrivateFeignRestService
@FeignClient(name="bpmnRepositoryPrivateRestService",
path="${hvl.bpmn.service.repository.path:/repository}",
url="${hvl.bpmn.service.repository.url:${hvl.bpmn.service.url}}")
public interface HvlBpmnRepositoryOperationalRestService
A restful service which provides specific operational methods for bpmn engine repository.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<Void>
activateProcessDefinition
(@NotNull @Valid HvlBpmnActivateProcessDefinitionModel activateProcessDefinitionModel) Activate process definition by id.tr.com.havelsan.javarch.service.data.HvlResponse<Void>
deploy
(@NotEmpty org.springframework.web.multipart.MultipartFile xmlFile) Deploy to engine from bpmn xml.tr.com.havelsan.javarch.service.data.HvlResponse<Void>
deployList
(@NotEmpty List<org.springframework.web.multipart.MultipartFile> xmlFileList) Deploy to engine from list of bpmn xml.tr.com.havelsan.javarch.service.data.HvlResponse<Void>
suspendProcessDefinition
(@NotNull @Valid HvlBpmnSuspendProcessDefinitionModel suspendProcessDefinitionModel) Suspend process definition by id.
-
Method Details
-
deploy
@PostMapping(path="/deployXml", consumes="multipart/form-data") tr.com.havelsan.javarch.service.data.HvlResponse<Void> deploy(@NotEmpty @RequestPart @NotEmpty org.springframework.web.multipart.MultipartFile xmlFile) Deploy to engine from bpmn xml.- Parameters:
xmlFile
- the xml file- Returns:
- the hvl response
-
deployList
@PostMapping(path="/deployXmls", consumes="multipart/form-data") tr.com.havelsan.javarch.service.data.HvlResponse<Void> deployList(@NotEmpty @RequestPart @NotEmpty List<org.springframework.web.multipart.MultipartFile> xmlFileList) Deploy to engine from list of bpmn xml.- Parameters:
xmlFileList
- the xml file list- Returns:
- the hvl response
-
suspendProcessDefinition
@PostMapping(path="/suspend", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> suspendProcessDefinition(@NotNull @Valid @RequestBody @NotNull @Valid HvlBpmnSuspendProcessDefinitionModel suspendProcessDefinitionModel) Suspend process definition by id.- Parameters:
suspendProcessDefinitionModel
- the suspend process definition model- Returns:
- the hvl response
-
activateProcessDefinition
@PostMapping(path="/activate", consumes="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> activateProcessDefinition(@NotNull @Valid @RequestBody @NotNull @Valid HvlBpmnActivateProcessDefinitionModel activateProcessDefinitionModel) Activate process definition by id.- Parameters:
activateProcessDefinitionModel
- the activate process definition model- Returns:
- the hvl response
-