[jira] [Commented] (OLINGO-549) POC: ODataV4 JPA Processor

2016-09-20 Thread Alexandre Desjardins (JIRA)

[ 
https://issues.apache.org/jira/browse/OLINGO-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15508295#comment-15508295
 ] 

Alexandre Desjardins commented on OLINGO-549:
-

Is the JPA Processor for OData V4 still in development? If so, is there any 
rough timeline? [~chandan.v.a]

 We want to use Olingo, but if there is no JPA processor under way, it would 
definitely make things more difficult for our small team... 

> POC: ODataV4 JPA Processor
> --
>
> Key: OLINGO-549
> URL: https://issues.apache.org/jira/browse/OLINGO-549
> Project: Olingo
>  Issue Type: New Feature
>  Components: odata4-JPA
>Affects Versions: (JPA) V4 4.0.0-beta-01
>Reporter: Chandan V.A
>
> A proof of Concept for transforming JPA models into OData V4 compliant EDM 
> models and supporting OData V4 protocol compliant operations into JPA 2.0/2.1 
> specific operations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OLINGO-1020) Association Multiplicity cannot set to 0..1 just 1

2016-09-20 Thread Michael Bolz (JIRA)

[ 
https://issues.apache.org/jira/browse/OLINGO-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507398#comment-15507398
 ] 

Michael Bolz commented on OLINGO-1020:
--

Hi [~ZoltanBeleznay],

