[jira] [Commented] (CAMEL-13005) olingo4 component serviceUri not set

2018-12-17 Thread Dmitry Volodin (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-13005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16722780#comment-16722780
 ] 

Dmitry Volodin commented on CAMEL-13005:


Ok, [~phantomjinx], I will try to do this, but looks like some changes were 
introduced in 2.23 and OOB cherry-pick is not working.

> olingo4 component serviceUri not set
> 
>
> Key: CAMEL-13005
> URL: https://issues.apache.org/jira/browse/CAMEL-13005
> Project: Camel
>  Issue Type: Bug
>  Components: camel-olingo4
>Affects Versions: 2.21.0
>Reporter: Paul Richardson
>Assignee: Dmitry Volodin
>Priority: Major
> Fix For: 3.0.0, 2.24.0, 2.23.1
>
>
> I think there is a bug in the olingo4 component/endpoint. The [#(1)] states 
> that the serviceUri can be used as a query hence
> {code:java}
> from("olingo4://read/Products?serviceUri=" + serviceUri);{code}
> However, adding this to a simple test script [#(2)], this results in an 
> exception [#(3)] that the serviceUri has not been set. Digging into the code 
> it seems that the _Olingo4Configuration_ is applied to the endpoint but only 
> has the _apiName_ and _methodName_ set. Consequently, when the call 
> _configuration.getServiceUri()_ is called, the value is null.
>  
>  [1] 
> [https://github.com/apache/camel/blob/master/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc]
>   [2] 
> [https://gist.github.com/phantomjinx/085df03915c5813a1f04b32e09d00049#filesimpleolingo4test-java]
>   [3] 
> [https://gist.github.com/phantomjinx/085df03915c5813a1f04b32e09d00049#gistcomment-2784671]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13005) olingo4 component serviceUri not set

2018-12-14 Thread Paul Richardson (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-13005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16721647#comment-16721647
 ] 

Paul Richardson commented on CAMEL-13005:
-

Hi [~dmvolod]

If it is possible to backport it to 2.21.0 then that would be great! As part of 
the fuse project, we take a fork of the camel project and apply bug fixes so 
probably depends on how complex the fix is.

Thx for the quick fix!

> olingo4 component serviceUri not set
> 
>
> Key: CAMEL-13005
> URL: https://issues.apache.org/jira/browse/CAMEL-13005
> Project: Camel
>  Issue Type: Bug
>  Components: camel-olingo4
>Affects Versions: 2.21.0
>Reporter: Paul Richardson
>Assignee: Dmitry Volodin
>Priority: Major
> Fix For: 3.0.0, 2.24.0, 2.23.1
>
>
> I think there is a bug in the olingo4 component/endpoint. The [#(1)] states 
> that the serviceUri can be used as a query hence
> {code:java}
> from("olingo4://read/Products?serviceUri=" + serviceUri);{code}
> However, adding this to a simple test script [#(2)], this results in an 
> exception [#(3)] that the serviceUri has not been set. Digging into the code 
> it seems that the _Olingo4Configuration_ is applied to the endpoint but only 
> has the _apiName_ and _methodName_ set. Consequently, when the call 
> _configuration.getServiceUri()_ is called, the value is null.
>  
>  [1] 
> [https://github.com/apache/camel/blob/master/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc]
>   [2] 
> [https://gist.github.com/phantomjinx/085df03915c5813a1f04b32e09d00049#filesimpleolingo4test-java]
>   [3] 
> [https://gist.github.com/phantomjinx/085df03915c5813a1f04b32e09d00049#gistcomment-2784671]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-13005) olingo4 component serviceUri not set

2018-12-14 Thread Dmitry Volodin (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-13005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16721640#comment-16721640
 ] 

Dmitry Volodin commented on CAMEL-13005:


If you need to backport this issue to other Camel versions, let us know.

> olingo4 component serviceUri not set
> 
>
> Key: CAMEL-13005
> URL: https://issues.apache.org/jira/browse/CAMEL-13005
> Project: Camel
>  Issue Type: Bug
>  Components: camel-olingo4
>Affects Versions: 2.21.0
>Reporter: Paul Richardson
>Assignee: Dmitry Volodin
>Priority: Major
> Fix For: 3.0.0, 2.24.0, 2.23.1
>
>
> I think there is a bug in the olingo4 component/endpoint. The [#(1)] states 
> that the serviceUri can be used as a query hence
> {code:java}
> from("olingo4://read/Products?serviceUri=" + serviceUri);{code}
> However, adding this to a simple test script [#(2)], this results in an 
> exception [#(3)] that the serviceUri has not been set. Digging into the code 
> it seems that the _Olingo4Configuration_ is applied to the endpoint but only 
> has the _apiName_ and _methodName_ set. Consequently, when the call 
> _configuration.getServiceUri()_ is called, the value is null.
>  
>  [1] 
> [https://github.com/apache/camel/blob/master/components/camel-olingo4/camel-olingo4-component/src/main/docs/olingo4-component.adoc]
>   [2] 
> [https://gist.github.com/phantomjinx/085df03915c5813a1f04b32e09d00049#filesimpleolingo4test-java]
>   [3] 
> [https://gist.github.com/phantomjinx/085df03915c5813a1f04b32e09d00049#gistcomment-2784671]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)