Files
Alexander Serheyev a6d4272e21 cmd/micro gateway HTTP->RPC proxy: Endpoint handling via URL parsing is not implemented (#4879)
* fix(gateway): add /api/{service}/{method} HTTP-to-RPC proxy

The gateway only rendered the /api explorer page; any /api/{service}/{endpoint}
path fell through to 404. Add a proxy that resolves the endpoint from the
registry, checks scopes, and forwards the request body to the RPC client.
Accepts both /api/{service}/{method} and /api/{service}/{pkg}/{method} forms.

* fix(readme): old links, add protoc and docs for docker

* test(store): de-flake file store expiry window in first block

The initial record used a 150ms expiry read back immediately after a
bbolt write. Under -race/-cover on a loaded runner, the fsync'd write
or instrumented read can exceed 150ms, so the record has already
expired and Read("Hello") returns ErrNotFound, failing the test early.

Widen the first block to the same 1s expiry / 2s sleep pattern used by
the sibling blocks since #3789/#3828. The pre-expiry read stays well
inside 1s; the post-expiry read comfortably exceeds it.
2026-08-06 07:27:59 +01:00
..
2026-02-04 14:37:40 +00:00
2020-12-29 16:50:18 +00:00