Skip to content

Commit 96ccab9

Browse files
tardieudgrove-oss
authored andcommitted
Bump version number. Add changelog. Document debug flag. (#26)
1 parent 2df3e69 commit 96ccab9

File tree

3 files changed

+53
-1
lines changed

3 files changed

+53
-1
lines changed

CHANGELOG.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!--
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
-->
19+
20+
# Changelog
21+
22+
## v0.10.0
23+
24+
* Add new [parallel](docs/COMBINATORS.md#parallel) and
25+
[map](docs/COMBINATORS.md#map) combinators to run compositions in parallel
26+
using a [Redis instance](README.md#parallel-compositions-with-redis) to store
27+
intermediate results.
28+
* Add [dynamic](docs/COMBINATORS.md#dynamic) combinator to invoke an action with
29+
a name chosen at run time.
30+
* Add [option](README.md#openwhisk-ssl-configuration) to bypass TLS certificate
31+
validation failures (off by default).
32+
* Add [API](docs/COMPOSITIONS.md#conductor-actions) to generate the conductor
33+
action code from a composition.
34+
* Add [control](docs/COMMANDS.md#debug-flag) over `needle` options and logging.
35+
36+
## v0.9.0
37+
38+
* Initial release as an Apache Incubator project.

docs/COMMANDS.md

+14
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Flags:
4141
--ast only output the ast for the composition
4242
--js output the conductor action code for the composition
4343
-v, --version output the composer version
44+
--debug LIST comma-separated list of debug flags (when using --js flag)
4445
```
4546
The `compose` command takes a Javascript module that exports a composition
4647
object (for example [demo.js](../samples/demo.js)) and compiles this object to a
@@ -70,6 +71,7 @@ Flags:
7071
-u, --auth KEY authorization KEY
7172
-v, --version output the composer version
7273
-w, --overwrite overwrite actions if already defined
74+
--debug LIST comma-separated list of debug flags
7375
```
7476
The `deploy` command deploys a JSON-encoded composition with the given name.
7577
```
@@ -124,3 +126,15 @@ key from the whisk property file for the current user.
124126

125127
The default path for the whisk property file is `$HOME/.wskprops`. It can be
126128
altered by setting the `WSK_CONFIG_FILE` environment variable.
129+
130+
### Debug flag
131+
132+
The `--debug` flag takes a comma-separated list of debugging options.
133+
134+
The `needle` option activates `needle` verbose logging.
135+
136+
The `needle<defaults>` option enables overriding `needle` default parameters.
137+
The specified `defaults` must be be a json dictionary, as for example in:
138+
```
139+
deploy demo demo.json --debug needle<{"connection":"keep-alive","open_timeout":60000}>
140+
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openwhisk-composer",
3-
"version": "0.9.0",
3+
"version": "0.10.0",
44
"description": "Composer is a new programming model for composing cloud functions built on Apache OpenWhisk.",
55
"homepage": "https://github.com/apache/incubator-openwhisk-composer",
66
"main": "composer.js",

0 commit comments

Comments
 (0)