You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dm...@apache.org on 2018/12/21 05:06:24 UTC

[camel] branch camel-2.x updated: CAMEL-13006: Fix for required properties in odata configuration

This is an automated email from the ASF dual-hosted git repository.

dmvolod pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.x by this push:
     new 62e6700  CAMEL-13006: Fix for required properties in odata configuration
62e6700 is described below

commit 62e6700bf72574c1b72c841f19383b011c7d4459
Author: phantomjinx <p....@phantomjinx.co.uk>
AuthorDate: Thu Dec 20 11:26:36 2018 +0000

    CAMEL-13006: Fix for required properties in odata configuration
    
    * edm and responseHandler are set at runtime by the Oling4AppImpl, yet
      they are checked by the endpoint using the getters/setters in the
      Oling4Configuration. Therefore, they must be included in the latter to
      allow for a route to pass muster.
---
 components/camel-olingo4/camel-olingo4-component/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/components/camel-olingo4/camel-olingo4-component/pom.xml b/components/camel-olingo4/camel-olingo4-component/pom.xml
index 812e29b..1b6e031 100644
--- a/components/camel-olingo4/camel-olingo4-component/pom.xml
+++ b/components/camel-olingo4/camel-olingo4-component/pom.xml
@@ -139,7 +139,6 @@
                   <apiName/>
                   <proxyClass>org.apache.camel.component.olingo4.api.Olingo4App</proxyClass>
                   <fromSignatureFile>src/signatures/olingo-api-signature.txt</fromSignatureFile>
-                  <excludeConfigNames>edm|responseHandler</excludeConfigNames>
                   <extraOptions>
                     <extraOption>
                       <name>keyPredicate</name>
@@ -149,6 +148,8 @@
                   <nullableOptions>
                     <nullableOption>queryParams</nullableOption>
                     <nullableOption>endpointHttpHeaders</nullableOption>
+                    <nullableOption>edm</nullableOption>
+                    <nullableOption>responseHandler</nullableOption>
                   </nullableOptions>
                 </api>
               </apis>