incubator-openwhisk-runtime-swift.git
4 days agoChange whisk to org.apache.openwhisk (#88) master
Vincent [Wed, 5 Dec 2018 23:13:41 +0000 (18:13 -0500)] 
Change whisk to org.apache.openwhisk (#88)

4 weeks agoSwitch to Scala 2.12.7 (#84) 47/head
Chetan Mehrotra [Wed, 7 Nov 2018 00:30:01 +0000 (06:00 +0530)] 
Switch to Scala 2.12.7 (#84)

7 weeks agoRemove the build of Swift 3.1.1 (#86)
Vincent [Tue, 16 Oct 2018 17:44:34 +0000 (13:44 -0400)] 
Remove the build of Swift 3.1.1 (#86)

3 months agoRevert the content of copyright to the content in the template (#81) 3.1.1@1.12.0-incubating 4.1@1.12.0-incubating
Vincent [Wed, 29 Aug 2018 18:21:39 +0000 (14:21 -0400)] 
Revert the content of copyright to the content in the template (#81)

3 months agoextend swift:4.1 image instead (#80) 3.1.1@1.0.3 4.1@1.0.8
Carlos Santana [Fri, 17 Aug 2018 01:32:22 +0000 (21:32 -0400)] 
extend swift:4.1 image instead (#80)

3 months agoupdate run handler to accept more environment variables (#78)
Carlos Santana [Wed, 15 Aug 2018 15:01:13 +0000 (11:01 -0400)] 
update run handler to accept more environment variables (#78)

4 months agoTag master build as 'latest'. (#75)
rodric rabbah [Thu, 12 Jul 2018 20:28:09 +0000 (16:28 -0400)] 
Tag master build as 'latest'. (#75)

5 months ago Update base images to openwhisk/dockerskeleton:1.3.2 (#72) 3.1.1@1.0.2 4.1@1.0.7
rodric rabbah [Tue, 10 Jul 2018 11:36:42 +0000 (07:36 -0400)] 
 Update base images to openwhisk/dockerskeleton:1.3.2 (#72)

* Update base images to openwhisk/dockerskeleton:1.3.2.
* Adjust tests for upstream changes.
* Temporarily skip one failing test

5 months agoupdate docker image tag in example command (#71)
David Grove [Sat, 7 Jul 2018 00:27:13 +0000 (20:27 -0400)] 
update docker image tag in example command (#71)

5 months agoUpdate tests. 4.1@1.0.6
Rodric Rabbah [Fri, 6 Jul 2018 01:02:34 +0000 (21:02 -0400)] 
Update tests.

5 months agoUpdate base images to openwhisk/dockerskeleton:1.3.1.
Rodric Rabbah [Fri, 6 Jul 2018 00:32:57 +0000 (20:32 -0400)] 
Update base images to openwhisk/dockerskeleton:1.3.1.

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

5 months agoupdate travis to push "master" tag to Docker on "master" branch merges (#50)
Eric Weiterman [Wed, 20 Jun 2018 19:58:25 +0000 (15:58 -0400)] 
update travis to push "master" tag to Docker on "master" branch merges (#50)

5 months agoAdd skip_pull_runtimes for Travis CI (#66)
Vincent [Tue, 19 Jun 2018 21:15:44 +0000 (17:15 -0400)] 
Add skip_pull_runtimes for Travis CI (#66)

5 months agoAdd the DISCLAIMER file for Apache incubator project (#65)
Vincent [Tue, 12 Jun 2018 14:41:32 +0000 (10:41 -0400)] 
Add the DISCLAIMER file for Apache incubator project (#65)

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

6 months agoFix bad Dockerfile license and use ASF release config. (#64)
Matt Rutkowski [Tue, 29 May 2018 23:45:29 +0000 (18:45 -0500)] 
Fix bad Dockerfile license and use ASF release config. (#64)

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

* Last files to need ASF License headers.

* Add ASF license header to .gradle files.

* Fix .swift files with incorrect ASF license headers.

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

6 months agoimplement temporary workaround to issue_3646, swift 4.1 bug with structs (#59) 4.1@1.0.5
Eric Weiterman [Sun, 13 May 2018 03:39:31 +0000 (23:39 -0400)] 
implement temporary workaround to issue_3646, swift 4.1 bug with structs (#59)

6 months agoRestore the LICENSE and NOTICE to fit the source code release (#58)
Vincent [Fri, 11 May 2018 22:35:07 +0000 (18:35 -0400)] 
Restore the LICENSE and NOTICE to fit the source code release (#58)

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. (#57)
Matt Rutkowski [Thu, 10 May 2018 14:42:20 +0000 (09:42 -0500)] 
Fix markdown files with a typo. in the Hash license header. (#57)

7 months agoAdd ASF license headers to all Scala .conf files. (#55)
Matt Rutkowski [Tue, 8 May 2018 16:11:17 +0000 (11:11 -0500)] 
Add ASF license headers to all Scala .conf files. (#55)

7 months agoRemove IBM copyright from 3 files (#54)
Ying Chun Guo [Tue, 8 May 2018 13:20:34 +0000 (21:20 +0800)] 
Remove IBM copyright from 3 files (#54)

7 months agoAdd the licenses of dependencies into LICENSE file (#44)
Vincent [Wed, 2 May 2018 21:57:47 +0000 (17:57 -0400)] 
Add the licenses of dependencies into LICENSE file (#44)

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

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

* Update .md and .sh files to pass scancode with latest .cfg

* Update .md and .sh files to pass scancode with latest .cfg

7 months agoadd license headers (#48)
Ying Chun Guo [Tue, 24 Apr 2018 18:46:19 +0000 (02:46 +0800)] 
add license headers (#48)

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

8 months agoupdate NOTICE file (#43)
Ying Chun Guo [Wed, 4 Apr 2018 13:44:42 +0000 (21:44 +0800)] 
update NOTICE file (#43)

8 months agoUpdate Swift 4.1 to swift-4.1-RELEASE (#42) 4.1@1.0.4 4.1@latest
Carlos Santana [Fri, 30 Mar 2018 15:36:20 +0000 (11:36 -0400)] 
Update Swift 4.1 to swift-4.1-RELEASE (#42)

* Update Swift 4.1 to swift-4.1-RELEASE

8 months agoUpdate swift 4.1 runtime to snapshot 03-26a (#40) 4.1@1.0.3
Carlos Santana [Tue, 27 Mar 2018 20:32:30 +0000 (16:32 -0400)] 
Update swift 4.1 runtime to snapshot 03-26a (#40)

8 months agosplit write of wait command insert in runner.py (#39) 4.1@1.0.2
Carlos Santana [Tue, 27 Mar 2018 19:28:53 +0000 (15:28 -0400)] 
split write of wait command insert in runner.py (#39)

* split write of wait command insert in runner.py

* minor updates to README

8 months agotry again; fix travis2slack URL (#38)
David Grove [Tue, 27 Mar 2018 16:03:10 +0000 (12:03 -0400)] 
try again; fix travis2slack URL (#38)

8 months agoupdate epilogue with correct @escaping for Codable (#37)
Carlos Santana [Tue, 27 Mar 2018 15:05:30 +0000 (11:05 -0400)] 
update epilogue with correct @escaping for Codable (#37)

* update epilogue with correct @escaping for Codable

* Add SwiftyRequestCodable.zip

8 months agoadd webhook for slack notification (#35)
David Grove [Tue, 27 Mar 2018 02:37:03 +0000 (22:37 -0400)] 
add webhook for slack notification (#35)

8 months agoRemove swift:4.0, only swift:4.1 (#34)
Carlos Santana [Tue, 20 Mar 2018 23:30:43 +0000 (19:30 -0400)] 
Remove swift:4.0, only swift:4.1 (#34)

8 months agoupdate swift41 snapshot build to 2018-03-11-a (#33) 4.1@1.0.1
Carlos Santana [Mon, 12 Mar 2018 20:23:33 +0000 (16:23 -0400)] 
update swift41 snapshot build to 2018-03-11-a (#33)

9 months agoupdate changelog swift 4.1 add 1.0.0 codable (#32)
Carlos Santana [Sat, 10 Mar 2018 04:55:30 +0000 (23:55 -0500)] 
update changelog swift 4.1 add 1.0.0 codable (#32)

9 months agoAdd Codable Support for Swift 4.x (#23) 4.1@1.0.0
Carlos Santana [Wed, 7 Mar 2018 04:30:35 +0000 (23:30 -0500)] 
Add Codable Support for Swift 4.x (#23)

* Add Codable support for Swift 4.x

* whitelist .gitignore

* fix typo on epilogue

* fix readme typos

* update swift 4.1 runtime to build 03-05-a

* update swift 4.1 runtime to build 03-06-a

9 months agoAdd license headers (#28)
Vincent [Fri, 2 Mar 2018 19:46:00 +0000 (14:46 -0500)] 
Add license headers (#28)

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

9 months agoupdate readme with maven install command
Carlos Santana [Mon, 26 Feb 2018 22:28:18 +0000 (17:28 -0500)] 
update readme with maven install command

9 months agoSwitch to Maven based dependency
Chetan Mehrotra [Thu, 22 Feb 2018 12:59:11 +0000 (18:29 +0530)] 
Switch to Maven based dependency

This is required for apache/incubator-openwhisk#3277

9 months agoUpdate changelogs (#25) 4.0@1.0.1 4.0@latest 4.1@0.1.0
Carlos Santana [Thu, 15 Feb 2018 11:51:51 +0000 (06:51 -0500)] 
Update changelogs (#25)

* Update changelogs

* fix small bug with publish script

9 months agoadd swift 4.1 experimental using beta build (#22)
Carlos Santana [Wed, 14 Feb 2018 18:34:59 +0000 (13:34 -0500)] 
add swift 4.1 experimental using beta build (#22)

9 months agorename swift4 o swift40 for kind and image (#20)
Carlos Santana [Wed, 14 Feb 2018 14:48:41 +0000 (09:48 -0500)] 
rename swift4 o swift40 for kind and image (#20)

9 months agostop clone and own for actionproxy (#18)
Carlos Santana [Sat, 10 Feb 2018 02:31:36 +0000 (21:31 -0500)] 
stop clone and own for actionproxy (#18)

10 months agoVarious fixes for swift 4 (#17) 4@latest
Carlos Santana [Sun, 4 Feb 2018 08:40:20 +0000 (03:40 -0500)] 
Various fixes for swift 4 (#17)

* update to swift 4.0.3

* allow large input params for swift4

* fix typos in readme

* update test to use 1MB value

10 months agoSwift 4 support (#1)
Carlos Santana [Wed, 24 Jan 2018 01:57:38 +0000 (20:57 -0500)] 
Swift 4 support (#1)

* initial swift4 with dictionary signature

* add whisk sdk

* fixed sdk Whisk class

* only allowed dict in out in sync

* update readme

* Add intial set of swift 4 tests

* add more swift4

* fix swift4 zip actions

* refactor test cases for common tests

* finish swift 4 test cases

* refactor compile.sh

* added fixtures for zip actions

* Added SwiftyRequest test case

* refactor SwiftyRequest test action to be more readable thanks Justin !

* fixes for scalafmt

* refactor envCode test

* remove Proxydead tests

* refactor SwiftAction test

* Add sdk invoke test for swift 4

* made sdk invoke test more flexible

* added sdk test for swift 4

* make baseUrl optional for swift sdk tests

* Added swift 3 sdk tests

* make baseUrl override optional via system property

* add changelog intial image

* enable swift4 tests in travis

* deploy the catalog to get utils/date

* remove unused import

12 months agoremove swift:3 runtime (#8)
Carlos Santana [Fri, 1 Dec 2017 02:08:08 +0000 (21:08 -0500)] 
remove swift:3 runtime (#8)

- remove swift:3 runtime, added kafkas in ansible hosts, remove swift:3 tests

12 months agoUpdate Travis to use remote as cli installation mode (#7)
Vincent [Tue, 21 Nov 2017 23:59:11 +0000 (18:59 -0500)] 
Update Travis to use remote as cli installation mode (#7)

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

14 months agoadd travis creds 3.1.1@1.0.0 3@1.0.0
Carlos Santana [Fri, 29 Sep 2017 17:09:07 +0000 (13:09 -0400)] 
add travis creds

14 months agoConfigure as stand-alone runtime
Carlos Santana [Fri, 29 Sep 2017 05:01:20 +0000 (01:01 -0400)] 
Configure as stand-alone runtime

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)

14 months agoAdded functions to create a trigger and create a rule for Swift actions.
Scott Wilson-Billing [Thu, 14 Sep 2017 14:47:56 +0000 (10:47 -0400)] 
Added functions to create a trigger and create a rule for Swift actions.

Updated name of method for sending Whisk API request.
Cleaned up the parameter naming a little for consistency.
Changed to using guard to check for the trigger name argument
Added additional assertion that the rule created did actually get fired and run ok
Added tests for creating a trigger and a rule
Documentation

14 months agoRevert "Added functions to create a trigger and create a rule. (#2718)" (#2740)
Carlos Santana [Thu, 14 Sep 2017 02:07:35 +0000 (22:07 -0400)] 
Revert "Added functions to create a trigger and create a rule. (#2718)" (#2740)

This reverts commit ec56eb81005a0a62cadd591ca55e1468c73df2b3.

14 months agoAdded functions to create a trigger and create a rule. (#2718)
rodric rabbah [Wed, 13 Sep 2017 19:54:54 +0000 (15:54 -0400)] 
Added functions to create a trigger and create a rule. (#2718)

Updated name of method for sending Whisk API request.
Cleaned up the parameter naming a little for consistency.
Changed to using guard to check for the trigger name argument.
Added tests for creating a trigger and a rule.

14 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 agoRevert "Temporalily use published swift3Action. (#2580)" (#2603)
Markus Thömmes [Wed, 16 Aug 2017 15:53:58 +0000 (17:53 +0200)] 
Revert "Temporalily use published swift3Action. (#2580)" (#2603)

This reverts commit 49ac756064905da0bcba8ed9978a3e29dd8c04dc.

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

15 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 agoTemporalily use published swift3Action. (#2580)
Markus Thömmes [Mon, 7 Aug 2017 12:00:50 +0000 (14:00 +0200)] 
Temporalily use published swift3Action. (#2580)

The download of Swift 3.0.2 on swift.org is broken and will only be revived in a couple of days. This effectively freezes the swift3Action image to the latest published version on Dockerhub. There are no changes imminent anyway.

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)

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

17 months agoUpdate remaining files to ASF license incl. bash, js files. (#2423)
Matt Rutkowski [Sat, 1 Jul 2017 01:39:19 +0000 (20:39 -0500)] 
Update remaining files to ASF license incl. bash, js files. (#2423)

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)

17 months agoFixes issue #2394, pin CCurl version in Package.swift (#2395)
Paul Castro [Sat, 17 Jun 2017 00:50:57 +0000 (20:50 -0400)] 
Fixes issue #2394, pin CCurl version in Package.swift (#2395)

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

19 months agoFixes issue #2144, use JSONSerialization to create json strings in WhiskJsonUtils...
Paul Castro [Sat, 15 Apr 2017 13:12:48 +0000 (09:12 -0400)] 
Fixes issue #2144, use JSONSerialization to create json strings in WhiskJsonUtils.swift (#2146)

19 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 agoUpdate Swift’s Whisk.invoke() to support non-blocking
Rob Allen [Thu, 9 Mar 2017 21:33:24 +0000 (21:33 +0000)] 
Update Swift’s Whisk.invoke() to support non-blocking

Add a third parameter, `blocking`, to invoke() to enable non-blocking
invocations. Default to `blocking=true` for BC.
Add test for Whisk.invoke() with blocking: true

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.

20 months agoHandle bytes to string conversion in actionproxy. (#1867)
Justin Tyberg [Thu, 16 Mar 2017 13:14:04 +0000 (09:14 -0400)] 
Handle bytes to string conversion in actionproxy. (#1867)

* Decode subprocess output bytes to text in actionproxy.

* Update swift3runner build step to capture stdout/stderr,
and decode if necessary.

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

20 months agoFixed Python 3 syntax errors (#2006)
cclauss [Sat, 11 Mar 2017 10:25:06 +0000 (11:25 +0100)] 
Fixed Python 3 syntax errors (#2006)

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 agoUpdate all remaining Python files with ASF license
Matt Rutkowski [Thu, 9 Mar 2017 04:17:19 +0000 (22:17 -0600)] 
Update all remaining Python files with ASF license

Remove license headers from just test/dat path

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 agoInclude zip in swift3Action (#1992)
Rob Allen [Thu, 9 Mar 2017 22:01:24 +0000 (22:01 +0000)] 
Include zip in swift3Action (#1992)

This makes it a little easier to compile Swift actions locally for
upload to OpenWhisk as zip files containing the Action binary.