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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to