-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
storyFeature description from user's perspectiveFeature description from user's perspective
Description
Describe the desired outcome from the user's perspective
As an OpenAPI and AsyncAPI consumer, I want to configure zilla as http proxy to kafka using openapi.yaml and asyncapi.yaml more directly in zilla.yaml.
Acceptance criteria
openapiserverbinding configured viaopenapi.yamlopenapi-asyncapiproxybinding configured viaopenapi.yamlandasyncapi.yamlasyncapiclientbinding configured viakafkaasyncapi.yaml- only
openapiserver,openapi-asyncapiproxy, andasyncapiclientbindings needed to configurehttptokafkaproxy
Additional context
Syntax similar to the following in zilla.yaml using composite bindings.
bindings:
openapi_server:
type: openapi
kind: server
options:
specs:
- http/openapi.yaml
exit: openapi_asyncapi_proxy
openapi_asyncapi_proxy:
type: openapi-asyncapi
kind: proxy
options:
specs:
- http/openapi.yaml
- kafka/asyncapi.yaml
routes:
- when:
- operation: ... # openapi operation id
exit: asyncapi_client
with:
operation: ... # kafka asyncapi operation id
asyncapi_client:
type: asyncapi
kind: client
options:
specs:
- kafka/asyncapi.yamlMetadata
Metadata
Assignees
Labels
storyFeature description from user's perspectiveFeature description from user's perspective