incubator-openwhisk-runtime-java.git
5 weeks agoRename the package from openwhisk to org.apache.openwhisk (#73) master
Vincent [Thu, 8 Nov 2018 03:03:35 +0000 (22:03 -0500)] 
Rename the package from openwhisk to org.apache.openwhisk (#73)

5 weeks agoSwitch to Scala 2.12.7 (#72)
Chetan Mehrotra [Wed, 7 Nov 2018 00:07:20 +0000 (05:37 +0530)] 
Switch to Scala 2.12.7 (#72)

3 months agoRevert the content of copyright to the content in the template (#70) 8@1.12.0-incubating
Vincent [Tue, 28 Aug 2018 20:01:11 +0000 (16:01 -0400)] 
Revert the content of copyright to the content in the template (#70)

4 months agoUpdate changelog to pick up run handler updates (#68) 8@1.1.2
Carlos Santana [Tue, 14 Aug 2018 20:23:50 +0000 (16:23 -0400)] 
Update changelog to pick up run handler updates (#68)

4 months agoupdate run handler to accept more environment variables (#67)
Carlos Santana [Tue, 14 Aug 2018 14:15:37 +0000 (10:15 -0400)] 
update run handler to accept more environment variables (#67)

5 months agoTag master build as 'latest'. (#66)
rodric rabbah [Thu, 12 Jul 2018 19:55:08 +0000 (15:55 -0400)] 
Tag master build as 'latest'. (#66)

5 months agoRemove unnecessary Travis setup. (#64)
rodric rabbah [Thu, 12 Jul 2018 14:37:25 +0000 (10:37 -0400)] 
Remove unnecessary Travis setup. (#64)

5 months agoupdate publish.sh for changes in repo structure (#65) 8@1.1.1
David Grove [Mon, 9 Jul 2018 21:54:15 +0000 (17:54 -0400)] 
update publish.sh for changes in repo structure (#65)

5 months agoLogs and tests (#63)
rodric rabbah [Mon, 9 Jul 2018 15:29:52 +0000 (11:29 -0400)] 
Logs and tests (#63)

1. Emit log markers as expected by managed runtimes.
2. Handle missing code more graciously.
3. Adopt runtime tests upstream (which exposed the missing markers)
4. Move the proxy under core to match canonical structure of repo
5. Update CHANGELOG

5 months agoAdd test for init twice. (#62)
rodric rabbah [Fri, 6 Jul 2018 13:59:41 +0000 (09:59 -0400)] 
Add test for init twice. (#62)

5 months agoadd to travis.yml the runtime repo in the deploy block (#58)
Eric Weiterman [Wed, 20 Jun 2018 22:37:21 +0000 (18:37 -0400)] 
add to travis.yml the runtime repo in the deploy block (#58)

5 months agoAdd skip_pull_runtimes for Travis CI (#59)
Vincent [Tue, 19 Jun 2018 17:57:22 +0000 (13:57 -0400)] 
Add skip_pull_runtimes for Travis CI (#59)

6 months agoAdd the DISCLAIMER file for Apache incubator project (#57)
Vincent [Tue, 12 Jun 2018 14:42:00 +0000 (10:42 -0400)] 
Add the DISCLAIMER file for Apache incubator project (#57)

Partially-closes: apache/incubator-openwhisk-release#180

6 months agoFix bad Dockerfile license and use ASF release config. (#55)
Matt Rutkowski [Tue, 29 May 2018 22:55:49 +0000 (17:55 -0500)] 
Fix bad Dockerfile license and use ASF release config. (#55)

6 months agoLast files to need ASF License headers. (#54)
Matt Rutkowski [Wed, 23 May 2018 14:45:30 +0000 (09:45 -0500)] 
Last files to need ASF License headers. (#54)

* Last files to need ASF License headers.

* Add ASF license header to .gradle files.

6 months agoFix travis yaml file asf header, change to mini. (#53)
Matt Rutkowski [Fri, 18 May 2018 16:40:20 +0000 (11:40 -0500)] 
Fix travis yaml file asf header, change to mini. (#53)

7 months agoRestore the LICENSE and NOTICE to fit the source code release (#51)
Vincent [Fri, 11 May 2018 22:33:31 +0000 (18:33 -0400)] 
Restore the LICENSE and NOTICE to fit the source code release (#51)

All the work we have done for binary dependencies have been saved
in openwhisk release. We will resume the work later in openwhisk
release repository.

7 months agoFix markdown files with a typo. in the Hash license header. (#50)
Matt Rutkowski [Thu, 10 May 2018 14:44:14 +0000 (09:44 -0500)] 
Fix markdown files with a typo. in the Hash license header. (#50)

7 months agoAdd ASF license headers to all Scala .conf files. (#49)
Matt Rutkowski [Tue, 8 May 2018 19:31:08 +0000 (14:31 -0500)] 
Add ASF license headers to all Scala .conf files. (#49)

7 months agoAdd the licensesof the dependencies into LICENSE file (#32)
Vincent [Wed, 2 May 2018 22:20:52 +0000 (18:20 -0400)] 
Add the licensesof the dependencies into LICENSE file (#32)

Partially-closes: apache/incubator-openwhisk-release#109

7 months agoUpdate .md and .sh files to pass scancode with latest .cfg (#47)
Matt Rutkowski [Wed, 2 May 2018 00:24:21 +0000 (19:24 -0500)] 
Update .md and .sh files to pass scancode with latest .cfg (#47)

7 months agoupdate travis script to fail earlier (#46)
Carlos Santana [Sat, 28 Apr 2018 01:31:53 +0000 (21:31 -0400)] 
update travis script to fail earlier (#46)

7 months agoremove extra deploy from travis (#44) 8@1.1.0 8@latest
Carlos Santana [Thu, 26 Apr 2018 18:52:04 +0000 (14:52 -0400)] 
remove extra deploy from travis (#44)

7 months agoRefactor tests, update changelog (#39)
Carlos Santana [Thu, 26 Apr 2018 17:06:45 +0000 (13:06 -0400)] 
Refactor tests, update changelog (#39)

* Refactor java8 directories and update changelog

* refactor tests

* update .gitaatributes

* remove extra lines

* remove statement about default base on extension

* update changelog

7 months agoadd license header to 1 file (#38)
Ying Chun Guo [Wed, 25 Apr 2018 14:09:40 +0000 (22:09 +0800)] 
add license header to 1 file (#38)

7 months agoDeploy a master tag image (#37)
Carlos Santana [Mon, 23 Apr 2018 18:27:31 +0000 (14:27 -0400)] 
Deploy a master tag image (#37)

7 months agoAdd scancode using ASF config. to Travis build. (#36)
Matt Rutkowski [Wed, 18 Apr 2018 20:18:29 +0000 (15:18 -0500)] 
Add scancode using ASF config. to Travis build. (#36)

7 months agoadd headers (#33)
Ying Chun Guo [Tue, 17 Apr 2018 16:33:34 +0000 (00:33 +0800)] 
add headers (#33)

7 months agoAdoptOpenJDK Eclipse OpenJ9 the Java runtime for OpenWhisk Java actions (#24)
Parameswaran Selvam [Mon, 16 Apr 2018 16:33:37 +0000 (22:03 +0530)] 
AdoptOpenJDK Eclipse OpenJ9 the Java runtime for OpenWhisk Java actions (#24)

Enable AdoptOpenJDK + Eclipse OpenJ9 JVM is the Java runtime for OpenWhisk Java actions.

Signed-off-by: Parameswaran Selvam <sparameswara@gmail.com>
8 months agoUpgrade to gradle 4.6 (#30)
Gorkem Ercan [Thu, 5 Apr 2018 14:37:54 +0000 (10:37 -0400)] 
Upgrade to gradle 4.6 (#30)

Updates to gradle 4.6 which supports Java 9.

Signed-off-by: Gorkem Ercan <gorkem.ercan@gmail.com>
8 months agoupdate notice file (#29)
Ying Chun Guo [Wed, 4 Apr 2018 13:21:07 +0000 (21:21 +0800)] 
update notice file (#29)

8 months agoupdate URL in travis2slack webhook (#28)
David Grove [Tue, 27 Mar 2018 16:02:51 +0000 (12:02 -0400)] 
update URL in travis2slack webhook (#28)

8 months agoadd webhook for slack notification of PR results (#27)
David Grove [Fri, 23 Mar 2018 19:52:49 +0000 (15:52 -0400)] 
add webhook for slack notification of PR results (#27)

9 months agoAdd the license headers (#23)
Vincent [Wed, 7 Mar 2018 20:44:21 +0000 (15:44 -0500)] 
Add the license headers (#23)

9 months agoSwitch to Maven based dependency (#11)
Chetan Mehrotra [Tue, 27 Feb 2018 17:37:51 +0000 (23:07 +0530)] 
Switch to Maven based dependency (#11)

9 months agoAdd the NOTICE file (#17)
Vincent [Tue, 27 Feb 2018 03:38:41 +0000 (22:38 -0500)] 
Add the NOTICE file (#17)

10 months agoFix travis build (#9)
Chetan Mehrotra [Tue, 13 Feb 2018 17:53:18 +0000 (23:23 +0530)] 
Fix travis build (#9)

12 months agoUpda the Travis to use "remote" as the installation mode for CLI (#4)
Vincent [Tue, 21 Nov 2017 23:57:33 +0000 (18:57 -0500)] 
Upda the Travis to use "remote" as the installation mode for CLI (#4)

13 months agoCreate more understandable OPENWHISK_HOME missing msg (#3)
Jonathan Springer [Thu, 26 Oct 2017 19:52:44 +0000 (12:52 -0700)] 
Create more understandable OPENWHISK_HOME missing msg (#3)

13 months agoAdd test for missing 'main' and CHANGELOG. 2/head 8@1.0.1
Rodric Rabbah [Wed, 18 Oct 2017 20:58:41 +0000 (16:58 -0400)] 
Add test for missing 'main' and CHANGELOG.

13 months agoAdded support for configurable java action method name
Minto van der Sluis [Wed, 18 Oct 2017 20:54:48 +0000 (16:54 -0400)] 
Added support for configurable java action method name

    Implement support for fully qualified method names
    Added test cases for fully qualified method names

14 months agoremove bx from readme
Carlos Santana [Tue, 3 Oct 2017 01:39:00 +0000 (21:39 -0400)] 
remove bx from readme

14 months agoAdded creds for dockerhub 8@1.0.0
Carlos Santana [Wed, 27 Sep 2017 22:47:30 +0000 (18:47 -0400)] 
Added creds for dockerhub

14 months agoConfigure runtime as stand-alone repo
Carlos Santana [Wed, 27 Sep 2017 02:57:45 +0000 (22:57 -0400)] 
Configure runtime as stand-alone repo

14 months agoContainerFactory SPI (#2659)
tysonnorris [Mon, 25 Sep 2017 16:50:04 +0000 (09:50 -0700)] 
ContainerFactory SPI (#2659)

14 months agoSupport docker for mac using the 'local' environment (#2686)
Carlos Santana [Fri, 15 Sep 2017 23:31:29 +0000 (19:31 -0400)] 
Support docker for mac using the 'local' environment (#2686)

14 months agoupdate .gitignore out/ for intellij (#2756)
Carlos Santana [Fri, 15 Sep 2017 16:58:03 +0000 (12:58 -0400)] 
update .gitignore out/ for intellij (#2756)

15 months agoBump akka-http to version 10.0.10. (#2726)
James Dubee [Tue, 12 Sep 2017 05:36:45 +0000 (01:36 -0400)] 
Bump akka-http to version 10.0.10. (#2726)

15 months agoApply standard scala formatting. (#2650)
Markus Thömmes [Wed, 6 Sep 2017 18:53:48 +0000 (20:53 +0200)] 
Apply standard scala formatting. (#2650)

Formats all .scala files according to `scalafmt`'s (opinionated) style.
Adds Travis checks for correctly formatted code.

15 months agoIgnore IntelliJ '.iml' project file (#2671)
Qaiser Abbasi [Thu, 31 Aug 2017 21:10:46 +0000 (23:10 +0200)] 
Ignore IntelliJ '.iml' project file (#2671)

15 months agoSimplify Spi implementations. (#2663)
Markus Thömmes [Thu, 31 Aug 2017 13:39:18 +0000 (15:39 +0200)] 
Simplify Spi implementations. (#2663)

Using `object`s instead of a hollow class as the "factory" for an Spi makes them being singleton by default, which reduces boilerplate to implement an Spi.

The `Dependencies` object is not used anywhere and there might be better alternatives which we can decide on once the need of them comes up. For now, the Spi's interfaces are relatively tightly coupled to their current default implementations anyway.

Also updated documentation.

15 months agoUse Java based JsonSchema validator (#2565)
Markus Thömmes [Wed, 16 Aug 2017 16:06:46 +0000 (18:06 +0200)] 
Use Java based JsonSchema validator (#2565)

15 months agoRemove old invoker code and refactor accordingly. (#2602)
Markus Thömmes [Wed, 16 Aug 2017 15:57:46 +0000 (17:57 +0200)] 
Remove old invoker code and refactor accordingly. (#2602)

- Refactoring the invoker for better encapsulation and separation of concerns in its packages.
- Removing Dispatcher.
- Remove unused properties from the deployment manifests.
- Add error handling for terminal failures

15 months agoBumping to gradle 4.1. (#2399)
Markus Thömmes [Wed, 16 Aug 2017 13:27:57 +0000 (15:27 +0200)] 
Bumping to gradle 4.1. (#2399)

Refer to https://docs.gradle.org/current/release-notes.html for the full release notes.

- Zinc updated (incremental Scala compiler)
- Better logging for parallel tasks (useful locally when working with redo)
- Build cache improvements

16 months agoPort Controller from Spray to Akka (#2218)
James Dubee [Sat, 12 Aug 2017 14:38:55 +0000 (10:38 -0400)] 
Port Controller from Spray to Akka (#2218)

* Port Controller from Spray to Akka
* Increase max-connections and Update JSON Unmarshaller

16 months agoAdd ability to add own environments without polluting git
Christian Bickel [Mon, 7 Aug 2017 06:30:10 +0000 (08:30 +0200)] 
Add ability to add own environments without polluting git

16 months agoSPI approach for pluggable implementations. (#2414)
tysonnorris [Fri, 4 Aug 2017 06:54:28 +0000 (23:54 -0700)] 
SPI approach for pluggable implementations. (#2414)

Adds the ability to add pluggable implementations for defined Service Provider Interfaces (SPI). The implementation to load is chosen via configuration.

First set of plug-points are:
- ArtifactStoreProvider
- MessagingProvider

16 months agoAdopt .gitignore to ignore generated certs. (#2525)
Christian Bickel [Wed, 26 Jul 2017 08:54:29 +0000 (10:54 +0200)] 
Adopt .gitignore to ignore generated certs. (#2525)

16 months agoAdd PHP 7.1 as a kind (#2415)
Rob Allen [Mon, 24 Jul 2017 16:38:34 +0000 (17:38 +0100)] 
Add PHP 7.1 as a kind (#2415)

* Implement PHP 7.1 kind
* Add tests for PHP 7.1 action
* Add PHP action documentation

Build the Docker container from php:7.1-alpine and implement the HTTP
server using PHP's built in server.

Note that when using a zip file, the router requires that the `main`
function is stored in `index.php`.

Note about the runner:
The runner sets the exit code to 1 if it has set the last line of stdout
to a string suitable for presentation to the user. Therefore, if the
exit code is not one, then display a generic message.

If there's a runtime error in the action (i.e. not spotted by linter),
then looking for the main() function will find it. Render the error to
the logs so that the user knows what's happened.

Note about vendor folder in a PHP zip:
If the PHP vendor file has a vendor directory, then this directory needs
to be used rather than the one supplied in the action container.

To do this, we require src/vendor/autoload.php which will exist if the
zip file contains it. For the two cases where (1) zip file does not contain a
vendor folder, or (2) when running a non-binary code action, we move the
container's vendor folder into src/.

16 months agoUpdate documentation:formatting for intelliJ (#2511)
Vadim Raskin [Thu, 20 Jul 2017 11:50:56 +0000 (13:50 +0200)] 
Update documentation:formatting for intelliJ (#2511)

17 months agoRemove play dependence. (#2438)
rodric rabbah [Fri, 14 Jul 2017 07:43:28 +0000 (03:43 -0400)] 
Remove play dependence. (#2438)

17 months agoignore *.class with .gitignore (#2448)
Carlos Santana [Fri, 30 Jun 2017 01:16:57 +0000 (21:16 -0400)] 
ignore *.class with .gitignore (#2448)

17 months agoMake OW run with docker for mac (#1790)
Dominic Kim [Wed, 28 Jun 2017 00:22:18 +0000 (09:22 +0900)] 
Make OW run with docker for mac (#1790)

* Add documentation for docker for mac (#1431)
* Replace akka-http client to play-ws client (temporarily)
* Introduce docker-machine environment

17 months agoAdd Swift 3.1.1 as a kind (#2120)
Paul Castro [Mon, 26 Jun 2017 23:33:27 +0000 (19:33 -0400)] 
Add Swift 3.1.1 as a kind (#2120)

* Experimental branch for 2079, uses ibm swift ubuntu image for 3.1

* Fixes issue #2079, add Swift 3.1.1 runtime kind, update Swift dependencies for Watson SDK, KituraNet, SwiftyJson

* add apache license

* Fix swift311 location and catch docker brake

The location of the swift binary for 311 is now in /usr/bin/swift
Need to catch docker errors when building by usig && instead of ;

* new zip for new swift311 runtime

17 months agoChanged all .scala and .java files to ASF license headers. (#2367)
Matt Rutkowski [Tue, 20 Jun 2017 20:45:35 +0000 (15:45 -0500)] 
Changed all .scala and .java files to ASF license headers. (#2367)

18 months agoMake travis fast again (#2308)
Carlos Santana [Mon, 29 May 2017 12:30:09 +0000 (08:30 -0400)] 
Make travis fast again (#2308)

* make travis fast again

* Refactor Unicode test to be able to exclude python and swift

* color term expect gradlew

* do apache license header

* Use abstract class

* exclude Java

* remove initializer from abstract class

18 months agoUpdate JDK version to 8.131.11 (#2278)
Christian Bickel [Tue, 23 May 2017 11:00:33 +0000 (13:00 +0200)] 
Update JDK version to 8.131.11 (#2278)

* Update JDK version to 8.131.11

* Update jre of java8action

19 months agoreplace github refs openwhisk to apache (#2236)
Carlos Santana [Mon, 15 May 2017 16:46:38 +0000 (12:46 -0400)] 
replace github refs openwhisk to apache (#2236)

19 months agoImplement a proxy for a container to implement concurrent behavior (#2107)
Markus Thömmes [Thu, 4 May 2017 19:33:25 +0000 (21:33 +0200)] 
Implement a proxy for a container to implement concurrent behavior (#2107)

A proxy that wraps a Container. It is used to keep track of the lifecycle
of a container and to guarantee a contract between the client of the container
and the container itself.

The contract is as follows:
1. Only one job is to be sent to the ContainerProxy at one time. ContainerProxy
   will delay all further jobs until the first job is finished for defensiveness
   reasons.
2. The next job can be sent to the ContainerProxy after it indicated capacity by
   sending NeedWork to its parent.
3. A Remove message can be sent at any point in time. Like multiple jobs though,
   it will be delayed until the currently running job has finished.

19 months agoBump gradle to version 3.5 (#2176)
Markus Thömmes [Tue, 25 Apr 2017 10:09:12 +0000 (12:09 +0200)] 
Bump gradle to version 3.5 (#2176)

This includes a much nicer output, especially with parallel jobs.

19 months agoAdds multiple file support for Swift actions with zip files. (#1993)
Paul Castro [Wed, 19 Apr 2017 02:11:09 +0000 (22:11 -0400)] 
Adds multiple file support for Swift actions with zip files. (#1993)

Also fixes bad redirect in build script.

20 months agoAPI GW V2 - Add 'wsk api` command (#2068)
Mark Deuser [Thu, 13 Apr 2017 21:39:25 +0000 (17:39 -0400)] 
API GW V2 - Add 'wsk api` command (#2068)

* API GW V2 CLI - Add 'wsk api' command
- Support both 'wsk api-experimental' and 'wsk api' commands (separate PR wil deprecate `api-experimental`)
- 'wsk api' command requires that the target action exist and that it's a web action

* API GW V2 CLI - 'wsk api' tests
* Add "COMING SOON" label to 'wsk api' help
* API update needs additional param
* Reduce travis test execution time

20 months agoAdds virtualenv support for python actions.
Robert Sulzmann [Fri, 3 Mar 2017 15:32:35 +0000 (16:32 +0100)] 
Adds virtualenv support for python actions.

Also, change working directory for Python actions to allow relative path access to file system.

20 months agoTiny text changes to clarify how enhancement requests should be raised in GH issues...
Michael Marth [Fri, 7 Apr 2017 02:36:53 +0000 (19:36 -0700)] 
Tiny text changes to clarify how enhancement requests should be raised in GH issues (#2100)

20 months agoEnable tests for unicode for python, swift. (#2070)
rodric rabbah [Mon, 3 Apr 2017 18:03:03 +0000 (14:03 -0400)] 
Enable tests for unicode for python, swift. (#2070)

Re-enable build swift/python containers (for tests to run).
Add unicode unit test for swift action container.
Allow for reinit with swift for use with invoke.py.
Fix unicode regression for swift actions.
Refactor unicode tests to add coverage - now also for base action container.
Set string encoding to utf-8 for swift action proxy.
Rewrite result extraction to avoid splitting and printing logs one line at a time.
Skip decoding when process output is a string; already utf-8.

Consolidate base64 encoding in CLI; remove Jar field in exec.

20 months agoAdd python:3 action support.
cclauss [Fri, 24 Feb 2017 09:45:12 +0000 (10:45 +0100)] 
Add python:3 action support.

Update tests to work in both Python 2 and Python 3.
Rename pythonaction to python3action for container image name for clarity.
Add tests for python:2 and python:3.
Add image names for all the actions. Rename javaaction to java8action for consistency.

21 months agodrop support for nodejs 0.12.x (#2022)
Jason Peterson [Wed, 15 Mar 2017 17:33:25 +0000 (13:33 -0400)] 
drop support for nodejs 0.12.x (#2022)

21 months agoAdding documentation on gradle usage
Markus Thoemmes [Fri, 10 Mar 2017 12:10:10 +0000 (13:10 +0100)] 
Adding documentation on gradle usage

21 months agoImprove action log driver to truncate more tightly.
Rodric Rabbah [Wed, 1 Mar 2017 05:49:00 +0000 (00:49 -0500)] 
Improve action log driver to truncate more tightly.

Separate log processors into its own trait.
Fix some accounting (ignore sentinel size).
When truncating, read all bytes up to the limit.
Add unit tests.
Fix/tighten pre-existing test.
Replace UTF-8 string with const.

21 months agoMoved to swift client repo.
Rodric Rabbah [Tue, 7 Mar 2017 15:37:09 +0000 (10:37 -0500)] 
Moved to swift client repo.

21 months agoReplace the old InvokerHealth with the actor based one (#1865)
Markus Thömmes [Tue, 7 Mar 2017 19:42:43 +0000 (20:42 +0100)] 
Replace the old InvokerHealth with the actor based one (#1865)

21 months agoRemove dependence on Exec.[js, ...] helpers; these are test helpers hence move to...
Rodric Rabbah [Sat, 4 Mar 2017 09:08:18 +0000 (04:08 -0500)] 
Remove dependence on Exec.[js, ...] helpers; these are test helpers hence move to test.

Remove subtypes.

Move exec utils for image construction to singleton.

Rebase

21 months agoAllow pre-compiled Swift binaries.
Rodric Rabbah [Mon, 6 Mar 2017 01:19:08 +0000 (20:19 -0500)] 
Allow pre-compiled Swift binaries.

21 months agoClean up test project (#1960)
Markus Thömmes [Tue, 7 Mar 2017 14:35:29 +0000 (15:35 +0100)] 
Clean up test project (#1960)

- Remove unused dependencies
- Define dependencies as compile time to be able to include them from other projects
- Standardize layout

* Bumping restassured version

* Update gitignore to include .cache-tests

21 months agoRemove old scripts. Replaced by actionproxy/invoke.py.
Rodric Rabbah [Tue, 7 Mar 2017 03:14:35 +0000 (22:14 -0500)] 
Remove old scripts. Replaced by actionproxy/invoke.py.

21 months agoEncode Exec runtime manifests in deployment configuration.
Rodric Rabbah [Sun, 5 Mar 2017 03:06:34 +0000 (22:06 -0500)] 
Encode Exec runtime manifests in deployment configuration.

Add manifest schema.
Add utilities to read Exec runtimes from manifest.
Add runtimes manifest to ansible group vars.
Write out manifest to whisk.properties and make available through WhiskConfig.

21 months agoFix regression introduced in #1946 (#1950)
Justin Berstler [Mon, 6 Mar 2017 15:46:48 +0000 (10:46 -0500)] 
Fix regression introduced in #1946 (#1950)

The change in #1946 introduced a regression such that it did not allow for Node.js zipped actions which contain an index.js but not a package.json. This is a valid configuration and should be supported.

21 months agoBump scalatest version
Markus Thoemmes [Mon, 6 Mar 2017 08:01:55 +0000 (09:01 +0100)] 
Bump scalatest version

21 months agoWarn users against the dangers of using Windows Explorer's zip action.
Justin Berstler [Sun, 5 Mar 2017 15:25:31 +0000 (10:25 -0500)] 
Warn users against the dangers of using Windows Explorer's zip action.

Using the Windows Explorer method of creating zip actions results in an incorrect zip structure. OW requires that package.json be found at the root of the zip, while the Explorer action insists on putting everything inside a top-level folder inside the zip.

Return an explicit error when package.json is not found at the root of a zipped action.

21 months agoNormalize initializer for all execs. (#1938)
rodric rabbah [Fri, 3 Mar 2017 19:28:31 +0000 (14:28 -0500)] 
Normalize initializer for all execs. (#1938)

* Normalize initializer for all execs.

* Handle empty code for blackbox.

* Do not include code if null.

21 months agoSupport python actions with zip files.
Rodric Rabbah [Mon, 27 Feb 2017 01:48:05 +0000 (20:48 -0500)] 
Support python actions with zip files.

Refactoring of init method into an init-from-source and init-from-zip.
Support a zip file containing more than one python file.
The zip file must contain a file called __main__.py that defines a "main" method.

Log an error when python zip does not include required file.

21 months agoCleanup factory indirections
Markus Thoemmes [Mon, 27 Feb 2017 12:57:04 +0000 (13:57 +0100)] 
Cleanup factory indirections

21 months agoRemove feature to access multiple namespaces with one key
Markus Thoemmes [Mon, 27 Feb 2017 12:32:25 +0000 (13:32 +0100)] 
Remove feature to access multiple namespaces with one key

This removes lots of code related to a deprecated 1:n mapping of keys to namespaces. The /namespaces call will now only yield exactly one namespace, which is the namespace of the key you're providing.

21 months agoRefactor CLI so that additional commands won't need common code updates
Mark Deuser [Wed, 22 Feb 2017 17:31:31 +0000 (12:31 -0500)] 
Refactor CLI so that additional commands won't need common code updates

test case fix when running on windows/vagrant

Remove Externalized Strings that do not Belong

21 months agoReduce time to execute tests by 10 minutes (#1935)
Christian Bickel [Thu, 2 Mar 2017 22:00:57 +0000 (23:00 +0100)] 
Reduce time to execute tests by 10 minutes (#1935)

21 months agoRemove swift 2 action proxy.
Rodric Rabbah [Sun, 26 Feb 2017 16:21:35 +0000 (11:21 -0500)] 
Remove swift 2 action proxy.

Remove rotted script.

21 months agoModify controller to check for deprecation status of runtime.
Paul Castro [Wed, 16 Nov 2016 15:31:00 +0000 (10:31 -0500)] 
Modify controller to check for deprecation status of runtime.

Adds bit to Exec to indicate action my not longer be activated or updated.
Adds checks for unsupported runtime in Actions API and report proper error.

Drop Swift 2 support
Adds tests.

21 months agoInvoker health ping through kafka
Markus Thoemmes [Fri, 3 Feb 2017 10:11:17 +0000 (11:11 +0100)] 
Invoker health ping through kafka

The invokers ping the controller through a seperate topic in Kafka to indicate they are still alive. This is groundwork for a more sophisticated health protocol for our invokers.

21 months agoFlatten Exec hiearchy (#1911)
rodric rabbah [Mon, 27 Feb 2017 18:01:53 +0000 (13:01 -0500)] 
Flatten Exec hiearchy (#1911)

* Remove unused script name variable for node js actions.

* Allow zip action without checking the kind - let backend determine if supported or not.

* Flatten exec hierarchy to remove unnecessary distinctions.

21 months agoremove whisk object (#1878)
Jason Peterson [Mon, 27 Feb 2017 17:54:18 +0000 (12:54 -0500)] 
remove whisk object (#1878)