[jira] [Assigned] (OLINGO-678) Add a simple client to samples/client that can be run against the current samples/server

2015-06-10 Thread Michael Bolz (JIRA)

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

Michael Bolz reassigned OLINGO-678:
---

Assignee: Michael Bolz

 Add a simple client to samples/client that can be run against the current 
 samples/server
 

 Key: OLINGO-678
 URL: https://issues.apache.org/jira/browse/OLINGO-678
 Project: Olingo
  Issue Type: Improvement
  Components: MISC
Affects Versions: (Java) V4 4.0.0-beta-03
Reporter: Akitoshi Yoshida
Assignee: Michael Bolz
 Attachments: 
 0001-OLINGO-678-Add-a-simple-client-to-samples-client-tha.patch


 A simple client that can be paired with the current samples/server to invoke 
 some basic operations. The usage pattern is based on the V2's client.
 Assuming the server is running, you can run this client by
 cd samples/client
 mvn -Pclient
 This is a follow up to this message at dev@olingo.
 http://markmail.org/search/list:org.apache.olingo.dev#query:list%3Aorg.apache.olingo.dev+page:7+mid:yi7cfqo4adfexooh+state:results
 thanks.



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


[jira] [Created] (OLINGO-693) Remove Serializable Interface from CSDLNamed Interface

2015-06-10 Thread Christian Amend (JIRA)
Christian Amend created OLINGO-693:
--

 Summary: Remove Serializable Interface from CSDLNamed Interface
 Key: OLINGO-693
 URL: https://issues.apache.org/jira/browse/OLINGO-693
 Project: Olingo
  Issue Type: Improvement
  Components: odata4-client, odata4-commons, odata4-server
Affects Versions: (Java) V4 4.0.0-beta-03
Reporter: Christian Amend
Assignee: Christian Amend
 Fix For: (Java) V4 4.0.0


Remove Serializable Interface from CSDLNamed Interface as it is not necessary 
and does not provide any value.



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


[jira] [Resolved] (OLINGO-689) Olingo 2 unicode name suport

2015-06-10 Thread Michael Bolz (JIRA)

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

Michael Bolz resolved OLINGO-689.
-
Resolution: Fixed

 Olingo 2 unicode name suport
 

 Key: OLINGO-689
 URL: https://issues.apache.org/jira/browse/OLINGO-689
 Project: Olingo
  Issue Type: Bug
  Components: odata2-core
Affects Versions: V2 2.0.4
 Environment: Windows 7 64 bit
Reporter: Sébastien Lévêque
Assignee: Michael Bolz
 Fix For: V2 2.0.5

 Attachments: Test.java


 It’s seem that are some issues with regular expression in class 
 EdmNamedImplProv.
  
 The first one is about \\u00C0\\u00D6 part. It should be \\u00C0-\\u00D6 as 
 it’s only alphabetic characters.
 With current implementation Õ Ä can’t be used but Ö À can be used.
  
 The second issue is about \\x1-\\xE, range only available for first 
 character, but not the following ones (another bug ?).
 \x? is not supported in regular expression.
 It should be \x?? (2 and only 2 characters) or \x{?}.
 This part is splited like \\x10, 0 (twice), 0 to  \\xEF, F (3 time).
 This make some characters valid at first position like numeric characters or 
 × (\u00D7) multiplication sign.
 But at the beginning of the expression there is 
 \\u00C0\\u00D6\\u00D8-\\u00F6, means that \u00D7 should not be allowed.



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


[jira] [Commented] (OLINGO-689) Olingo 2 unicode name suport

2015-06-10 Thread Michael Bolz (JIRA)

[ 
https://issues.apache.org/jira/browse/OLINGO-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14580500#comment-14580500
 ] 

Michael Bolz commented on OLINGO-689:
-

Hi [~Sebastien],

