Class AllocationController

java.lang.Object
org.openwms.core.http.AbstractWebController
org.openwms.wms.inventory.allocation.AllocationController

@Validated @MeasuredRestController public class AllocationController extends org.openwms.core.http.AbstractWebController
A AllocationController.
Author:
Heiko Scherrer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • allocationMapper

      private final AllocationMapper allocationMapper
    • genericAllocator

      private final GenericAllocator genericAllocator
    • allocationService

      private final AllocationService allocationService
  • 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)
    • allocate

      @PostMapping("/allocation/transport-units") public org.springframework.http.ResponseEntity<List<AllocationVO>> allocate(@Valid @NotNull @RequestBody @Valid @NotNull Demand demand, @RequestParam(value="sourceLocationGroupNames",required=false) List<String> sourceLocationGroupNames)