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/21 12:59:00 UTC

[jira] [Work logged] (CAMEL-13598) camel-olingo4 - Support ETag / If-Match Headers when using CUD operations

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

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

                Author: ASF GitHub Bot
            Created on: 21/Aug/19 12:58
            Start Date: 21/Aug/19 12:58
    Worklog Time Spent: 10m 
      Work Description: phantomjinx commented on pull request #3118: CAMEL-13598: Implement ETag support in olingo components
URL: https://github.com/apache/camel/pull/3118
 
 
   * Supports odata services that implement concurrency properties on entities
     by ensuring that when performing patch, update & delete operations, the
     OlingoApp first reads the requisite entity and retrieves its ETag. This
     is then added into the subsequent request under the If-Match header
   
   * Adds additional tests for specifically testing the ETag functionality.
 
----------------------------------------------------------------
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: 298650)
    Remaining Estimate: 0h
            Time Spent: 10m

> camel-olingo4 - Support ETag / If-Match Headers when using CUD operations
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-13598
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13598
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-olingo4
>    Affects Versions: 2.21.5, 2.22.4
>            Reporter: Paul Richardson
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The [Tripin Reference server|https://services.odata.org/TripPinRESTierService/(S(4gus0w41xmxedlzbywj2srqo))/$metadata] supports ETags on its Airlines resource. Consequently, if an update or delete operation is performed then the following must occur:
>  # Client calls a GET request & fetches the content of the ETag header;
>  # Client calls a PATCH/DELETE request complete with an *_If-None-Match_* header that has a value of the previously queried ETag.
> At the moment, attempts to use the camel-olingo4 implementation fail with an http  [428|https://httpstatuses.com/428] code.
> Please see following for more information:
> * [https://www.odata.org/getting-started/basic-tutorial/#etag]
> * [https://www.odata.org/documentation/odata-version-2-0/operations/]
> * [https://olingo.apache.org/doc/odata4/overview.html#definition-of-the-web-infrastructure]
> * [https://www.logicbig.com/quick-info/web/etag-header.html]



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