Hi Francesco,

1.) If this can be done with a clear design I agree to support V3 on client 
side. We might also do that on server side but this is something we should 
discuss again. So +1 from me.

2.) Refactoring done and pushed in the master branch.

3.) Common exceptions now in the org.apache.olingo.odata4.commons.api package

4.) EdmTargetPath deleted. This was a copy/paste issue from V2 ;-)

Best Regards,
Christian

-----Original Message-----
From: Francesco Chicchiriccò [mailto:ilgro...@apache.org] 
Sent: Dienstag, 18. Februar 2014 15:51
To: dev@olingo.incubator.apache.org
Subject: Re: [DISCUSS] Working on OLINGO-169

On 18/02/2014 15:45, Amend, Christian wrote:
> Hi Francesco,
>
> 1.) Do you mean temporary for the merge or in general? Temporarily yes but 
> our assumption was that V3 is not compatible with V4 and thus should not be 
> in the library. At least for the server side.

I think we need to retain the V3 compatibility on client side only 
(which original ODataJClient provides).
Hence my idea of defining common interfaces for both V3 and V4, then 
implement all such interfaces on client side and only V4 on server side.
Does it sound?

> 2.) Provider Classes should be in the server module. I did not have time to 
> move them yet. Also the current implementation uses the lazy loading which is 
> not necessary in the client case so these have to be moved as well. I could 
> do that. Should I do it in your branch or in the master branch?

Please do it into the master branch, I will merge from that, thanks.

> 3.) The idea was to keep packages independent so there is a EdmException in 
> the EDM package only. The exceptions package is for common exceptions like a 
> ODataRuntimeException or an ODataApplicationException. These Exceptions could 
> also be moved to the root folder. WDYT?

By root package do you mean "org.apache.olingo.odata4.commons.api"? If 
so, +1 from my side.
If you intend to do this as well, it is also fine to me to merge from 
master.

> 4.) I have to look into that :) I will let you know as soon as I can say 
> something useful.

Fine :-)
Thanks for your support!

Regards.

> -----Original Message-----
> From: Francesco Chicchiriccò [mailto:ilgro...@apache.org]
> Sent: Dienstag, 18. Februar 2014 14:35
> To: dev@olingo.incubator.apache.org
> Subject: [DISCUSS] Working on OLINGO-169
>
> Hi all,
> I have just begun to take a look at odata4-commons-api and I have some
> questions.
>
> 1. The module contains a whole set of Edm interfaces matching the V4
> CSDL specification (in the org.apache.olingo.odata4.commons.api.edm
> package).
> That's fine, but for V4 only: in order to merge ODataJClient, I need to
> identify some common interfaces and some specialized for v3 and v4: the
> resulting structure would then be
>
> org.apache.olingo.odata4.commons.api.edm - common stuff
> org.apache.olingo.odata4.commons.api.edm.v3 - OData 3.0 specific
> org.apache.olingo.odata4.commons.api.edm.v4 - OData 4.0 specific
>
> I would of course change current server-side implementation accordingly.
> Do you see any problem with that?
>
> 2. What are the classes under
> org.apache.olingo.odata4.commons.api.edm.provider meant for? They don't
> implement interfaces referenced above.
> Since I don't think we will need such classes for the ODataJClient
> merge, I would move them to package to odata4-server-api: WDYT?
>
> 3. Exception classes are either in a separate package
> (org.apache.olingo.odata4.commons.api.exception) but also elsewhere; is
> this wanted?
>
> 4. Is EdmTargetPath really needed? Is Atom feed customization (the
> feature this class I think was made for) supported at all in OData 4.0?
>
> Thanks!
> Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PPMC
http://people.apache.org/~ilgrosso/

Reply via email to