You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/08/22 17:39:00 UTC

[jira] [Work logged] (CAMEL-13429) Rest DSL - Allow dot as separator for path parameters

     [ https://issues.apache.org/jira/browse/CAMEL-13429?focusedWorklogId=299601&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-299601 ]

ASF GitHub Bot logged work on CAMEL-13429:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Aug/19 17:38
            Start Date: 22/Aug/19 17:38
    Worklog Time Spent: 10m 
      Work Description: DenisIstomin commented on pull request #3120: CAMEL-13429: Support expressions in path parameters at REST DSL
URL: https://github.com/apache/camel/pull/3120
 
 
   Improved REST DSL route definition and REST Producer.
   I have doubts about:
   1. Using regex to iterate over placeholders "{}".
   1. New function `resolveHeaderPlaceholders` at `camel-rest` that replaces placeholders with header values. Maybe there is a way to reuse some code from camel-properties component.
   
   Also unit-tests for `camel-rest` component are located at `camel-core`. Maybe it would be better to move them?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 299601)
    Remaining Estimate: 0h
            Time Spent: 10m

> Rest DSL - Allow dot as separator for path parameters
> -----------------------------------------------------
>
>                 Key: CAMEL-13429
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13429
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, rest
>    Affects Versions: 3.0.0-M1
>            Reporter: Arian Treffer
>            Assignee: Denis Istomin
>            Priority: Minor
>             Fix For: 3.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following route configuration should accept the "content-type" parameter as one would expect for URLs like "items/1/details.xml":
> {code:java}
> rest("items/")
>     .get("{id}/details.{content-type}"){code}
> Currently, "content-type" is not recognized as a parameter.
>  
> Maybe other separators, e.g. dash "-", should be supported as well.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)