Zum Inhalt springen

Typische CLI-Abläufe

Ventana de terminal
aseptic start "Bestell-Checkout" --json # startet Docker bei Bedarf und wartet healthy
aseptic status --json # effektive URLs jedes Micros
# ... Test-HTTP-Aufrufe gegen diese URLs ...
aseptic stop
aseptic daemon stop

start startet Docker bereits von selbst. Wenn Ihre CI es extern hochfährt, fügen Sie --no-docker hinzu.

Ventana de terminal
aseptic mock operations catalog-core
aseptic mock skeleton catalog-core GET /catalog/api/v1/scopes > body.json
aseptic mock save catalog-core --data '{"method":"GET","pathPrefix":"/catalog/api/v1/scopes","active":0,"variants":[{"label":"200","status":200,"jsonBody":[]}]}'
aseptic mock probe GET /catalog/api/v1/scopes
Ventana de terminal
aseptic scenario export "Bestell-Checkout" --include-run
# (die .aseptic.yml senden) ... und auf der anderen Maschine:
aseptic scenario import bestell-checkout.aseptic.yml # Plan ansehen
aseptic scenario import bestell-checkout.aseptic.yml --apply --mocks union
Ventana de terminal
aseptic status
aseptic logs orders-core -n 500
aseptic logs --errors
aseptic restart orders-core
aseptic logs orders-core -f