with [this 
commit|https://git1-us-west.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=01fd19e7a7677417efd954c92fb62704a1d63a61]
 the used pattern is changed with the in OData V2 specification suggested 
pattern.

See *Section 2.2.6 SimpleIdentifier* and the pattern:
{code}
{[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}}
{code}

Can you please check if this solution fit for your use case (and if yes close 
the issue).

Best regards,
Michael

 Olingo 2 unicode name suport
 

 Key: OLINGO-689
 URL: https://issues.apache.org/jira/browse/OLINGO-689
 Project: Olingo
  Issue Type: Bug
  Components: odata2-core
Affects Versions: V2 2.0.4
 Environment: Windows 7 64 bit
Reporter: Sébastien Lévêque
Assignee: Michael Bolz
 Fix For: V2 2.0.5

 Attachments: Test.java


 It’s seem that are some issues with regular expression in class 
 EdmNamedImplProv.
  
 The first one is about \\u00C0\\u00D6 part. It should be \\u00C0-\\u00D6 as 
 it’s only alphabetic characters.
 With current implementation Õ Ä can’t be used but Ö À can be used.
  
 The second issue is about \\x1-\\xE, range only available for first 
 character, but not the following ones (another bug ?).
 \x? is not supported in regular expression.
 It should be \x?? (2 and only 2 characters) or \x{?}.
 This part is splited like \\x10, 0 (twice), 0 to  \\xEF, F (3 time).
 This make some characters valid at first position like numeric characters or 
 × (\u00D7) multiplication sign.
 But at the beginning of the expression there is 
 \\u00C0\\u00D6\\u00D8-\\u00F6, means that \u00D7 should not be allowed.



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


[jira] [Resolved] (OLINGO-683) Unable to query an entity using an int id

2015-06-10 Thread Chandan V.A (JIRA)

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

Chandan V.A resolved OLINGO-683.

   Resolution: Fixed
Fix Version/s: V2 2.0.5

 Unable to query an entity using an int id
 -

 Key: OLINGO-683
 URL: https://issues.apache.org/jira/browse/OLINGO-683
 Project: Olingo
  Issue Type: Bug
  Components: odata2-jpa
Affects Versions: V2 2.0.3
Reporter: arathi m
Assignee: Chandan V.A
 Fix For: V2 2.0.5


 I have a MySQL table with an int primary key. I exposed my database table 
 using an Odata service using Olingo-odata2 JPA processor. When I query my 
 entity set using this URL:
 http://host/emplist-web/emplist.svc/Customers(1)
 I get Requested Resource not found exception. But the record exists with 
 id=1.
 I debugged code and found that the JPQL generated is Select E1.Customer from 
 Customers E1 where E1.id=1L. But since my id is an int, the JPQL should be  
 Select E1.Customer from Customers E1 where E1.id=1.
 I further debugged and the error is in evaluateComparingExpression of 
 org.apache.olingo.odata2.jpa.processor.core.ODataExpressionParser 
 evaluateComparingExpression method.
 This code:
 else if 
 (EdmSimpleTypeKind.Int64.getEdmSimpleTypeInstance().isCompatible(edmSimpleType))
  {
   uriLiteral = uriLiteral + JPQLStatement.DELIMITER.LONG; //$NON-NLS-1$
 }
 adds the erroneous JPQL I mentioned earlier. The fix would be to replace 
 above with this
 else 
 if(EdmSimpleTypeKind.Int32.getEdmSimpleTypeInstance().equals(edmSimpleType))
 {
   uriLiteral = uriLiteral;
 }
 else if 
 (EdmSimpleTypeKind.Int64.getEdmSimpleTypeInstance().isCompatible(edmSimpleType))
  {
   uriLiteral = uriLiteral + JPQLStatement.DELIMITER.LONG; //$NON-NLS-1$
 }



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


[jira] [Updated] (OLINGO-692) Improve processor methods

2015-06-10 Thread Christian Amend (JIRA)

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

Christian Amend updated OLINGO-692:
---
Description: 
Add MediaEntityProcessor.delete() method
Add PrimitiveValueProcessor delete() and update() method
Remove Hirachy from CountProcessors

 Improve processor methods
 -

 Key: OLINGO-692
 URL: https://issues.apache.org/jira/browse/OLINGO-692
 Project: Olingo
  Issue Type: Improvement
  Components: odata4-server
Affects Versions: (Java) V4 4.0.0-beta-03
Reporter: Christian Amend
Assignee: Christian Amend
 Fix For: (Java) V4 4.0.0


 Add MediaEntityProcessor.delete() method
 Add PrimitiveValueProcessor delete() and update() method
 Remove Hirachy from CountProcessors



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


[jira] [Resolved] (OLINGO-692) Improve processor methods

2015-06-10 Thread Christian Amend (JIRA)

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

Christian Amend resolved OLINGO-692.

Resolution: Fixed

Fixed with: 
https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=39f0708d0c8ffb34ebae4fbafc5bd2e9fd4e282a

 Improve processor methods
 -

 Key: OLINGO-692
 URL: https://issues.apache.org/jira/browse/OLINGO-692
 Project: Olingo
  Issue Type: Improvement
  Components: odata4-server
Affects Versions: (Java) V4 4.0.0-beta-03
Reporter: Christian Amend
Assignee: Christian Amend
 Fix For: (Java) V4 4.0.0


 Add MediaEntityProcessor.delete() method
 Add PrimitiveValueProcessor delete() and update() method
 Remove Hirachy from CountProcessors



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


[jira] [Created] (OLINGO-692) Improve processor methods

2015-06-10 Thread Christian Amend (JIRA)
Christian Amend created OLINGO-692:
--

 Summary: Improve processor methods
 Key: OLINGO-692
 URL: https://issues.apache.org/jira/browse/OLINGO-692
 Project: Olingo
  Issue Type: Improvement
  Components: odata4-server
Affects Versions: (Java) V4 4.0.0-beta-03
Reporter: Christian Amend
Assignee: Christian Amend
 Fix For: (Java) V4 4.0.0






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


[jira] [Commented] (OLINGO-642) Adding an OSGi version of the Cars server sample

2015-06-10 Thread Michael Bolz (JIRA)

[ 
https://issues.apache.org/jira/browse/OLINGO-642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14581027#comment-14581027
 ] 

Michael Bolz commented on OLINGO-642:
-

Hi [~ay],

I merged the latest patch 
({{0001\-OLINGO\-642\-an-OSGI-server-sample-using-build-helper-.patch}} with 
[this 
commit|https://git1-us-west.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=9e755634d7ba9f1abc8b23302498bb519adfeab5]
 on the [642 
branch|https://git1-us-west.apache.org/repos/asf?p=olingo-odata4.git;a=shortlog;h=refs/heads/OLINGO-642_OSGi-Sample].

Can you please check if that is the state you expect?

Best regards,
Michael

 Adding an OSGi version of the Cars server sample
 

 Key: OLINGO-642
 URL: https://issues.apache.org/jira/browse/OLINGO-642
 Project: Olingo
  Issue Type: Improvement
  Components: MISC
Affects Versions: (Java) V4 4.0.0-beta-02
Reporter: Akitoshi Yoshida
Assignee: Michael Bolz
 Fix For: (Java) V4 4.0.0

 Attachments: 
 0001-OLINGO-642-Adding-an-OSGi-version-of-Cars-server-sam.patch, 
 0001-OLINGO-642-an-OSGI-server-sample-using-build-helper-.patch


 This is an OSGi version of the sample Cars server project that can be 
 installed on an OSGi container. There is README.txt that explains how this 
 sample can be installed on Apache Karaf container.
 Note that the OSGi support of olingo-data4 requires OLINGO-632.



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


[jira] [Closed] (OLINGO-642) Adding an OSGi version of the Cars server sample

2015-06-10 Thread Michael Bolz (JIRA)

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

Michael Bolz closed OLINGO-642.
---

 Adding an OSGi version of the Cars server sample
 

 Key: OLINGO-642
 URL: https://issues.apache.org/jira/browse/OLINGO-642
 Project: Olingo
  Issue Type: Sub-task
  Components: MISC
Affects Versions: (Java) V4 4.0.0-beta-02
Reporter: Akitoshi Yoshida
Assignee: Michael Bolz
 Fix For: (Java) V4 4.0.0

 Attachments: 
 0001-OLINGO-642-Adding-an-OSGi-version-of-Cars-server-sam.patch, 
 0001-OLINGO-642-an-OSGI-server-sample-using-build-helper-.patch


 This is an OSGi version of the sample Cars server project that can be 
 installed on an OSGi container. There is README.txt that explains how this 
 sample can be installed on Apache Karaf container.
 Note that the OSGi support of olingo-data4 requires OLINGO-632.



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


[jira] [Resolved] (OLINGO-642) Adding an OSGi version of the Cars server sample

2015-06-10 Thread Michael Bolz (JIRA)

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

Michael Bolz resolved OLINGO-642.
-
Resolution: Fixed

Available on branch

 Adding an OSGi version of the Cars server sample
 

 Key: OLINGO-642
 URL: https://issues.apache.org/jira/browse/OLINGO-642
 Project: Olingo
  Issue Type: Sub-task
  Components: MISC
Affects Versions: (Java) V4 4.0.0-beta-02
Reporter: Akitoshi Yoshida
Assignee: Michael Bolz
 Fix For: (Java) V4 4.0.0

 Attachments: 
 0001-OLINGO-642-Adding-an-OSGi-version-of-Cars-server-sam.patch, 
 0001-OLINGO-642-an-OSGI-server-sample-using-build-helper-.patch


 This is an OSGi version of the sample Cars server project that can be 
 installed on an OSGi container. There is README.txt that explains how this 
 sample can be installed on Apache Karaf container.
 Note that the OSGi support of olingo-data4 requires OLINGO-632.



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


[jira] [Created] (OLINGO-696) Final merge of OLINGO-695 branch in master

2015-06-10 Thread Michael Bolz (JIRA)
Michael Bolz created OLINGO-696:
---

 Summary: Final merge of OLINGO-695 branch in master
 Key: OLINGO-696
 URL: https://issues.apache.org/jira/browse/OLINGO-696
 Project: Olingo
  Issue Type: Sub-task
Affects Versions: (Java) V4 4.0.0-beta-03
Reporter: Michael Bolz
Assignee: Michael Bolz
Priority: Minor


Final merge of OLINGO-695 branch into master.



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


[jira] [Updated] (OLINGO-678) Add a simple client to samples/client that can be run against the current samples/server

2015-06-10 Thread Michael Bolz (JIRA)

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

Michael Bolz updated OLINGO-678:

Issue Type: Sub-task  (was: Improvement)
Parent: OLINGO-695

 Add a simple client to samples/client that can be run against the current 
 samples/server
 

 Key: OLINGO-678
 URL: https://issues.apache.org/jira/browse/OLINGO-678
 Project: Olingo
  Issue Type: Sub-task
  Components: MISC
Affects Versions: (Java) V4 4.0.0-beta-03
Reporter: Akitoshi Yoshida
Assignee: Michael Bolz
 Attachments: 
 0001-OLINGO-678-Add-a-simple-client-to-samples-client-tha.patch


 A simple client that can be paired with the current samples/server to invoke 
 some basic operations. The usage pattern is based on the V2's client.
 Assuming the server is running, you can run this client by
 cd samples/client
 mvn -Pclient
 This is a follow up to this message at dev@olingo.
 http://markmail.org/search/list:org.apache.olingo.dev#query:list%3Aorg.apache.olingo.dev+page:7+mid:yi7cfqo4adfexooh+state:results
 thanks.



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