Slide 15
Slide 15 text
© GO Inc.
k1LoW/runn
desc: 検索→詳細取得フロー
steps:
login:
include: setup_user.yml # 認証などの共通処理をinclude
search:
req:
/v1/items/search:
get:
headers:
Authorization: "Bearer {{ steps.login.token }}"
params:
query: "{{ vars.keyword }}"
test: current.res.status == 200
wait_for_ready:
loop:
count: 5
interval: 3s
until: current.res.body.status == "ready"
req:
/v1/items/{{ steps.search.res.body.id }}:
Goのテンプレート埋め込みに対応
includeで共有資産化
debugもしやすい仕組み