Added maven archetype for Java Action (#97)

* Adding Maven Archetype to generate template projects for JavaActions
* Adding archetype tests
* enabled travis
* Adding maven wrapper
* Fixed final name of generated project to match artifactId
* README update for deploying app
14 files changed
tree: fe6e779dabb310093f6031de1a69672b16e0055b
  1. docker-compose/
  2. java-action-archetype/
  3. java-local/
  4. maven-java/
  5. node-local/
  6. terraform-wskdeploy-plugin/
  7. tools/
  8. .gitignore
  9. .travis.yml
  10. CONTRIBUTING.md
  11. LICENSE.txt
  12. README.md
README.md

Developer tools for OpenWhisk

License Build Status

This repository is part of Apache OpenWhisk and provides developer tools that help with local development, testing and operation of OpenWhisk.

Subprojects

  • docker-compose allows testing OpenWhisk locally, using Docker Compose. This is ideal if you are contributing to core development
  • node-local allows testing individual OpenWhisk functions locally, using only node.js. This is ideal if you are writing node.js functions to run in OpenWhisk, but need to emulate some of OpenWhisk's behavior in creating params and expecting promises.
  • maven-java allows testing OpenWhisk Java Actions. This shows how to package the function dependencies e.g. external jar.

Travis builds

Each tool in this repository has to provide travis build scripts inside a .travis folder. The folder should define 2 scripts:

  • setup.sh - invoked during before_install phase
  • build.sh - invokes during script phase

For an example check out docker-compose/.travis folder.