Skip to content
Snippets Groups Projects
  1. Aug 04, 2017
    • tysonnorris's avatar
      SPI approach for pluggable implementations. (#2414) · 1e02bc67
      tysonnorris authored
      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
      1e02bc67
  2. Jul 27, 2017
  3. Jul 26, 2017
  4. Jul 24, 2017
    • Rob Allen's avatar
      Add PHP 7.1 as a kind (#2415) · 8cb107f9
      Rob Allen authored
      * 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/.
      8cb107f9
  5. Jul 20, 2017
  6. Jul 14, 2017
  7. Jun 30, 2017
  8. Jun 28, 2017
  9. Jun 26, 2017
    • Paul Castro's avatar
      Add Swift 3.1.1 as a kind (#2120) · 9d37b3f9
      Paul Castro authored
      * 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
      9d37b3f9
  10. Jun 20, 2017
  11. Jun 01, 2017
  12. May 29, 2017
    • Carlos Santana's avatar
      Make travis fast again (#2308) · 470c27df
      Carlos Santana authored
      * 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
      470c27df
  13. May 15, 2017
  14. May 04, 2017
    • Markus Thömmes's avatar
      Implement a proxy for a container to implement concurrent behavior (#2107) · 60d991bc
      Markus Thömmes authored
      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.
      60d991bc
  15. Apr 25, 2017
  16. Apr 19, 2017
  17. Apr 13, 2017
    • Mark Deuser's avatar
      API GW V2 - Add 'wsk api` command (#2068) · be8d8aff
      Mark Deuser authored
      * 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
      be8d8aff
  18. Apr 08, 2017
  19. Apr 07, 2017
  20. Apr 03, 2017
    • rodric rabbah's avatar
      Enable tests for unicode for python, swift. (#2070) · 3a319df1
      rodric rabbah authored
      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.
      3a319df1
  21. Mar 28, 2017
    • cclauss's avatar
      Add python:3 action support. · 415f5628
      cclauss authored
      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.
      415f5628
  22. Mar 16, 2017
  23. Mar 15, 2017
  24. Mar 11, 2017
  25. Mar 10, 2017
  26. Mar 07, 2017
  27. Mar 06, 2017
  28. Mar 05, 2017
  29. Mar 03, 2017
    • rodric rabbah's avatar
      Normalize initializer for all execs. (#1938) · 586a3120
      rodric rabbah authored
      * Normalize initializer for all execs.
      
      * Handle empty code for blackbox.
      
      * Do not include code if null.
      586a3120
    • Rodric Rabbah's avatar
      Support python actions with zip files. · 5e394e20
      Rodric Rabbah authored
      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.
      5e394e20
Loading