onec

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-onec runs mock-1c, the stand's stand-in for the 1C HTTP service.

Settings from the environment: MOCK_DB_URL (required; the mock writes only to its schema mock_onec), MOCK_LISTEN (default 127.0.0.1:8081), and the fault knobs MOCK_FAIL_AFTER_COMMIT_RATE (0 to 1), MOCK_LATENCY_MS, MOCK_REJECT_REF_PREFIX, and MOCK_FAIL_CANCEL=1 (every cancel of an order answers 500).

"mock-onec 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-1c: a small HTTP service that behaves like the HTTP service of a 1C installation for sales orders, for the test stand.
Package server is mock-1c: a small HTTP service that behaves like the HTTP service of a 1C installation for sales orders, for the test stand.

Jump to

Keyboard shortcuts

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