- Aug 23, 2016
-
-
Markus Thoemmes authored
Adds a new parameter to docker.gradle `dockerImagePrefix` which specifies the PREFIX part in the following format: {REGISTRY}/{PREFIX}/{IMAGE}:{TAG}. This used to be hardcoded to "whisk", e.g. whisk/controller. Implements a parameter for ansible to pull an image prefixed by "docker_image_prefix" (PREFIX in the following format): {REGISTRY}/{PREFIX}/{IMAGE}:{TAG}. Was previously hardcoded as "whisk". Writes the parameter into whisk.properties and makes the invoker pick it up for spawning containers. Add different tag in travis to flesh out problems.
-
- Aug 22, 2016
-
-
Philippe Suter authored
It's probably best that the tests and the invoker use the same client.
-
Philippe Suter authored
This commit also introduces a new helper object, `NewHttpUtils` to make non-pooled, possibly retrying, HTTP requests using akka-http data representation.
-
- Aug 21, 2016
-
-
Rodric Rabbah authored
Add new tests for the common action proxy. Refactor tests so that standard tests for actions not returning JSON, actions printing to stdout/stderr, and actions validating expected environment don't need to be repeated explicitly. Also tightened tests so that the runtimes conform to expected messages/errors and markers on stdout/stderr. As noted, new tests added to confirm action environment contains expected properties - namely auth key and edge host.
-
Rodric Rabbah authored
Remove unecessary complexity in determining if container has log markers - since invoker has an Exec reference, associate the information with the type. Add python to set of containers for which the invoker expects log markers.
-
Rodric Rabbah authored
Rebase swift(3) actions using new action proxy and override epilogue, buil and env method to properly build binary and serialize input as required by swift actions. Rebase python action using new action proxy. Rename runner files to {lang/runtime}runner.py.
-
Rodric Rabbah authored
Adds "action proxy" a new base image for actions including swift and "black box" using a common proxy server coded in python and using flask. The proxy implements the required init and run routes. The container include a sample shell script making it useful as a stand alone example action. It also allows arbitrary shell scripts (python, perl, bash, etc.) to run by initializing the internal action code on init. The run methods always prints the required sentinels, making actions that inherit from this proxy compliant with the invoker's expectations for extracting user log streams. Includes a stub action. Renames docker image to docker skeleton. Adds README describing organization and implementation of the proxy and how to add a new runner. Consolidates debug helpers. Adds action proxy to build/redo.
-
- Aug 19, 2016
-
-
Perry authored
-
Markus Thoemmes authored
Signed-off-by:
Christian Bickel <cbickel@de.ibm.com>
-
Markus Thoemmes authored
Signed-off-by:
Christian Bickel <cbickel@de.ibm.com>
-
dubeejw authored
- Remove the dependency on the system pipe when creating actions - Pass action artifacts to the backend as a component field instead of as parameters
-
Paul Castro authored
-
- Aug 18, 2016
-
-
Markus Thoemmes authored
This implements WhiskConfig using ConsulClient instead of the old ConsulKV, making it unreferenced and therefore removed. Await.result is tolerated in WhiskConfig as it is only executed once per component.
-
Markus Thoemmes authored
- remove rotten consul code
-
Philippe Suter authored
Accompanying unit tests. Closes #1020.
-
- Aug 17, 2016
-
-
Markus Thoemmes authored
Also introduces warnings on unused imports.
-
Christian Bickel authored
Remove unused variables from WhiskConfig and add the ability to Config to ask for environment-variables.
-
Christian Bickel authored
Fixes #1061.
-
- Aug 16, 2016
-
-
Markus Thoemmes authored
-
Markus Thoemmes authored
-
Mark Deuser authored
Remove `--full` argument from `wsk action list` and `wsk package list` Remove `--service_guid` argument from `wsk package create|update` Add `--summary` argument to `wsk rule get` and `wsk trigger get` commands Add `--summary` test cases
-
dubeejw authored
- Use the Go CLI to install the default catalog instead of the Python CLI
-
- Aug 15, 2016
-
-
NICHOLAS W. SPEETER authored
-
Dominik Jall authored
add null check for logger.
-
- Aug 13, 2016
-
-
Nick Mitchell authored
Update tests in response to critique: remove "enable" from WskRule, pull the rule validation tests out of the withCleaner scope.
-
Justin Berstler authored
-
- Aug 12, 2016
-
-
James Thomas authored
Weather service used by the forecast action has recently released a new API version. This has broken the current Action source, which used the old URL structure. Updating the code to use the new URL paths and parameters.
-
Christian Bickel authored
Make emit implicit instead of passing it around. Use akka Loglevel instead of own Loglevels. Move the logmarker to the end of the message fixes #487. Signed-off-by:
Markus Thoemmes <markus.thoemmes@de.ibm.com>
-
- Aug 10, 2016
-
-
Justin Berstler authored
If a callback is supplied as the "next" parameter, these functions return nothing and uses the callback as before. If no "next" parameter is supplied, these functions return a promise. Added unit tests to ensure that the returned promise behaves as expected, as well as the existing callback functionality still works. Refactor post() to be totally common for both trigger() and invoke() post() now itself returns a Promise
-
Perry authored
Change KVReporter's input thunk so that it accepts a count. Use count to reduce the rate at which user activation counts are written out
-
- Aug 09, 2016
-
-
dubeejw authored
-
- Aug 05, 2016
-
-
Vincent Hou authored
Since services:registrator is removed, we need to remove from the gradle setting. If it is still there, import openwhisk project as a gradle project will raise an error in eclipse.
-
- Aug 04, 2016
-
-
Rodric Rabbah authored
Change units from Int to ByteSize for byte-sized-limited, update comments and json serdes, add byte size subtraction, update tests. Make some const values core package visible. Make memory option byte-sizes. Add toString on byte-size and update error messages. Remove printlns. Update and move tests around between packages. Make TimeLimit constructor accept only a duration. Revert change to log/memory limit constructor so that the type is int not bytesize (really would want to constrain this to be MB but the type conversions aren't that rich and arguably not worth it as this can be hidden behind the private constructor). Change Bytes to B in toString to avoid 1 bytes vs 1 byte. Should it be byte[s] and append the s only when necessary? Emit parameters should test fail. Use python CLI for http test as go cli assumes https. Add some more tests for limits. Use Python CLI for two tests that do not work with Go CLI. Add retry on list operations which might need some time to be consistent.
-
- Aug 03, 2016
-
-
dubeejw authored
- Display more information about invalid arguments
-
Rodric Rabbah authored
Fix link to db README. Remove deadcode. Move gradle helper to gradle directory and update all path.
-
dubeejw authored
- Improve error handling when invalid arguments are passed to action commands - Display an error when an invalid kind is passed when creating an action - Add --kind to action update
-
Rodric Rabbah authored
Modify activation feed so that we grab next batch of messages and commit offsets immediately, essentially marking the activation as having satisfied "at most once" semantics (this is the point at which the activation is considered started); if the commit fails, then messages peeked are peeked again on the next poll. While the commit is synchronous and will block until it completes, at steady state with enough buffering (i.e., maxPipelineDepth > maxPeek), the latency of the commit should be masked. Add kafka test where we intentionally fail the commit and then confirm recovery. (Unrelated by stashed in this commit: Ignore any db local ini in ansible directory in case there are more than one.)
-
- Aug 02, 2016
-
-
Carlos Santana authored
-
Philippe Suter authored
Those have become disruptive on Travis CI. Disabling until we can at least reproduce locally.
-
Philippe Suter authored
Eliminates code duplication, and ensures all systems are properly shutdown.
-