You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/08 20:44:27 UTC

[GitHub] misl opened a new issue #2590: Feature request: Allow java action entrypoint method name to be configurable

misl opened a new issue #2590: Feature request: Allow java action entrypoint method name to be configurable
URL: https://github.com/apache/incubator-openwhisk/issues/2590
 
 
   Looking at the 'wsk' I initially expected the entrypoint method name for java actions already to be configurable:
   
         --main string            the name of the action entry point (function or fully-qualified method name when applicable)
   
   It mentions fully qualified method name. So I tried using:
   
       $> wsk action create ... --main my.package.path.ActionClass#methodName
   
   Even though this command is accepted. Invoking the action result in an error. 
   After a quick look at the source code https://github.com/apache/incubator-openwhisk/blob/master/core/javaAction/proxy/src/main/java/openwhisk/java/action/JarLoader.java line 61 . I noticed the method name 'main' is hardcoded.
   
   
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services