incubator-openwhisk.git
8 hours agoUpdate the package name and path in documents (#4166) master
Seong-hyun, Oh [Wed, 12 Dec 2018 18:18:39 +0000 (03:18 +0900)] 
Update the package name and path in documents (#4166)

9 hours agoMesos - expose config for setting heartbeatMaxFailures to reconnect after master...
tysonnorris [Wed, 12 Dec 2018 17:38:01 +0000 (09:38 -0800)] 
Mesos - expose config for setting heartbeatMaxFailures to reconnect after master failover (#4171)

Update to latest mesos-actor; expose config for setting heartbeatMaxFailures to reconnect after master failover

28 hours agodisable broken swaggerCodegen test (#4170)
David Grove [Tue, 11 Dec 2018 22:01:42 +0000 (17:01 -0500)] 
disable broken swaggerCodegen test (#4170)

2 days agoAdd additional debug information to Loadbalancer. (#4159)
Christian Bickel [Mon, 10 Dec 2018 12:30:46 +0000 (13:30 +0100)] 
Add additional debug information to Loadbalancer. (#4159)

5 days agoDo not link the `/run/runc` volume unless invoker.useRunc is set (#4149)
Rob Allen [Fri, 7 Dec 2018 19:28:48 +0000 (19:28 +0000)] 
Do not link the `/run/runc` volume unless invoker.useRunc is set (#4149)

* Do not link the `/run/runc` volume unless invoker.useRunc is set

5 days agoCleanup/organize instructions for adding a new Action Runtime (#4099)
Matt Rutkowski [Fri, 7 Dec 2018 13:42:04 +0000 (07:42 -0600)] 
Cleanup/organize instructions for adding a new Action Runtime (#4099)

5 days agoConcurrency limit updates (#4160)
tysonnorris [Fri, 7 Dec 2018 05:08:50 +0000 (21:08 -0800)] 
Concurrency limit updates (#4160)

* propagate concurrency limits during action update

6 days agoRevert "Proposing Lean OpenWhisk (#3886)" (#4161)
rodric rabbah [Fri, 7 Dec 2018 01:53:05 +0000 (20:53 -0500)] 
Revert "Proposing Lean OpenWhisk (#3886)" (#4161)

This reverts commit d4a190c62f0aa1cd0bbecc62ad6b9885c70e9f6b.

6 days agoProposing Lean OpenWhisk (#3886)
Pavel Kravchenko [Thu, 6 Dec 2018 22:22:15 +0000 (00:22 +0200)] 
Proposing Lean OpenWhisk (#3886)

Add a lean configuration option in which the controller and invoker components are merged into a single JVM process that communicate via in-memory implementation of the MessagingProvider SPI.

6 days agotools/dev - updated intellij script to start controller and invoker locally (#4142)
ddragosd [Thu, 6 Dec 2018 21:54:33 +0000 (13:54 -0800)] 
tools/dev - updated intellij script to start controller and invoker locally (#4142)

* tools/dev - updated intellij script for docker-compose
* Added support for docker for mac
* log-limit is 0 to avoid collection logs
* updates for wskdev with ansible

6 days agoMaking Redis password protected (#4108)
Pavel Kravchenko [Thu, 6 Dec 2018 17:58:15 +0000 (19:58 +0200)] 
Making Redis password protected (#4108)

6 days agoConsolidate to a single tools/ow-utils docker image (#4158)
David Grove [Thu, 6 Dec 2018 15:07:36 +0000 (10:07 -0500)] 
Consolidate to a single tools/ow-utils docker image (#4158)

Rather than defining separate images for running shell scripts,
running ansible playbooks, running gradle tasks, etc. switch
to an uber utility image that will include wsk, wsk-deploy,
and all the software packages to execute our various scripting
languages.

6 days agoMake ActionLimits test more reliable (#4155)
Chetan Mehrotra [Thu, 6 Dec 2018 10:28:22 +0000 (15:58 +0530)] 
Make ActionLimits test more reliable (#4155)

* In the past, this test occasionally failed when the system was low on memory because the test allocated one large buffer.
* Now, the test gradually allocates smaller buffers and writes random values to them such that physical pages are kept resident for the allocated memory.

6 days agoRecord the blocking activation in the proper map before the request is sent to the...
rodric rabbah [Thu, 6 Dec 2018 07:22:40 +0000 (02:22 -0500)] 
Record the blocking activation in the proper map before the request is sent to the invoker. (#4145)

7 days agoMake query limits configurable (#4157)
Chetan Mehrotra [Wed, 5 Dec 2018 20:49:46 +0000 (02:19 +0530)] 
Make query limits configurable (#4157)

8 days agoadd composer-python to CREDITS.txt (#4154)
David Grove [Tue, 4 Dec 2018 16:18:31 +0000 (11:18 -0500)] 
add composer-python to CREDITS.txt (#4154)

* add composer-python to CREDITS.txt

8 days agooptionally prohibit test cases using --auth to override the namespace target (#4153)
Mark Deuser [Tue, 4 Dec 2018 15:20:22 +0000 (10:20 -0500)] 
optionally prohibit test cases using --auth to override the namespace target (#4153)

8 days agoUpdate to cosmosdb sdk 2.3.0 (#4147)
tysonnorris [Tue, 4 Dec 2018 03:44:51 +0000 (19:44 -0800)] 
Update to cosmosdb sdk 2.3.0 (#4147)

12 days agoadd wskdeploy to scriptRunner Dockerfile (#4144)
David Grove [Fri, 30 Nov 2018 20:39:24 +0000 (15:39 -0500)] 
add wskdeploy to scriptRunner Dockerfile (#4144)

Prepare for wskdeploy being used to install catalog
by including wskdeploy cli in this image (which is used
to install the catalog in the kube-deploy project).

13 days agoUpdate to Gradle 4.10.2 (#4111)
Chetan Mehrotra [Thu, 29 Nov 2018 21:48:47 +0000 (03:18 +0530)] 
Update to Gradle 4.10.2 (#4111)

13 days agoEnsure ResultMessage is processed. (#4135)
jiangpch [Thu, 29 Nov 2018 07:08:48 +0000 (15:08 +0800)] 
Ensure ResultMessage is processed. (#4135)

2 weeks agoUpdate KindRestrictor to merge namespace and default whitelists (#4114)
Andy Steed [Thu, 29 Nov 2018 01:11:36 +0000 (17:11 -0800)] 
Update KindRestrictor to merge namespace and default whitelists (#4114)

Merge subject whitelist limit and default whitelist during KindRestrictor check

2 weeks agoProtect Package Bindings from containing circular references (#4122)
Andy Steed [Wed, 28 Nov 2018 20:06:16 +0000 (12:06 -0800)] 
Protect Package Bindings from containing circular references (#4122)

Use incoming package binding for update when calling checkBinding and add protection to prevent following circular package bindings.

2 weeks agoFix package for system basic tests (#4138)
Chetan Mehrotra [Wed, 28 Nov 2018 13:33:37 +0000 (19:03 +0530)] 
Fix package for system basic tests (#4138)

2 weeks agoReduce invoker health action memory limit to the minimum available memory limit....
Su [Wed, 28 Nov 2018 07:08:21 +0000 (08:08 +0100)] 
Reduce invoker health action memory limit to the minimum available memory limit. (#4136)

2 weeks agomissed the -c arg for wsk cli tests around concurrency (#4132)
tysonnorris [Mon, 26 Nov 2018 16:11:11 +0000 (08:11 -0800)] 
missed the -c arg for wsk cli tests around concurrency (#4132)

2 weeks agoUse "latest" as default tag for apigateway (#4087)
David Grove [Fri, 23 Nov 2018 21:33:30 +0000 (16:33 -0500)] 
Use "latest" as default tag for apigateway (#4087)

2 weeks agoDelete unnecessary code comments (#4128)
김건희 [Fri, 23 Nov 2018 21:31:25 +0000 (06:31 +0900)] 
Delete unnecessary code comments (#4128)

2 weeks agoEnsure that Result-ack is sent before Completion-ack. (#4115)
Christian Bickel [Fri, 23 Nov 2018 21:29:26 +0000 (22:29 +0100)] 
Ensure that Result-ack is sent before Completion-ack. (#4115)

Improves comments to clarify the ordering of result and completion messages.
Adds a type alias for the active ack messages, and document the interface.

Co-authored-by: Christian Bickel <cbickel@de.ibm.com>
Co-authored-by: Rodric Rabbah <rodric@gmail.com>
2 weeks agoSend system overload metric from Controller. (#4131)
Su [Fri, 23 Nov 2018 13:52:25 +0000 (14:52 +0100)] 
Send system overload metric from Controller. (#4131)

3 weeks agoFix netty leak in CosmosDBArtifactStore(#4126)
Chetan Mehrotra [Wed, 21 Nov 2018 16:24:08 +0000 (21:54 +0530)] 
Fix netty leak in CosmosDBArtifactStore(#4126)

In some cases where query has limit applied, some netty leak related exceptions have been logged when using CosmosDBArtifactStore. This change revises how the limits are applied, and adds tests for asserting the absence of leaks.

3 weeks agore-enable system test without enabled concurrency (#4125)
Martin Henke [Tue, 20 Nov 2018 14:45:41 +0000 (15:45 +0100)] 
re-enable system test without enabled concurrency (#4125)

Run system tests with concurrency 1 if action concurrency is disabled.

3 weeks agoAdd nodejs:10 to default set of runtimes for ansible/vagrant (#4124)
Carlos Santana [Tue, 20 Nov 2018 04:29:29 +0000 (23:29 -0500)] 
Add nodejs:10 to default set of runtimes for ansible/vagrant (#4124)

3 weeks agoVagrant documentation improvement (#4120)
atsag [Mon, 19 Nov 2018 21:19:41 +0000 (23:19 +0200)] 
Vagrant documentation improvement (#4120)

* Added link to wsk client binaries as these are not built for Windows, and added appropriate Windows Powershell code to correctly handle nested commands in Windows systems

* Replaced references to compiled wsk binaries for Windows and MacOS with suitable downloads, refined commands to properly accommodate Windows Powershell

3 weeks agoFix typo (activations->activation) (#4116)
David Podhola [Fri, 16 Nov 2018 12:56:48 +0000 (13:56 +0100)] 
Fix typo (activations->activation) (#4116)

3 weeks agoExclude unused transitive dependencies. (#4110)
Chetan Mehrotra [Thu, 15 Nov 2018 07:32:20 +0000 (13:02 +0530)] 
Exclude unused transitive dependencies. (#4110)

* Exclude Scala Compiler from dependencies
* Remove test dependencies

3 weeks agoCache empty auth results to reduce db load (#4104)
Martin Henke [Thu, 15 Nov 2018 05:49:37 +0000 (06:49 +0100)] 
Cache empty auth results to reduce db load (#4104)

cache empty results to avoid performance hits by calling webactions repeatedly. Also configure a fixed size for identity cache to ensure it does not grow unbounded with too many negative entries.

* limit size of auth cache

* Simplify logic to create the cache

Co-Authored-By: mhenke1 <martin.henke@web.de>
4 weeks agooptionally enable concurrency in action containers (#2795)
tysonnorris [Wed, 14 Nov 2018 21:06:07 +0000 (13:06 -0800)] 
optionally enable concurrency in action containers (#2795)

This patch adds intra-container concurrency for actions that run inside a runtime which supports concurrency (currently nodejs runtimes only). Actions must opt-into this behavior (by setting the appropriate limit on the action). There are some caveats wrt log collection and the user should be aware that the memory limit applies globally to all instances of the action running inside the container --- in other words, the memory limit is a hard cap irrespective of the max intra-container concurrency.

4 weeks agoInitialise trigger activation only when active rules are present. (#4112)
James Dubee [Wed, 14 Nov 2018 18:48:14 +0000 (13:48 -0500)] 
Initialise trigger activation only when active rules are present. (#4112)

4 weeks agoCleanup orphaned failed task launches (#4109)
tysonnorris [Tue, 13 Nov 2018 16:03:13 +0000 (08:03 -0800)] 
Cleanup orphaned failed task launches (#4109)

update mesos-actor and cleanup orphaned failed task launches

* review feedback

4 weeks agoUpdate to Spray-json 1.3.5 security fix release (#4106)
Chetan Mehrotra [Mon, 12 Nov 2018 10:55:03 +0000 (16:25 +0530)] 
Update to Spray-json 1.3.5 security fix release (#4106)

Adapt test to use json object comparison instead of string comparison

4 weeks agoupdate from redis 3.2 to 4.0 (#4103)
David Grove [Sun, 11 Nov 2018 23:32:56 +0000 (18:32 -0500)] 
update from redis 3.2 to 4.0 (#4103)

4 weeks agoRename the package from whisk to org.apache.openwhisk (#4073)
Vincent [Thu, 8 Nov 2018 14:33:51 +0000 (09:33 -0500)] 
Rename the package from whisk to org.apache.openwhisk (#4073)

5 weeks agoSplit system tests (#4098)
tysonnorris [Wed, 7 Nov 2018 21:40:26 +0000 (13:40 -0800)] 
Split system tests (#4098)

5 weeks agoMesos metrics (#4102)
tysonnorris [Wed, 7 Nov 2018 18:18:04 +0000 (10:18 -0800)] 
Mesos metrics (#4102)

* include launch/kill timing metrics for mesos containers; handle launch/kill timeouts
* update mesos-actor version, include configurable healthcheck changes, make all timeouts configurable

5 weeks agoAllow web actions via package bindings. (#3880)
Seong-hyun, Oh [Wed, 7 Nov 2018 06:39:13 +0000 (15:39 +0900)] 
Allow web actions via package bindings. (#3880)

A web action in a shared (i.e., public) package is accessible as a web action either directly via the package's fully qualified name, or via a package binding. It is important to note that a web action in a public package will be accessible for all bindings of the package even if the binding is private. This is because the web action annotation is carried on the action and cannot be overridden. If you do not wish to expose a web action through your package bindings, then you should clone-and-own the package instead.

5 weeks agoSwitch to Scala 2.12.7 (#4062)
Chetan Mehrotra [Tue, 6 Nov 2018 23:47:39 +0000 (05:17 +0530)] 
Switch to Scala 2.12.7 (#4062)

5 weeks agoFix controller logs in docker-machine (#4079)
Himavanth [Tue, 6 Nov 2018 14:40:22 +0000 (20:10 +0530)] 
Fix controller logs in docker-machine (#4079)

* Fix controller logs in docker-machine

With the change https://github.com/apache/incubator-openwhisk/pull/3579, controller logs file was not being created due to lack of permissions when OW is deployed on docker-machine. This is because ansible is not able to create a folder with full permissions within a mounted folder in docker-machine. However creating a file with full permissions through ansible does work.

* Adding condition to check for docker-machine

This change is needed only for docker-machine

5 weeks agoAlways return activation without log on blocking invoke. (#4100)
Christian Bickel [Tue, 6 Nov 2018 12:33:32 +0000 (13:33 +0100)] 
Always return activation without log on blocking invoke. (#4100)

If a user invokes a blocking action today, the invoker executes the activation and sends back the result to the controller, which passes it back to the client. If it is not possible to pass the result back to the controller, the controller will try to get the result from the database. And here's the problem. If the controller receives the result of the activation from the invoker, there are no logs included. If it polls it from the database, the logs are included. This should be unified to never return logs.

5 weeks agofix go indent in runtimes.json (#4096)
Carlos Santana [Mon, 5 Nov 2018 18:05:55 +0000 (13:05 -0500)] 
fix go indent in runtimes.json (#4096)

5 weeks agoincrease default invoker memory available for user actions to 2GB (#4094)
Carlos Santana [Fri, 2 Nov 2018 21:19:35 +0000 (17:19 -0400)] 
increase default invoker memory available for user actions to 2GB (#4094)

5 weeks agochanges to include golang 1.11 runtime (#4093)
Sciabarra.com ltd [Fri, 2 Nov 2018 20:34:44 +0000 (21:34 +0100)] 
changes to include golang 1.11 runtime (#4093)

6 weeks agoadd IBM's donation of Composer (#4072)
David Grove [Wed, 31 Oct 2018 20:19:17 +0000 (16:19 -0400)] 
add IBM's donation of Composer (#4072)

6 weeks agouse loop_control and loop_var to fix warning (#4092)
Eugene Sypachev [Wed, 31 Oct 2018 18:52:46 +0000 (21:52 +0300)] 
use loop_control and loop_var to fix warning (#4092)

6 weeks agoFree up slot in Loadbalancer after log-collection is finished. (#4041)
Christian Bickel [Wed, 31 Oct 2018 13:58:17 +0000 (14:58 +0100)] 
Free up slot in Loadbalancer after log-collection is finished. (#4041)

Co-authored-by: Sugandha Agrawal <agrawals@de.ibm.com>
6 weeks agoFix broken CLI tests. (#4084)
Sven Lange-Last [Fri, 26 Oct 2018 10:58:19 +0000 (12:58 +0200)] 
Fix broken CLI tests. (#4084)

PR #3950 broke CLI tests in repo https://github.com/apache/incubator-openwhisk-cli because these tests override `val wsk` with a CLI specific implementation of type `Wsk` instead of `WskRestOperations`.

This change makes sure that `val wsk` has the common parent class `WskOperations`.

6 weeks agoCatch kafka producer exceptions and recreate the producer. (#4080)
Vadim Raskin [Fri, 26 Oct 2018 07:51:14 +0000 (09:51 +0200)] 
Catch kafka producer exceptions and recreate the producer. (#4080)

* Catch producer exceptions and recreate the producer

* Replace try, plain failure/success with trying, remove dup error logging

6 weeks agoDiagnostic info and metrics for Docker command failures and timeouts (#4070)
Sven Lange-Last [Fri, 26 Oct 2018 06:33:19 +0000 (08:33 +0200)] 
Diagnostic info and metrics for Docker command failures and timeouts (#4070)

This change improves diagnostic information for failing Docker commands as well as timed out Docker commands:

* For all failures (including timeouts), a textual representation for exit status values is logged.
* Timeouts are explicitly detected and reported using a specialized exception allowing for a better timeout handling on higher layers of the Docker container implementation.
* Emit counter metric on Docker command timeout

This change introduces a set of new counter metrics that are emitted if a Docker command is terminated because of a timeout. A high number of such timeout occurrences is usually an indication for highly loaded invokers. The new metrics help to identify such invokers.

6 weeks agoExtend system test suite (#3950)
Martin Gencur [Thu, 25 Oct 2018 18:18:16 +0000 (20:18 +0200)] 
Extend system test suite (#3950)

6 weeks agoFix travis failures due to flake8 bug (#4083)
Vadim Raskin [Thu, 25 Oct 2018 12:11:20 +0000 (14:11 +0200)] 
Fix travis failures due to flake8 bug (#4083)

7 weeks agoFix mock-verification in Container-tests. (#4071)
Christian Bickel [Tue, 23 Oct 2018 12:51:54 +0000 (14:51 +0200)] 
Fix mock-verification in Container-tests. (#4071)

Fix mock-verification in Container-tests by using a hand-written mock and improving synchronisation.

7 weeks agoupdate Access-Control-Allow-Headers CORS setting to enumerate rather than wildcard...
Nick Mitchell [Sun, 21 Oct 2018 20:15:32 +0000 (16:15 -0400)] 
update Access-Control-Allow-Headers CORS setting to enumerate rather than wildcard (#4046)

7 weeks agoUpdate base jdk image tag (#4043)
Chetan Mehrotra [Thu, 18 Oct 2018 06:59:44 +0000 (12:29 +0530)] 
Update base jdk image tag (#4043)

8 weeks ago Fixes jinja warning from controller playbook (#4064)
Manjiri Tapaswi [Wed, 17 Oct 2018 02:32:54 +0000 (19:32 -0700)] 
 Fixes jinja warning from controller playbook (#4064)

8 weeks ago Fixes deprecation warning in couch playbook (#4063)
Manjiri Tapaswi [Wed, 17 Oct 2018 02:32:15 +0000 (19:32 -0700)] 
 Fixes deprecation warning in couch playbook (#4063)

8 weeks agoapigateway should always append request.path if response type is http (#4056)
Carlos Santana [Mon, 15 Oct 2018 20:13:56 +0000 (16:13 -0400)] 
apigateway should always append request.path if response type is http (#4056)

* apigateway should always append request.path if response type is http

* address feedback handle logic in makeWebActionBackendUrl

8 weeks agoAllow additional namespaces for subjects created in initdb.yml. (#3981)
Vadim Raskin [Mon, 15 Oct 2018 13:34:26 +0000 (15:34 +0200)] 
Allow additional namespaces for subjects created in initdb.yml. (#3981)

* Allow additional namespaces for subjects created in initdb.yml

* Add extra namespaces before adding main namespace

8 weeks agoChange config location to work with non root user (#4068)
Himavanth [Mon, 15 Oct 2018 12:46:39 +0000 (18:16 +0530)] 
Change config location to work with non root user (#4068)

Change config location to work with non root user by storing config in home directory

2 months agoIncrease max-content-length to 50 MB (#4059)
Chetan Mehrotra [Fri, 12 Oct 2018 10:48:49 +0000 (16:18 +0530)] 
Increase max-content-length to 50 MB (#4059)

2 months agoInclude exception class in failure message from ArtifactStore (#4065)
Chetan Mehrotra [Fri, 12 Oct 2018 10:19:01 +0000 (15:49 +0530)] 
Include exception class in failure message from ArtifactStore (#4065)

2 months agoVerify checksums of downloaded software in Dockerfiles (#4051)
moritzraho [Fri, 12 Oct 2018 07:40:21 +0000 (09:40 +0200)] 
Verify checksums of downloaded software in Dockerfiles (#4051)

Verify sha256 checksum of Swagger and Docker binaries

2 months agoUsing non root user in controller (#3579)
Himavanth [Thu, 11 Oct 2018 06:24:12 +0000 (11:54 +0530)] 
Using non root user in controller (#3579)

* Using non root user in controller

Have done some basic testing.
Would like some feedback.

* Fixing jmxremote file permissions

* Triggering build

* Using chown instead of giving full permissions

Using chown instead of giving full permissions

* Permissions to create coverage folder

Permissions to create coverage folder

* Using user's home folder instead of root
 The root folder has permission issues in IBM PG build. So using
/home/owuser instead of /root to store jmxremote files. owuser is the
new user we create to avoid using root user. Not switching the user in
invoker because it is a privileged container.

* Triggering build

Triggering build

2 months agoEnsure that limits are set properly (#4048)
Chetan Mehrotra [Wed, 10 Oct 2018 18:14:37 +0000 (23:44 +0530)] 
Ensure that limits are set properly (#4048)

2 months agoEnsure CosmosDBArtifactStore return query results within limits (#4061)
Chetan Mehrotra [Wed, 10 Oct 2018 17:26:47 +0000 (22:56 +0530)] 
Ensure CosmosDBArtifactStore return query results within limits (#4061)

* Allow tests to reuse existing database instead of creating new db everytime

This can be enabled by setting system property `whisk.cosmosdb.useExistingDB` to true

* Ensure that limit is properly honored

* Improve the testcase

* Remove asserting that query result size should be 2

Result is of size 2 only for CosmosDB. For other cases only single result is returned

* Modify the query also check if key is defined

2 months agoCustomize invoker user memory. (#4011)
ningyougang [Tue, 9 Oct 2018 08:21:01 +0000 (16:21 +0800)] 
Customize invoker user memory. (#4011)

Currently, all invokers share the same value from invoker.user-memory,
but in some case, some invoker machines have big memory, some invoker
machines may have low memory, so it is necessary to customize invoker
user-memory.

2 months agoPrevent Artifact Store Polling for Large Activation Records (#4040)
James Dubee [Mon, 8 Oct 2018 16:55:44 +0000 (12:55 -0400)] 
Prevent Artifact Store Polling for Large Activation Records (#4040)

2 months agouse "nodejs:default" for health action (instead of "nodejs:6") (#4054)
tysonnorris [Fri, 5 Oct 2018 22:47:10 +0000 (15:47 -0700)] 
use "nodejs:default" for health action (instead of "nodejs:6") (#4054)

2 months agofix bug in default CMD introduced in PR-4052 (#4053)
David Grove [Fri, 5 Oct 2018 18:07:09 +0000 (14:07 -0400)] 
fix bug in default CMD introduced in PR-4052 (#4053)

2 months agoSwitch from alpine to jessie-slim for runner utility images (#4052)
David Grove [Fri, 5 Oct 2018 01:24:28 +0000 (21:24 -0400)] 
Switch from alpine to jessie-slim for runner utility images (#4052)

2 months agoImprove splunk query (#4047)
tysonnorris [Thu, 4 Oct 2018 07:54:49 +0000 (00:54 -0700)] 
Improve splunk query (#4047)

Improves the Splunk query and log format

* Log is now formatted similar to DockerToActivationLogStore
* Query time offset is made configurable to account for log collection delays

2 months agoAdd mention of Kubernetes support in Docker for Mac 18.06 (#4049)
David Grove [Wed, 3 Oct 2018 22:46:54 +0000 (18:46 -0400)] 
Add mention of Kubernetes support in Docker for Mac 18.06 (#4049)

2 months agoAdd support for allowedKinds limits in wskadmin and wskadmin-next (#4035)
Andy Steed [Wed, 3 Oct 2018 06:24:06 +0000 (23:24 -0700)] 
Add support for allowedKinds limits in wskadmin and wskadmin-next (#4035)

Enables admin to set limits on kinds which a namespace user can make use of.

2 months agoEnable testing with bearer token authentication (#4034)
Martin Henke [Fri, 28 Sep 2018 09:23:20 +0000 (11:23 +0200)] 
Enable testing with bearer token authentication (#4034)

This is an optional authentication method which is used to test non basic authentication SPIs

2 months agoupgrade pip before installing ansible (#4042)
David Grove [Thu, 27 Sep 2018 07:56:03 +0000 (03:56 -0400)] 
upgrade pip before installing ansible (#4042)

2 months agoSend activations of sequences to events topic. (#4019)
Christian Bickel [Wed, 26 Sep 2018 07:01:33 +0000 (09:01 +0200)] 
Send activations of sequences to events topic. (#4019)

* Send Sequence actions to UserMetrics.

Co-authored-by: Markus Thömmes <markusthoemmes@me.com>
* Send activations of cunductor-actions to user-metric-topics.

* Adapt test, to allow activations from controller.

* Add  to source of usermetric.

* Review.

2 months agoPut error message as tag into failed trace. (#4000)
Tzu-Chiao Yeh [Tue, 25 Sep 2018 05:51:23 +0000 (13:51 +0800)] 
Put error message as tag into failed trace. (#4000)

Put error message as tag into failed trace. This is nice to have and useful on trouble shooting within request context via modern UI in Jaegar or Zipkin.

2 months agoSupport base64 encoded config (#4039)
Chetan Mehrotra [Mon, 24 Sep 2018 16:57:20 +0000 (22:27 +0530)] 
Support base64 encoded config (#4039)

2 months agoMove container-config to singleton so it is loaded only once. (#4038)
Christian Bickel [Mon, 24 Sep 2018 16:49:53 +0000 (18:49 +0200)] 
Move container-config to singleton so it is loaded only once. (#4038)

2 months agoConfigure a default throughput value for CosmosDB (#4037)
Chetan Mehrotra [Mon, 24 Sep 2018 14:24:16 +0000 (19:54 +0530)] 
Configure a default throughput value for CosmosDB (#4037)

2 months agoAdjust activation metric schema to reflect reality. (#4006)
Markus Thömmes [Mon, 24 Sep 2018 13:17:15 +0000 (15:17 +0200)] 
Adjust activation metric schema to reflect reality. (#4006)

* Adjust activation metric schema to reflect reality.

1. The `causedBy` annotation is actually an optional String vs. a boolean flag.
2. The `name` field is actually intended to contain the fully-qualified name of the action vs. a composite of the invocation namespace and an action name (which doesn't really represent anything).

Co-authored-by: Christian Bickel <github@cbickel.de>
* Require certain fields for sending activation metrics.

* Fix import.

* Pull enabled check to the call-site

* Move constructing logic and test it.

* Set loglevel to error.

2 months agoscript runner now has nodejs (#4036)
Carlos Santana [Mon, 24 Sep 2018 12:45:49 +0000 (08:45 -0400)] 
script runner now has nodejs (#4036)

2 months agoFix bugs in invoker ids and health protocol bookkeeping. (#4017)
Vadim Raskin [Fri, 21 Sep 2018 09:20:13 +0000 (11:20 +0200)] 
Fix bugs in invoker ids and health protocol bookkeeping. (#4017)

2 months agoAdd additional debug information if activations have to wait in the invoker. (#4030)
Christian Bickel [Thu, 20 Sep 2018 14:59:35 +0000 (16:59 +0200)] 
Add additional debug information if activations have to wait in the invoker. (#4030)

2 months agoEnable passing absolute url to gatling test and few other fixes. (#4032)
Chetan Mehrotra [Thu, 20 Sep 2018 13:27:42 +0000 (18:57 +0530)] 
Enable passing absolute url to gatling test and few other fixes. (#4032)

* Fix logback warning by moving immediateFlush to parent

* Change warmup url to google such that it works mostly

* Enable support for absolute url

2 months agoAdd User-Agent to list of allowed CORS headers. (#4010)
Nick Mitchell [Tue, 18 Sep 2018 17:18:27 +0000 (13:18 -0400)] 
Add User-Agent to list of allowed CORS headers. (#4010)

Fixes #4009

2 months agoFix limits command docs. (#4027)
Chetan Mehrotra [Tue, 18 Sep 2018 14:09:53 +0000 (19:39 +0530)] 
Fix limits command docs. (#4027)

2 months agoAdd test to verify, that action with high memory usage can be invoked. (#4025)
Christian Bickel [Tue, 18 Sep 2018 13:23:09 +0000 (15:23 +0200)] 
Add test to verify, that action with high memory usage can be invoked. (#4025)

2 months agoEnable running basic system tests without requiring whisk.properties. (#4004)
Chetan Mehrotra [Tue, 18 Sep 2018 13:01:19 +0000 (18:31 +0530)] 
Enable running basic system tests without requiring whisk.properties. (#4004)

2 months agoDocs fixes for action invocations. (#3951)
Martin Gencur [Tue, 18 Sep 2018 12:49:07 +0000 (14:49 +0200)] 
Docs fixes for action invocations. (#3951)

More accurate description of the behaviour:
* after exceeding the limit Activation ID is not returned (it is the
whole activation record or the error result
* user can't check the result later, it is still an error

* Application error now thrown in different cases
* Differentiate actions time limit and blocking wait limit
* Update the errors for timeout situations

2 months agoDefault invoker protocol to http. (#4026)
David Grove [Tue, 18 Sep 2018 08:24:38 +0000 (04:24 -0400)] 
Default invoker protocol to http. (#4026)

068bb26 made whisk.invoker.protocol a mandatory property, but failed to provide a default value for it.