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 2018/05/10 21:07:55 UTC

[GitHub] brunogirin opened a new issue #900: jar files are exported for each Java action even when they are shared

brunogirin opened a new issue #900: jar files are exported for each Java action even when they are shared
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/900
 
 
   When running `wskdeploy export`, the tool downloads all artefacts related to the project's package. If the project has multiple Java actions that are packaged in the same jar file, it downloads that jar file several times under different names.
   
   ## Steps to reproduce
   
   1. Create 2 Java actions (named `action1` and `action2`) packaged in the same jar file (named `myactions.jar`)
   2. Create a manifest to deploy those in a package called `example`
   3. Run `wskdeploy sync`
   4. Run `wskdeploy export`
   
   ## Actual behaviour
   
   `wskdeploy` creates a folder `example` and in that folder it downloads the jar file twice as `action1.jar` and `action2.jar`.
   
   ## Expected behaviour
   
   `wskdeploy` should work out that there is only one jar file and download it only once.
   
   From a functional point of view, the current behaviour works, it impacts the export's performance in terms of time spent and local disk space used.

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