gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

[SME] US- entrypoint component #8081

Closed mouligno closed 2 years ago

mouligno commented 2 years ago

:rainbow: Feature

As an Async API Publisher, I want to define an entrypoint in order to expose my apis in order to transform incoming/outgoing messages.

:sunrise_over_mountains: Additional information

Original slab page with further information.

Note: definition for API Async/Sync EntryPointConnector

:superhero: Acceptance criteria

Sicofonia commented 2 years ago

Suggestion for spike rewrite:

FEATURE TEXT: As an Async API Publisher, I want to define an entrypoint in order to expose my apis. To properly manage different kind of protocol for SME, a new entrypoint component must be introduced in order to properly transform either incoming or outgoing messages.

Note: definition for API Async/Sync EntryPointConnector An entrypoint is attached to a specific listener (http, subscription or tcp) and is responsible of dealing with incoming and outgoing data to the client. For example, SSE entrypoint should enable text/event-stream content-type on request and transform message from endpoint to SSE event. Responsible of dealing with the incoming requests data For Sync EntryPoint, could transform incoming data depending on the protocol (grpc sync) For Async EntryPoint, must transform incoming data to messages One implementation by supported top-protocol we could imagine have http-rest, SSE, WebSocket, grpc etc.

QUESTIONS: