wms

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command mock-wms runs mock-wms, the stand's stand-in for the warehouse system.

Settings from the environment: MOCK_DB_URL (required; the mock writes only to its schema mock_wms), MOCK_LISTEN (default 127.0.0.1:8082), and the knobs MOCK_FAIL_AFTER_COMMIT_RATE (0 to 1), MOCK_LATENCY_MS, MOCK_REJECT_REF_PREFIX (shipments of orders with this prefix get 422) and MOCK_SHIP_QTY_FACTOR (a decimal multiplier of the shipped quantity, default 1: the fact of the warehouse differs from the order).

"mock-wms healthcheck" calls /healthz on the local port and exits 0 or 1 (the container image has no curl).

Directories

Path Synopsis
Package server is mock-wms: a small HTTP service that behaves like the warehouse system for the test stand.
Package server is mock-wms: a small HTTP service that behaves like the warehouse system for the test stand.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL