Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Feature

core/http-route

Publishes a server component on a gateway programmed through the Gateway API. Its FeatureRecipe (component-scope) emits one HTTP route per attached component, naming the gateway the route attaches to as its parent and the Service the component's own Recipe emits as its backend. The developer attaches it in the Aggregate and writes the request path in values, because which requests an application serves is part of what the application is. The operator sizes the same attachment on the Release's entry for the component, writing in infra the hostname, which is the environment's name for the component, and the cluster knobs, which describe the cluster the Release lands in rather than the application: which gateway and listener to attach to, and which Service and port to forward to. Left without a hostname, the route carries none and serves every hostname the gateway's listener accepts, with the path match separating it from the other routes on that listener. The Service defaults to the primary Service a synthesized workload emits, so a Release whose Recipe sources an upstream chart naming its Service otherwise sets service_name to that name. A route names its backend port by number rather than by name, and an attachment cannot read the port the component it is attached to was given, so service_port carries no default and the build halts until the Release supplies it.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:1e128601239ab64c64e1e28e490923b56b5dd13b76bbb588e7d2edb6b3e705cd
Đã xuất bản
2026-11-10T10:17:11Z
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:6f13680c509a268a624965cb836aa0a9e2956c18b785026e3b60ac44b3a39326

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/feature/core/http-route:1.0.0
Áp dụng cho
component.aggrega.ai/type=server
Xung đột với
—

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt khi gắn tính năng này.

Mở rộng BaseComponents#/schemas/BaseFeatureParameter

TênKiểuMặc địnhBắt buộcMô tả
pathstring—khôngRequest path prefix routed to the component.

Hợp đồng đầu ra

Các giá trị mà tính năng này xuất bản cho bên tiêu thụ.

Chưa khai báo giá trị đầu ra nào.

Chú thích

Chưa khai báo chú thích 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

Được sử dụng bởi

Tài liệu tham khảo khái niệm Feature →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư