You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/10/21 02:57:00 UTC

[GitHub] csantanapr closed pull request #2875: Added support for configurable java action method name.

csantanapr closed pull request #2875: Added support for configurable java action method name.
URL: https://github.com/apache/incubator-openwhisk/pull/2875
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/javaAction/Dockerfile b/core/javaAction/Dockerfile
index 242c6a9d90..076f2c5daa 100644
--- a/core/javaAction/Dockerfile
+++ b/core/javaAction/Dockerfile
@@ -1 +1 @@
-FROM openwhisk/java8action:1.0.0
+FROM openwhisk/java8action:1.0.1
diff --git a/docs/actions.md b/docs/actions.md
index a1d161e137..b9dcdd9553 100644
--- a/docs/actions.md
+++ b/docs/actions.md
@@ -863,6 +863,10 @@ class is one that implements a static `main` method as described above. If the
 class is not in the default package, use the Java fully-qualified class name,
 e.g., `--main com.example.MyMain`.
 
+If needed you can also customize the method name of your Java action. This
+can be done by specifying the Java fully-qualified method name of your action,
+e.q., `--main com.example.MyMain#methodName`
+
 Action invocation is the same for Java actions as it is for Swift and JavaScript actions:
 
 ```


 

----------------------------------------------------------------
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