gravitee-io / issues

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

[API Definition V4] listener config #8010

Closed mouligno closed 1 year ago

mouligno commented 2 years ago

:rainbow: Feature

As an AsyncAPI API Publisher, I want to add a new listener and configure it

:sunrise_over_mountains: Additional information

{
 ...
  "listeners" : [
    {
      "type": "http",   
      "path_mappings": [],
      "paths" : [
        {
          "path" : "/http"
        },
        {
          "path" : "/ws",
          "host" : "ws.localhost:1234"
        }
      ],
      "entrypoints" : [
        {
          "type" : "http-get"
        },
        {
          "type" : "http-post"
        },
        {
          "type" : "sse",
          "config" : {
            "heartbeat_frequency_ms" : "100"
          }
        },
        {
          "type" : "websocket",
          "config" : {
            "message_format" : "binary"
          }
        }
      ]
    },
    {
      "type": "webhook"
    },
    {
      "type": "tcp",
      "host": "localhost"
      "port": 12345
    }
  ],
  ...
}    

:link: Dependencies

Link to https://github.com/gravitee-io/issues/issues/8020

:camera: Mockups

Insert screenshots, drawings...

:books: Documentation required

Provide link to the issue for documentation update

:superhero: Acceptance criteria

:warning: Potential impacts

Which other features may be impacted by this fix. This could be populated after fix

What are the impacted versions?

:rocket:

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.