olingo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thierry Templier <temp...@yahoo.fr>
Subject Re: Update data for OData v4 services with Olingo
Date Fri, 05 Dec 2014 09:06:28 GMT
Hello all,
I wrote another blog post regarding updating data with the Olingo client. It will remain a
last post to write to describe how to manage entity navigation links. It can be reached at
this address: http://templth.wordpress.com/2014/12/05/manipulating-data-of-odata-v4-services-with-olingo/.
If you need the markdown sources of posts for the Olingo documentation, feel free to ask me!
Thierry ______________________________________________
-- Take a look at my blog: http://templth.wordpress.com/ 

     Le Jeudi 4 décembre 2014 7h45, "Bolz, Michael" <michael.bolz@sap.com> a écrit
:
   

 Hello Thierry,
thanks for writing of the blog post and contribution to Olingo.
Kind regards,Michael

On 04 Dec 2014, at 07:10, Thierry Templier <templth@yahoo.fr> wrote:


| Hello Michael,Yes, sure!! Feel free to use the content you want from my blog for the Olingo
documentation... I'd pleased to contribute to the project in this way.Thierry
 |

   
     From:  mibo <mibo@apache.org>; 
  To:  Thierry Templier <templth@yahoo.fr>; 
  Cc:  <user@olingo.apache.org>; 
  Subject:  Re: Update data for OData v4 services with Olingo 
  Sent:  Wed, Dec 3, 2014 6:52:14 PM 
  
 
| Hello Thierry,

looks really good was you have written.
Do you think we can use this as a base for a client documentation / tutorial on Olingo homepage?

Kind regards,
Michael

> Am 03.12.2014 um 15:25 schrieb Thierry Templier <templth@yahoo.fr>:
> 
> Hello Francesco,
> 
> Based on your links, I took a little time to describe how to use the Olingo client to
get data from an OData v4 service. See this link: http://templth.wordpress.com/2014/12/03/accessing-odata-v4-service-with-olingo/.
Feel free to make me your comments!
> The part to update data of services will come soon ;-)
> 
> Hope that it can be useful.
> Thierry
>  
>  
> ______________________________________________
> -- Take a look at my blog: http://templth.wordpress.com/
> 
> 
> Le Jeudi 27 novembre 2014 10h57, Thierry Templier <templth@yahoo.fr> a écrit :
> 
> 
> Thanks very much, Francesco! This is exactly what I looked for!
> 
> Thierry
>  
> ______________________________________________
> -- Take a look at my blog: http://templth.wordpress.com/
> 
> 
> Le Jeudi 27 novembre 2014 9h33, Francesco Chicchiriccò <ilgrosso@apache.org> a
écrit :
> 
> 
> On 27/11/2014 09:28, Thierry Templier wrote:
>> Hello,
>> 
>> I try to use Olingo to update data of an OData v4 service (JSON) but I can't find
samples or API documentation to do that.
>> 
>> I only found out hints to get and search data:
>> 
>>  ODataClient client = ODataClientFactory.getV4();
>>  String serviceRoot = (...)
>>  URI customersUri = client.newURIBuilder(serviceRoot)
>>          .appendEntitySetSegment("Customers").build();
>>  ODataRetrieveResponse<ODataEntitySetIterator<ODataEntitySet, ODataEntity>>
response =
>>          client.getRetrieveRequestFactory().getEntitySetIteratorRequest(customersUri).execute();
>> 
>>  ODataEntitySetIterator<ODataEntitySet, ODataEntity> iterator = response.getBody();
>> 
>>  while (iterator.hasNext()) {
>>      ODataEntity customer = iterator.next();
>>    (...)
>> }
>> 
>> Are there some code samples, unit tests, or documentation describing that?
> 
> Hi,
> sorry, no documentation available yet; see test cases for plain client [1] and proxy
[2].
> 
> HTH
> Regards.
> 
> [1] https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=tree;f=fit/src/test/java/org/apache/olingo/fit/v4
> [2] https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=tree;f=fit/src/test/java/org/apache/olingo/fit/proxy/v4
> -- 
> Francesco Chicchiriccò
> 
> Tirasa - Open Source Excellence
> 
> http://www.tirasa.net/
> 
> 
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
> 
> http://people.apache.org/~ilgrosso/
> 
> 
> 
> 
 |

   


   
Mime
View raw message