docs: LLM product name and GOA pay examples
This commit is contained in:
parent
666dca1f0d
commit
6a17509d4c
1 changed files with 35 additions and 8 deletions
43
README.md
43
README.md
|
|
@ -1,5 +1,8 @@
|
|||
# taler-monitoring
|
||||
|
||||
**Product name:** **LLM** = **Lightweight Monitoring** (Taler-stack watcher UI/daemon).
|
||||
Git/CLI tree remains `taler-monitoring` / `taler-monitord`. Live stacks page: https://hacktivism.ch/stacks/
|
||||
|
||||
Checks for **GNU Taler** stacks (bank, exchange, merchant; optional surface inventory).
|
||||
|
||||
| Mode | What |
|
||||
|
|
@ -12,7 +15,7 @@ Outside-only example: `./taler-monitoring.sh -d demo.taler.net urls`
|
|||
Surface (ecosystem + mail + mattermost + versions): `./taler-monitoring.sh surface mattermost mail versions`
|
||||
Full local GOA example: `./taler-monitoring.sh -d hacktivism.ch urls inside versions`
|
||||
|
||||
Repo: https://git.hacktivism.ch/hernani/taler-monitoring · tree: `~/src/taler-monitoring`
|
||||
Repo: https://git.hacktivism.ch/hernani/taler-monitoring · tree: `~/src/taler/taler-monitoring`
|
||||
Version: `./taler-monitoring.sh --ver` (or `--version` / `-V`)
|
||||
|
||||
|
||||
|
|
@ -175,10 +178,31 @@ STATS_STALE_SECS=900 STATS_FAIL_SECS=3600 ./taler-monitoring.sh -d stage.lefranc
|
|||
|
||||
# --- Full load (GOA / hacktivism) ---
|
||||
# all = urls + inside + versions + sanity + e2e
|
||||
# full = all + server + ladder + auth401 (long; needs secrets.env)
|
||||
# full = all + server + ladder + auth401 (long; needs secrets / SECRETS_ROOT)
|
||||
./taler-monitoring.sh -d hacktivism.ch full
|
||||
./taler-monitoring.sh -d hacktivism.ch urls inside versions sanity server e2e ladder auth401
|
||||
|
||||
# --- GOA payment / withdraw tests (hacktivism) ---
|
||||
# Core e2e: bank credit → withdraw ladder → merchant pays (+ optional paivana GOA:4200)
|
||||
./taler-monitoring.sh -d hacktivism.ch e2e
|
||||
# Only two small bank withdraws (diagnose confirm path), tiny pay:
|
||||
E2E_VARIABLE=1 E2E_WITHDRAW_VALUES='20 20' E2E_PAY_VALUES='0.01' \
|
||||
E2E_BANK_WITHDRAW_MAX=2 E2E_TOKEN_ENABLE=0 RUN_TIMEOUT=0 \
|
||||
./taler-monitoring.sh -d hacktivism.ch e2e
|
||||
# Moderated classic ladder (withdraw+pay, timings in log; not full 23-rung):
|
||||
LADDER_STEPS=8 LADDER_MAX_AMOUNT=5000 LADDER_MIN_AMOUNT=1 RUN_TIMEOUT=0 \
|
||||
./taler-monitoring.sh -d hacktivism.ch ladder
|
||||
# Same ladder under legacy phase name:
|
||||
./taler-monitoring.sh -d hacktivism.ch goa-ladder
|
||||
# Hunt highest withdrawable / payable (slow; set RUN_TIMEOUT=0):
|
||||
RUN_TIMEOUT=0 ./taler-monitoring.sh -d hacktivism.ch max-ladder
|
||||
# Merchant Basic-auth matrix (may create throwaway instance):
|
||||
./taler-monitoring.sh -d hacktivism.ch auth401
|
||||
# Public URL + latency only (no wallet):
|
||||
./taler-monitoring.sh -d hacktivism.ch urls
|
||||
# Newer wallet-cli (optional):
|
||||
# WALLET_CLI=$HOME/…/taler-wallet-cli.mjs ./taler-monitoring.sh -d hacktivism.ch e2e
|
||||
|
||||
# SPA pin after selfbuild-webui.sh (container):
|
||||
EXPECT_WEBUI_VERSION=1.6.11 EXPECT_WEBUI_OVERLAY=selfbuild-v1.6.11 \
|
||||
WEBUI_OVERLAY_DENY='c778af04|master-11340' \
|
||||
|
|
@ -225,12 +249,12 @@ stage.lefrancpaysan.ch stage.bank.… stage.exchange.… stage.monnaie.… T
|
|||
| Field | Meaning |
|
||||
|-------|---------|
|
||||
| **name** | `-d NAME` / `TALER_DOMAIN` match (add alias lines as needed) |
|
||||
| **bank** | libeufin/bank public host or `https://…` |
|
||||
| **bank** | libeufin / `x-taler-bank` host, or `-` / `ebics` when IBAN/EBICS only (no public `bank.*`) |
|
||||
| **exchange** | exchange public host or URL |
|
||||
| **merchant** | merchant **backend** (SPA/API), e.g. `my.taler-ops.ch` |
|
||||
| **currency** | `GOA` / `KUDOS` / `CHF` / … |
|
||||
| **local** | `1` = koopa SSH stack; `0` = public only |
|
||||
| **landing** | `1` = check `/intro` landings + assets; `0` = skip (TOPS / mytops) |
|
||||
| **landing** | `1` = custom `/intro` (GOA + FrancPaysan/TESTPAYSAN stage only); `0` = no intro |
|
||||
| **lang** | UI language **`en`** / **`fr`** / **`de`** when `TALER_MON_LANG_SET≠1`. Stock profiles use **en** or **fr** only — **`de` is never a default** (opt-in via `--lang de` or an explicit profile edit). |
|
||||
| **locale** | Regional l10n (BCP 47): **`fr-CH`** for FrancPaysan (Suisse romande); **`de-CH`** for other Swiss stacks. Aliases `ch-FR` / `ch-DE` accepted. Not the same as UI `lang`. |
|
||||
| **canonical** | optional label after alias (e.g. `my.taler-ops.ch` → `taler-ops.ch`) |
|
||||
|
|
@ -259,15 +283,18 @@ Helpers in `lib.sh`: `set_taler_stack`, `load_domain_profile`, `apply_taler_doma
|
|||
| Domain / alias | Bank | Exchange | Merchant | Currency |
|
||||
|----------------|------|----------|----------|----------|
|
||||
| `hacktivism.ch` / `koopa` | bank.hacktivism.ch | exchange.hacktivism.ch | taler.hacktivism.ch | GOA |
|
||||
| `taler.net` / `demo.taler.net` | bank.demo.taler.net | exchange.demo.taler.net | backend.demo.taler.net | KUDOS |
|
||||
| `taler.net` / `demo.taler.net` | bank.demo.taler.net | exchange.demo.taler.net | backend.demo.taler.net | KUDOS · **no custom /intro** |
|
||||
| `test.taler.net` | bank.test… | exchange.test… | backend.test… | **TESTKUDOS** · no landings |
|
||||
| `lefrancpaysan.ch` | bank.… | exchange.… | **monnaie.…** (merchant) | report-only · no landings |
|
||||
| **`stage.lefrancpaysan.ch`** | stage.bank.… | stage.exchange.… | **stage.monnaie.…** | **TESTPAYSAN** · landings · **inside via stagepaysan** |
|
||||
| `taler-ops.ch` / `my.taler-ops.ch` | bank.taler-ops.ch | exchange.taler-ops.ch | **my.taler-ops.ch** | CHF · **no landings** |
|
||||
| `stage.taler-ops.ch` | bank.stage… | exchange.stage… | **my.stage…** | CHF · **no landings** |
|
||||
| `taler-ops.ch` / `my.taler-ops.ch` | *(EBICS — no public bank.\*)* | exchange.taler-ops.ch | **my.taler-ops.ch** | CHF · **no landings** · auto `CHECK_BANK=0` |
|
||||
| `stage.taler-ops.ch` | *(EBICS)* | exchange.stage… | **my.stage…** | CHF · **no landings** · auto `CHECK_BANK=0` |
|
||||
| unknown | bank.DOMAIN | exchange.DOMAIN | my.DOMAIN then probe | any · no landings |
|
||||
|
||||
**Landings:** GOA, stage LFP (`TESTPAYSAN`), and optionally demo use public `/intro` pages. **taler-ops.ch does not** — `CHECK_LANDING=0` skips intro crawl.
|
||||
**Custom /intro landings:** only **GOA** (hacktivism) and **FrancPaysan / TESTPAYSAN stage**. Demo, test, regio, TOPS: no custom intro (`CHECK_LANDING=0`).
|
||||
|
||||
**Bank backend:** after domain apply, the suite reads exchange `/keys` `payto://` methods.
|
||||
`x-taler-bank` → public bank checks on. **IBAN-only (EBICS / TOPS)** → `TALER_BANK_BACKEND=ebics`, `CHECK_BANK=0` (urls/sanity skip bank; e2e/ladder exit early). Override: `CHECK_BANK_SET=1` / `TALER_BANK_BACKEND_SET=1`.
|
||||
|
||||
**SSH:**
|
||||
| Stack | Host alias | User | Scope |
|
||||
|
|
|
|||
Reference in a new issue