Recipe
http-request
The HTTP-request tool on Docker Compose: one service running the image the Release names in infra.image, listening on infra.port on the compose network, where an agent reaches it at the service's own name. Nothing is published to the host. The developer's method, effect and timeout reach the container as HTTP_TOOL_METHOD, HTTP_TOOL_SIDE_EFFECTS and HTTP_TOOL_TIMEOUT_SECONDS, the names helm/http-request-knative delivers them under. It differs from the Knative realization in one way a reader must know: the service is one container that runs while the stack runs. Docker Compose has no autoscaler, so the tool does not scale to zero between calls and runs no second replica; an infra.min_replicas above one is refused by name, and infra.max_replicas, a ceiling one container never passes, is honoured as it stands. No control plane is involved, so infra.control_plane_present is not read. Reach for this realization under Docker Compose, and for helm/http-request-knative on a Kubernetes cluster running Knative Serving. An edge from the tool, on a socket the author names, delivers the names its `inject:` block dictates, as variables or as files from compose configs. The component's own `inject:` block delivers its entries as a connection's are, and one reading a value of the tool alone replaces that value's default name. An arg entry, or any other mechanism, is refused by name.
Nguồn gốc
- Digest nội dung
- sha256:1c0cd6aff9f0f51de5712e69a67e6da08906b83a4d8777a4c81d79f0db19ab5b
- Đã xuất bản
- 2026-11-15T08:09:19Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:30261aabb6059895e887cbdb18eb582d4e26aed3cab02c5e6859ccae639dfd04
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/compose/http-request:1.0.0- Đích
- —
- Triển khai
- core/ai-tool/http-request:1.0.1
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| host | {{ .context.instance_id }} |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.instance_id }}:{{ .infra.port }} |
| protocol | http |
Workload
Workload · form: stateless · containers: main
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| instance_id | {{ .context.instance_id }} |
| inject_file_config_prefix | {{ .context.instance_id }}-file- |
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/ai-tool/http-request:1.0.1
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.