There were some strange/edge cases for which the {{0..1}} was not set correctly.
Can you please check with current SNAPSHOT (based on [this 
commit|https://git1-us-west.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=7d882075a5b7058c34ff092abe2dac3c216d9382])
 and give feedback.

Thanks and Best Regards, Michael

> Association Multiplicity cannot set to 0..1 just 1
> --
>
> Key: OLINGO-1020
> URL: https://issues.apache.org/jira/browse/OLINGO-1020
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-jpa
>Affects Versions: V2 2.0.7
>Reporter: Zoltan Beleznay
>Assignee: Michael Bolz
> Fix For: V2 2.0.8
>
>
> Association Multiplicity cannot set to 0..1 just 1
> We created some navigation like the following (in the many side):
>   @ManyToOne
>   @PrimaryKeyJoinColumn(name = "SIDE_ONE_OBJECT_ID")
>   private OneObject parentOneObject;
> and from the other side:
>   @OneToMany(mappedBy = "parentOneObject")
>   private List manyObjects;
> but it creates the following part of the metadata:
>   
>Role="ManyObject"/>
>Role="OneObject"/>
>   
> We would like to see in the one side the 0..1 multiplicity, so we changed the 
> annotations to the following:
>   @ManyToOne(optional = true)
>   @JoinColumn(name = "ACTION_PARENT_WORK_PACKAGE_ID", insertable = false, 
> updatable = false, nullable = true)
>   private OneObject parentOneObject;
> and from the other side:
>   @OneToMany(mappedBy = "parentOneObject")
>   private List manyObjects;
> We expected the following result in metadata:
>   
>Role="ManyObject"/>
>Role="OneObject"/>
>   
> But it did not bring us the expected behaviour and the corresponding part of 
> the metadata remained the same.
> The 0..1 is accesible via the EdmMultiplicity.ZERO_TO_ONE enum, and it is 
> part of the OData documentation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OLINGO-1020) Association Multiplicity cannot set to 0..1 just 1

2016-09-20 Thread Michael Bolz (JIRA)

 [ 
https://issues.apache.org/jira/browse/OLINGO-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz reopened OLINGO-1020:
--

No {{2.0.8}} release upcoming   ;o)

> Association Multiplicity cannot set to 0..1 just 1
> --
>
> Key: OLINGO-1020
> URL: https://issues.apache.org/jira/browse/OLINGO-1020
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-jpa
>Affects Versions: V2 2.0.7
>Reporter: Zoltan Beleznay
>Assignee: Michael Bolz
> Fix For: V2 2.0.8
>
>
> Association Multiplicity cannot set to 0..1 just 1
> We created some navigation like the following (in the many side):
>   @ManyToOne
>   @PrimaryKeyJoinColumn(name = "SIDE_ONE_OBJECT_ID")
>   private OneObject parentOneObject;
> and from the other side:
>   @OneToMany(mappedBy = "parentOneObject")
>   private List manyObjects;
> but it creates the following part of the metadata:
>   
>Role="ManyObject"/>
>Role="OneObject"/>
>   
> We would like to see in the one side the 0..1 multiplicity, so we changed the 
> annotations to the following:
>   @ManyToOne(optional = true)
>   @JoinColumn(name = "ACTION_PARENT_WORK_PACKAGE_ID", insertable = false, 
> updatable = false, nullable = true)
>   private OneObject parentOneObject;
> and from the other side:
>   @OneToMany(mappedBy = "parentOneObject")
>   private List manyObjects;
> We expected the following result in metadata:
>   
>Role="ManyObject"/>
>Role="OneObject"/>
>   
> But it did not bring us the expected behaviour and the corresponding part of 
> the metadata remained the same.
> The 0..1 is accesible via the EdmMultiplicity.ZERO_TO_ONE enum, and it is 
> part of the OData documentation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

2016-09-20 Thread Michael Bolz (JIRA)

 [ 
https://issues.apache.org/jira/browse/OLINGO-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz closed OLINGO-1024.


> AnnotationEdmProvider does not add mapping for Media Resource Annotations
> -
>
> Key: OLINGO-1024
> URL: https://issues.apache.org/jira/browse/OLINGO-1024
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-annotation
>Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8
>Reporter: Stefan Boller
>Assignee: Michael Bolz
> Fix For: V2 2.0.8
>
> Attachments: 0001-OLINGO-1024-Fix-media-resource-annotations.patch
>
>
> According to JavaDoc of annotations @EdmMediaResourceSource and 
> @EdmMediaResourceMimeType these annotations can be used together with the 
> @EdmProperty annotation to mark a property as the media resource source or 
> the media resource type, respectively. However, the mapping to these fields 
> is not added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

2016-09-20 Thread Michael Bolz (JIRA)

 [ 
https://issues.apache.org/jira/browse/OLINGO-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz resolved OLINGO-1024.
--
   Resolution: Fixed
Fix Version/s: (was: V2 2.0.7)
   (was: V2 2.0.6)

> AnnotationEdmProvider does not add mapping for Media Resource Annotations
> -
>
> Key: OLINGO-1024
> URL: https://issues.apache.org/jira/browse/OLINGO-1024
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-annotation
>Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8
>Reporter: Stefan Boller
>Assignee: Michael Bolz
> Fix For: V2 2.0.8
>
> Attachments: 0001-OLINGO-1024-Fix-media-resource-annotations.patch
>
>
> According to JavaDoc of annotations @EdmMediaResourceSource and 
> @EdmMediaResourceMimeType these annotations can be used together with the 
> @EdmProperty annotation to mark a property as the media resource source or 
> the media resource type, respectively. However, the mapping to these fields 
> is not added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

2016-09-20 Thread Michael Bolz (JIRA)

[ 
https://issues.apache.org/jira/browse/OLINGO-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15507368#comment-15507368
 ] 

Michael Bolz commented on OLINGO-1024:
--

Hi [~stefanbo72],

Thanks for find and fix of the issue.
I applied your patch (see 
[here|https://git1-us-west.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=17dc8da793f8aaeb8c2c4391cfd1ace28742adb3]).

Best Regards, Michael

> AnnotationEdmProvider does not add mapping for Media Resource Annotations
> -
>
> Key: OLINGO-1024
> URL: https://issues.apache.org/jira/browse/OLINGO-1024
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-annotation
>Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8
>Reporter: Stefan Boller
>Assignee: Michael Bolz
> Fix For: V2 2.0.6, V2 2.0.7, V2 2.0.8
>
> Attachments: 0001-OLINGO-1024-Fix-media-resource-annotations.patch
>
>
> According to JavaDoc of annotations @EdmMediaResourceSource and 
> @EdmMediaResourceMimeType these annotations can be used together with the 
> @EdmProperty annotation to mark a property as the media resource source or 
> the media resource type, respectively. However, the mapping to these fields 
> is not added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[ANNOUNCE] Apache Olingo 4.3.0 has been released

2016-09-20 Thread Christian Amend
Hello,

we proudly announce that Apache Olingo 4.3.0 has been released.
This is the fourth stable Olingo release for OData Version 4
(see specification [1] and new features [2]).

This release is available for download:
http://olingo.apache.org/doc/odata4/download.html

Tutorials and documentation are also available:
http://olingo.apache.org/doc/odata4/index.html

Available also in central maven repository:
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.olingo%22%20AND%20v%3A%224.3.0%22
and the Apache repository:
https://repository.apache.org/index.html#nexus-search;gav~org.apache.olingo~~4.3.0~~

If you would like to get involved please write to: u...@olingo.apache.org
Or subscribe to our mailing list as described here:
http://olingo.apache.org/support.html

Apache Olingo is a Java library which enables developers to
implement OData service providers (server) and consumers (clients)
for OData V2 and V4.

The Open Data Protocol (OData, http://www.odata.org/) is an open protocol
to allow the creation and consumption of queryable and interoperable
RESTful APIs in a simple and standard way.

[1]: http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html
[2]: 
http://docs.oasis-open.org/odata/new-in-odata/v4.0/cn01/new-in-odata-v4.0-cn01.html

Release Notes - Olingo - Version 4.3.0
---
Link: 
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314520=12335441

Bug
[OLINGO-931] - $select does not work with JsonSerializer
[OLINGO-939] - Content-Type wrong in error response in server-core-ext module
[OLINGO-960] - Failure to find as Alias shound not throw an exception
[OLINGO-964] - Cast type (typeFilterOnCollection) not taken into
account while expanding a collection
[OLINGO-966] - Parse of filter with guild parameter fails
[OLINGO-967] - batch request rollback is not working properly
[OLINGO-977] - Missing call "writer.writeStartDocument" in
ODataXmlSerializer.complexCollection()
[OLINGO-980] - INVALID_NULL_ANNOTATION when update navigation property to null
[OLINGO-981] - Binding operation null on to one
[OLINGO-982] - Metadataparser does not set correct value for Nullable
attriibute of Navigation Property
[OLINGO-984] - Client-Proxy: collection of enums as property not supported
[OLINGO-987] - V4: Serializer canĀ“t resolve ESCompCollComp?$format=json
[OLINGO-988] - V4: ExpandOption created by the deserializer contains
duplicates in deep instert cases
[OLINGO-991] - OData4HttpHandler does not honor split while processing request
[OLINGO-1002] - EDMParameter type is missing from TargetType
[OLINGO-1003] - Binary content in batch requests gets corrupted
[OLINGO-1015] - Wrong batch content header handling

Improvement
[OLINGO-567] - Support odata.metadata=full on server side serialization
[OLINGO-936] - V4 code cleanup epic
[OLINGO-954] - Send OData Version Header with every Response to be
more specification compliant
[OLINGO-979] - V4: Make ODataApplicationException translatable
[OLINGO-989] - V4: Minor Client enhancements
[OLINGO-990] - V4: Allow custom Headers for metadata requests
[OLINGO-1004] - V4: Clean Up FIT module

New Feature
[OLINGO-935] - V4 $apply support
[OLINGO-995] - V4: Support Http HEAD method
[OLINGO-1009] - Provide serilization support for $levels with $expand

Task
[OLINGO-993] - V4: Provide a beta release via the maven nexus
[OLINGO-997] - Make release build work with Java 8


Best Regards,
Christian


[jira] [Updated] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

2016-09-20 Thread Stefan Boller (JIRA)

 [ 
https://issues.apache.org/jira/browse/OLINGO-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Boller updated OLINGO-1024:
--
Attachment: 0001-OLINGO-1024-Fix-media-resource-annotations.patch

Patch attached

> AnnotationEdmProvider does not add mapping for Media Resource Annotations
> -
>
> Key: OLINGO-1024
> URL: https://issues.apache.org/jira/browse/OLINGO-1024
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-annotation
>Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8
>Reporter: Stefan Boller
>Assignee: Michael Bolz
> Fix For: V2 2.0.6, V2 2.0.7, V2 2.0.8
>
> Attachments: 0001-OLINGO-1024-Fix-media-resource-annotations.patch
>
>
> According to JavaDoc of annotations @EdmMediaResourceSource and 
> @EdmMediaResourceMimeType these annotations can be used together with the 
> @EdmProperty annotation to mark a property as the media resource source or 
> the media resource type, respectively. However, the mapping to these fields 
> is not added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

2016-09-20 Thread Stefan Boller (JIRA)

 [ 
https://issues.apache.org/jira/browse/OLINGO-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Boller updated OLINGO-1024:
--
Affects Version/s: (was: V2 2.1.0)
Fix Version/s: (was: V2 2.1.0)

> AnnotationEdmProvider does not add mapping for Media Resource Annotations
> -
>
> Key: OLINGO-1024
> URL: https://issues.apache.org/jira/browse/OLINGO-1024
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-annotation
>Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8
>Reporter: Stefan Boller
>Assignee: Michael Bolz
> Fix For: V2 2.0.6, V2 2.0.7, V2 2.0.8
>
>
> According to JavaDoc of annotations @EdmMediaResourceSource and 
> @EdmMediaResourceMimeType these annotations can be used together with the 
> @EdmProperty annotation to mark a property as the media resource source or 
> the media resource type, respectively. However, the mapping to these fields 
> is not added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

2016-09-20 Thread Michael Bolz (JIRA)

 [ 
https://issues.apache.org/jira/browse/OLINGO-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz reassigned OLINGO-1024:


Assignee: Michael Bolz

> AnnotationEdmProvider does not add mapping for Media Resource Annotations
> -
>
> Key: OLINGO-1024
> URL: https://issues.apache.org/jira/browse/OLINGO-1024
> Project: Olingo
>  Issue Type: Bug
>  Components: odata2-annotation
>Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8, V2 2.1.0
>Reporter: Stefan Boller
>Assignee: Michael Bolz
> Fix For: V2 2.0.6, V2 2.0.7, V2 2.0.8, V2 2.1.0
>
>
> According to JavaDoc of annotations @EdmMediaResourceSource and 
> @EdmMediaResourceMimeType these annotations can be used together with the 
> @EdmProperty annotation to mark a property as the media resource source or 
> the media resource type, respectively. However, the mapping to these fields 
> is not added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

2016-09-20 Thread Stefan Boller (JIRA)
Stefan Boller created OLINGO-1024:
-

 Summary: AnnotationEdmProvider does not add mapping for Media 
Resource Annotations
 Key: OLINGO-1024
 URL: https://issues.apache.org/jira/browse/OLINGO-1024
 Project: Olingo
  Issue Type: Bug
  Components: odata2-annotation
Affects Versions: V2 2.0.7, V2 2.0.6, V2 2.0.8, V2 2.1.0
Reporter: Stefan Boller
 Fix For: V2 2.0.8, V2 2.1.0, V2 2.0.7, V2 2.0.6


According to JavaDoc of annotations @EdmMediaResourceSource and 
@EdmMediaResourceMimeType these annotations can be used together with the 
@EdmProperty annotation to mark a property as the media resource source or the 
media resource type, respectively. However, the mapping to these fields is not 
added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)