camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CAMEL-10809) Introduce configurator SPI for rest support in camel-core
Date Mon, 13 Feb 2017 09:08:41 GMT


ASF GitHub Bot commented on CAMEL-10809:

Github user zregvart closed the pull request at:

> Introduce configurator SPI for rest support in camel-core
> ---------------------------------------------------------
>                 Key: CAMEL-10809
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, camel-swagger
>    Affects Versions: 2.19.0
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>            Priority: Minor
> Camel core includes, albeit unpromoted feature implemented in CAMEL-10164 that allows
the creation of producers from api specifications. One such integration was done in Swagger
component, so you can create producers using the specified {{apiDoc}} parameter.
> I would like to change this a bit, and introduce a {{RestEndpointConfigurer}} that would
allow you to customize the endpoint, so a step before the producer customization/creation
takes place.
> This would allow for two things:
> - separation of concerns (configuring endpoint, creating producers)
> - possible extension to consumers (create specification first rest consumers)
> I would also like to propose the new rest endpoint URI syntax in addition to the existing
one, in the form of:
> {{rest:<component>\[:componentSpecific\]}}
> Or in case of Swagger, something like:
> {{rest:swagger:operationId}}
> For example, complete endpoint uri for getting a pet out of petstore (Swagger example)
would be:
> {{rest:swagger:getPetById?apiDoc=petstore.json}}

This message was sent by Atlassian JIRA

View raw message