This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 5d41cd1  Fix scancode issues (#153)
5d41cd1 is described below

commit 5d41cd15621dbef82a748d8308d79b1f7af38a19
Author: Shazron Abdullah <[email protected]>
AuthorDate: Mon Mar 11 21:47:00 2019 +0800

    Fix scancode issues (#153)
---
 .travis.yml                              |  3 +++
 CONTRIBUTING.md                          | 35 ++++++++++++++++----------------
 README.md                                | 22 ++++++++++++++++++--
 test/integration/README.md               | 20 +++++++++++++++++-
 test/integration/prepIntegrationTests.sh |  4 ++++
 test/integration/utils.js                |  3 +++
 tools/merge-coverage.sh                  |  3 +++
 tools/travis/build.sh                    |  2 ++
 tools/travis/scancode.sh                 |  3 +++
 tools/travis/setup.sh                    |  3 +++
 tools/travis/setupscan.sh                |  2 ++
 11 files changed, 80 insertions(+), 20 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 71fde45..558f905 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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.
+
 language: node_js
 node_js:
 - '6'
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9167b53..12b89b1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,21 +1,22 @@
-[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
 <!--
 #
-# 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:
+# 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
+#     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.
+# 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.
 #
 -->
+[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
 
 # Contributing to Apache OpenWhisk
 
@@ -36,18 +37,18 @@ Instructions on how to do this can be found here:
 [http://www.apache.org/licenses/#clas](http://www.apache.org/licenses/#clas)
 
 Once submitted, you will receive a confirmation email from the Apache Software 
Foundation (ASF) and be added to
-the following list: http://people.apache.org/unlistedclas.html. 
+the following list: http://people.apache.org/unlistedclas.html.
 
 Project committers will use this list to verify pull requests (PRs) come from 
contributors that have signed a CLA.
 
-We look forward to your contributions! 
+We look forward to your contributions!
 
 ## Raising issues
 
-Please raise any bug reports on the respective project repository's GitHub 
issue tracker. Be sure to search the 
+Please raise any bug reports on the respective project repository's GitHub 
issue tracker. Be sure to search the
 list to see if your issue has already been raised.
 
-A good bug report is one that make it easy for us to understand what you were 
trying to do and what went wrong. 
+A good bug report is one that make it easy for us to understand what you were 
trying to do and what went wrong.
 Provide as much context as possible so we can try to recreate the issue.
 
 ### Discussion
@@ -65,4 +66,4 @@ code base. Some basic rules include:
 
  - all files must have the Apache license in the header.
  - all PRs must have passing builds for all operating systems.
- - follow the [standard](https://standardjs.com) style rules. Linter run on CI 
and automatically as [pre-commit hook](http://githooks.com/). For automatic 
fixing run `npm run standard-fix`.  
+ - follow the [standard](https://standardjs.com) style rules. Linter run on CI 
and automatically as [pre-commit hook](http://githooks.com/). For automatic 
fixing run `npm run standard-fix`.
diff --git a/README.md b/README.md
index 29f8c5d..ab36696 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,21 @@
+<!--
+#
+# 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.
+#
+-->
 # OpenWhisk Client for JavaScript
 
 [![Build 
Status](https://travis-ci.org/apache/incubator-openwhisk-client-js.svg?branch=master)](https://travis-ci.org/apache/incubator-openwhisk-client-js)
@@ -79,7 +97,7 @@ var options = {
 }
 var ow = openwhisk(options)
 ow.actions.invoke('sample').then(result => console.log(result))
-``` 
+```
 
 
 ### constructor options
@@ -138,7 +156,7 @@ ow.actions.invoke({ noUserAgent: true, name, params })
  - *http_proxy/HTTP_PROXY*
 - *https_proxy/HTTPS_proxy*
 
- The openwhisk-client-js SDK supports the use of above mentioned proxies 
through third-party 
+ The openwhisk-client-js SDK supports the use of above mentioned proxies 
through third-party
  HTTP agent such as 
[proxy-agent](https://github.com/TooTallNate/node-proxy-agent "proxy-agent 
Github page")
 
 ## Examples
diff --git a/test/integration/README.md b/test/integration/README.md
index c7f3e2a..c23a1da 100644
--- a/test/integration/README.md
+++ b/test/integration/README.md
@@ -1,3 +1,21 @@
+<!--
+#
+# 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.
+#
+-->
 Integrations Test
 --
 
@@ -12,4 +30,4 @@ You can retrieve these settings from the `.wskprops` file.
 
 *Note:* If the tests fail, you might need to remove the created artifacts 
manually.
 
-[Alternatively](https://github.com/apache/incubator-openwhisk-client-js#integration-tests),
 you can run the `prepIntegrationTests.sh` script using guest credentials or by 
specifying specific credentials.  
+[Alternatively](https://github.com/apache/incubator-openwhisk-client-js#integration-tests),
 you can run the`prepIntegrationTests.sh` script using guest credentials or by 
specifying specific credentials.
diff --git a/test/integration/prepIntegrationTests.sh 
b/test/integration/prepIntegrationTests.sh
index 3a2e648..2465c0f 100755
--- a/test/integration/prepIntegrationTests.sh
+++ b/test/integration/prepIntegrationTests.sh
@@ -1,5 +1,9 @@
 #!/bin/bash
 #set -e
+
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 #Usage: ./test/integration/prepIntegrationTests.sh 
<apikeyintheformofABCD:EFGH> <openwhisk hostname> <openwhisk namespace> <api 
gatewaytoken> <optional "insecure">
 # Run from the incubator-openwhisk-client-js
 
diff --git a/test/integration/utils.js b/test/integration/utils.js
index 87e0f42..2469e0d 100644
--- a/test/integration/utils.js
+++ b/test/integration/utils.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 getInsecureFlag () {
   let npmConfigArgObj = process.env.npm_config_argv ? 
JSON.parse(process.env.npm_config_argv) : null
   if (npmConfigArgObj) {
diff --git a/tools/merge-coverage.sh b/tools/merge-coverage.sh
index 76330b6..cc5fdb3 100755
--- a/tools/merge-coverage.sh
+++ b/tools/merge-coverage.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 key="$1"
 host="$2"
 namespace="$3"
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index fab87a4..6e9107d 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -1,5 +1,7 @@
 #!/bin/bash
 set -e
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
 # Build script for Travis-CI.
 
diff --git a/tools/travis/scancode.sh b/tools/travis/scancode.sh
index ebfa361..409667f 100755
--- a/tools/travis/scancode.sh
+++ b/tools/travis/scancode.sh
@@ -1,6 +1,9 @@
 #!/bin/bash
 set -e
 
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # Build script for Travis-CI.
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 ROOTDIR="$SCRIPTDIR/../.."
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index d531131..82fe2e7 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 HOMEDIR="$SCRIPTDIR/../../../"
 
diff --git a/tools/travis/setupscan.sh b/tools/travis/setupscan.sh
index 35f070f..b80f6ef 100755
--- a/tools/travis/setupscan.sh
+++ b/tools/travis/setupscan.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more 
contributor
+# license agreements; and to You under the Apache License, Version 2.0.
 
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 HOMEDIR="$SCRIPTDIR/../../../"

Reply via email to