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:05:43 UTC

[camel] branch camel-2.23.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.23.x
in repository https://gitbox.apache.org/repos/asf/camel.git


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

commit ab1bb7431b0f2262975d973415787e4695e8aa22
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 f71f8e4..26e8f5c 100644
--- a/components/camel-olingo4/camel-olingo4-component/pom.xml
+++ b/components/camel-olingo4/camel-olingo4-component/pom.xml
@@ -137,7 +137,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>
@@ -147,6 +146,8 @@
                   <nullableOptions>
                     <nullableOption>queryParams</nullableOption>
                     <nullableOption>endpointHttpHeaders</nullableOption>
+                    <nullableOption>edm</nullableOption>
+                    <nullableOption>responseHandler</nullableOption>
                   </nullableOptions>
                 </api>
               </apis>