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

    Fields
    Modifier and Type
    Field
    Description
    private final AllocationMapper
     
    private final GenericAllocator
     
    private static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AllocationController(AllocationMapper allocationMapper, GenericAllocator genericAllocator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<List<AllocationVO>>
    allocate(List<org.openwms.core.lang.Triple<String,Object,Class<?>>> searchAttributes, List<String> sourceLocationGroupNames)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • allocationMapper

      private final AllocationMapper allocationMapper
    • genericAllocator

      private final GenericAllocator genericAllocator
  • Constructor Details

  • 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)