This is an automated email from the ASF dual-hosted git repository.
berstler pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-playground.git
The following commit(s) were added to refs/heads/master by this push:
new b441222 Update README with badges and source files with ASF license
headers. (#5)
b441222 is described below
commit b441222da71609a51589396e1f70375e281d5c5b
Author: Matt Rutkowski <[email protected]>
AuthorDate: Wed Jul 12 14:34:52 2017 -0500
Update README with badges and source files with ASF license headers. (#5)
* Update README for ASF license and Travis badges.
---
README.md | 9 ++++++---
hello-action.js | 3 +++
openwhisk-playground.js | 3 +++
test.js | 8 +++++---
4 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index b9ee857..8889739 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,13 @@
-#OpenWhisk Playground
+# OpenWhisk Playground
+
+[](http://www.apache.org/licenses/LICENSE-2.0)
+<!-- [](https://travis-ci.org/apache/incubator-openwhisk-playground)
-->
## Usage
This library provides functionality of executing
-a snippet of source code as OpenWhisk action for
-OpenWhisk Xcode Source Editor Extension
+a snippet of source code as OpenWhisk action for
+OpenWhisk Xcode Source Editor Extension
in order to test Swift OpenWhisk functions quickly.
More details in https://github.com/openwhisk/openwhisk-xcode
diff --git a/hello-action.js b/hello-action.js
index 8377d6f..9042902 100644
--- a/hello-action.js
+++ b/hello-action.js
@@ -1,3 +1,6 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
+// license agreements; and to You under the Apache License, Version 2.0.
+
function main() {
console.log('log action started')
// return {payload: 'Hello world'};
diff --git a/openwhisk-playground.js b/openwhisk-playground.js
index 8b7ccfe..837d4bc 100644
--- a/openwhisk-playground.js
+++ b/openwhisk-playground.js
@@ -1,3 +1,6 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
+// license agreements; and to You under the Apache License, Version 2.0.
+
'use strict';
const debug = require('debug')('openwhisk-playground')
diff --git a/test.js b/test.js
index d99dfdd..2b851ef 100644
--- a/test.js
+++ b/test.js
@@ -1,4 +1,7 @@
-const debug = require('debug')('openwhisk-playground-test')
+// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
+// license agreements; and to You under the Apache License, Version 2.0.
+
+const debug = require('debug')('openwhisk-playground-test')
const assert = require('assert')
var OpenWhiskPlayground = require("./openwhisk-playground.js")
@@ -34,7 +37,6 @@ function test() {
assert.ok(false, ' failed '+ JSON.stringify(err));
}
-
// evaluate
playground.setInjectLogRetrievalFailure(true)
playground.evaluate(params, success, error)
@@ -43,4 +45,4 @@ function test() {
test()
-module.exports = test
\ No newline at end of file
+module.exports = test
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].