openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgr...@apache.org
Subject [incubator-openwhisk-composer] branch master updated: Bump version number. Add changelog. Document debug flag. (#26)
Date Wed, 13 Feb 2019 00:17:47 GMT
This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-composer.git


The following commit(s) were added to refs/heads/master by this push:
     new 96ccab9  Bump version number. Add changelog. Document debug flag. (#26)
96ccab9 is described below

commit 96ccab9c5cfab6f98ce564166f63f22b244a47fd
Author: Olivier Tardieu <tardieu@users.noreply.github.com>
AuthorDate: Tue Feb 12 19:17:43 2019 -0500

    Bump version number. Add changelog. Document debug flag. (#26)
---
 CHANGELOG.md     | 38 ++++++++++++++++++++++++++++++++++++++
 docs/COMMANDS.md | 14 ++++++++++++++
 package.json     |  2 +-
 3 files changed, 53 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..04b9901
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,38 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
+# Changelog
+
+## v0.10.0
+
+* Add new [parallel](docs/COMBINATORS.md#parallel) and
+  [map](docs/COMBINATORS.md#map) combinators to run compositions in parallel
+  using a [Redis instance](README.md#parallel-compositions-with-redis) to store
+  intermediate results.
+* Add [dynamic](docs/COMBINATORS.md#dynamic) combinator to invoke an action with
+  a name chosen at run time.
+* Add [option](README.md#openwhisk-ssl-configuration) to bypass TLS certificate
+  validation failures (off by default).
+* Add [API](docs/COMPOSITIONS.md#conductor-actions) to generate the conductor
+  action code from a composition.
+* Add [control](docs/COMMANDS.md#debug-flag) over `needle` options and logging.
+
+## v0.9.0
+
+* Initial release as an Apache Incubator project.
diff --git a/docs/COMMANDS.md b/docs/COMMANDS.md
index adfb02e..ca74c80 100644
--- a/docs/COMMANDS.md
+++ b/docs/COMMANDS.md
@@ -41,6 +41,7 @@ Flags:
   --ast                  only output the ast for the composition
   --js                   output the conductor action code for the composition
   -v, --version          output the composer version
+  --debug LIST           comma-separated list of debug flags (when using --js flag)
 ```
 The `compose` command takes a Javascript module that exports a composition
 object (for example [demo.js](../samples/demo.js)) and compiles this object to a
@@ -70,6 +71,7 @@ Flags:
   -u, --auth KEY                    authorization KEY
   -v, --version                     output the composer version
   -w, --overwrite                   overwrite actions if already defined
+  --debug LIST                      comma-separated list of debug flags
 ```
 The `deploy` command deploys a JSON-encoded composition with the given name.
 ```
@@ -124,3 +126,15 @@ key from the whisk property file for the current user.
 
 The default path for the whisk property file is `$HOME/.wskprops`. It can be
 altered by setting the `WSK_CONFIG_FILE` environment variable.
+
+### Debug flag
+
+The `--debug` flag takes a comma-separated list of debugging options.
+
+The `needle` option activates `needle` verbose logging.
+
+The `needle<defaults>` option enables overriding `needle` default parameters.
+The specified `defaults` must be be a json dictionary, as for example in:
+```
+deploy demo demo.json --debug needle<{"connection":"keep-alive","open_timeout":60000}>
+```
diff --git a/package.json b/package.json
index d8989eb..11f9102 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "openwhisk-composer",
-  "version": "0.9.0",
+  "version": "0.10.0",
   "description": "Composer is a new programming model for composing cloud functions built
on Apache OpenWhisk.",
   "homepage": "https://github.com/apache/incubator-openwhisk-composer",
   "main": "composer.js",


Mime
View raw message