Class AllocationController
java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.common.transport.allocation.AllocationController
@Validated
@MeasuredRestController
public class AllocationController
extends org.openwms.core.http.AbstractWebController
A AllocationController.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AllocationMapper
private final GenericAllocator
private static final org.slf4j.Logger
-
Constructor Summary
ConstructorDescriptionAllocationController
(AllocationMapper allocationMapper, GenericAllocator genericAllocator) -
Method Summary
Methods inherited from class org.openwms.core.http.AbstractWebController
buildNOKResponse, buildNOKResponseWithKey, buildOKResponse, buildResponse, buildResponse, getLocationForCreatedResource, getLocationURIForCreatedResource, handleBehaviorAwareException, handleBusinessRuntimeException, handleConstraintViolationException, handleException, handleHttpBusinessException, handleRemovalNotAllowedException, handleTechnicalRuntimeException, handleValidationException, illegalArgumentException, translate
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
allocationMapper
-
genericAllocator
-
-
Constructor Details
-
AllocationController
AllocationController(AllocationMapper allocationMapper, GenericAllocator genericAllocator)
-
-
Method Details
-
allocate
@PostMapping("/allocation/generic") public org.springframework.http.ResponseEntity<List<AllocationVO>> allocate(@RequestBody List<org.openwms.core.lang.Triple<String, Object, Class<?>>> searchAttributes, @RequestParam(value="sourceLocationGroupNames",required=false) List<String> sourceLocationGroupNames)
-