Explorar el Código

Merge pull request #10055 from rpastrana/HPCC-17662-AllowMethodLessConfiguraiton

HPCC-17662 WsESDLConfig Publish bindings allows empty methods config

Reviewed-By: Michael Gardner <michael.gardner@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman hace 8 años
padre
commit
bfa6ed2d16
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      esp/services/ws_esdlconfig/ws_esdlconfigservice.cpp

+ 1 - 1
esp/services/ws_esdlconfig/ws_esdlconfigservice.cpp

@@ -700,7 +700,7 @@ bool CWsESDLConfigEx::onPublishESDLBinding(IEspContext &context, IEspPublishESDL
         }
 
         if (!methodstree || methodstree->getCount("Method") <= 0)
-            throw MakeStringException(-1, "Could not find any method configuration entries.");
+            ESPLOG(LogMin, "Publishing ESDL Binding with no METHODS configured!");
 
         if (espProcName.length() == 0)
             throw MakeStringException(-1, "Must provide ESP Process name");