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

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


The following commit(s) were added to refs/heads/master by this push:
     new 7f839c6  Fix failures related to scan code (#324)
7f839c6 is described below

commit 7f839c67938fd2b0a1241811f86df84481add7c4
Author: James Dubee <[email protected]>
AuthorDate: Wed Mar 6 17:35:24 2019 -0500

    Fix failures related to scan code (#324)
---
 .travis.yml                              | 17 +++++++++++++++-
 CONTRIBUTING.md                          | 33 ++++++++++++++++----------------
 README.md                                | 19 ++++++++++++++++++
 action/kafkaFeed.js                      |  3 +++
 action/kafkaFeedWeb.js                   |  3 +++
 action/lib/Database.js                   |  3 +++
 action/lib/common.js                     |  3 +++
 action/messageHubFeed.js                 |  3 +++
 action/messageHubFeedWeb.js              |  3 +++
 devGuide.md                              | 19 ++++++++++++++++++
 gradle/wrapper/gradle-wrapper.properties |  3 +++
 installCatalog.sh                        |  7 +++++--
 installKafka.sh                          |  7 +++++--
 tools/travis/build.sh                    |  4 ++++
 tools/travis/deploy.sh                   |  4 ++++
 tools/travis/setup.sh                    |  3 +++
 tools/verifyDBMigration/index.js         |  3 +++
 17 files changed, 116 insertions(+), 21 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3b76382..98bcffd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,19 @@
-# A Travis CI configuration file.
+#
+# 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.
+#
 
 sudo: required
 group: deprecated-2017Q3
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fcb1d0e..8afe763 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
diff --git a/README.md b/README.md
index 03c6e9a..8a892b9 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+#
+# 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 package for communication with Kafka or IBM Message Hub
 
 
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
diff --git a/action/kafkaFeed.js b/action/kafkaFeed.js
index bc51de6..b2dce2e 100644
--- a/action/kafkaFeed.js
+++ b/action/kafkaFeed.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.
+
 const common = require('./lib/common');
 
 /**
diff --git a/action/kafkaFeedWeb.js b/action/kafkaFeedWeb.js
index 2c8a386..04acea1 100644
--- a/action/kafkaFeedWeb.js
+++ b/action/kafkaFeedWeb.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.
+
 const common = require('./lib/common');
 const Database = require('./lib/Database');
 var moment = require('moment');
diff --git a/action/lib/Database.js b/action/lib/Database.js
index 8810fae..eb42946 100644
--- a/action/lib/Database.js
+++ b/action/lib/Database.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.
+
 // constructor for DB object - a thin, promise-loving wrapper around nano
 module.exports = function(dbURL, dbName) {
     var nano = require('nano')(dbURL);
diff --git a/action/lib/common.js b/action/lib/common.js
index 5220c90..d767432 100644
--- a/action/lib/common.js
+++ b/action/lib/common.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.
+
 const request = require('request-promise');
 
 function triggerComponents(triggerName) {
diff --git a/action/messageHubFeed.js b/action/messageHubFeed.js
index 8f06bfb..d7c8658 100644
--- a/action/messageHubFeed.js
+++ b/action/messageHubFeed.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.
+
 const common = require('./lib/common');
 
 /**
diff --git a/action/messageHubFeedWeb.js b/action/messageHubFeedWeb.js
index 435d8fd..34aaeed 100644
--- a/action/messageHubFeedWeb.js
+++ b/action/messageHubFeedWeb.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.
+
 const common = require('./lib/common');
 const Database = require('./lib/Database');
 const itm = require('@ibm-functions/iam-token-manager');
diff --git a/devGuide.md b/devGuide.md
index 2b59793..d34f05c 100644
--- a/devGuide.md
+++ b/devGuide.md
@@ -1,3 +1,22 @@
+<!--
+#
+# 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.
+#
+-->
+
 # Development and Testing
 ## Build
 Building the Kafka feed provider is a simple matter of running a `docker 
build` command from the root of the project. I suggest tagging the image with a 
memorable name, like "kafkafeedprovider":
diff --git a/gradle/wrapper/gradle-wrapper.properties 
b/gradle/wrapper/gradle-wrapper.properties
index f16d266..d7cc33f 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -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.
+
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
diff --git a/installCatalog.sh b/installCatalog.sh
index d73d02c..512da1f 100755
--- a/installCatalog.sh
+++ b/installCatalog.sh
@@ -1,8 +1,11 @@
 #!/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.
+
 # use the command line interface to install standard actions deployed
 # automatically
-#
+
 # To run this command
 # ./installCatalog.sh <authkey> <edgehost> <dburl> <dbprefix> <apihost>
 # authkey and apihost are found in $HOME/.wskprops
diff --git a/installKafka.sh b/installKafka.sh
index e8b8dd9..285723f 100755
--- a/installKafka.sh
+++ b/installKafka.sh
@@ -1,8 +1,11 @@
 #!/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.
+
 # use the command line interface to install standard actions deployed
 # automatically
-#
+
 # To run this command
 # ./installKafka.sh <authkey> <edgehost> <dburl> <dbprefix> <apihost>
 # authkey and apihost are found in $HOME/.wskprops
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index eab9ced..c389b99 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -1,4 +1,8 @@
 #!/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.
+
 set -e
 
 # Build script for Travis-CI.
diff --git a/tools/travis/deploy.sh b/tools/travis/deploy.sh
index 6451c37..8fd760c 100755
--- a/tools/travis/deploy.sh
+++ b/tools/travis/deploy.sh
@@ -1,4 +1,8 @@
 #!/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.
+
 set -eu
 
 dockerhub_image_prefix="$1"
diff --git a/tools/travis/setup.sh b/tools/travis/setup.sh
index 92b0d0d..a1ddc78 100755
--- a/tools/travis/setup.sh
+++ b/tools/travis/setup.sh
@@ -1,5 +1,8 @@
 #!/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/../../../"
 WHISKDIR="$HOMEDIR/openwhisk"
diff --git a/tools/verifyDBMigration/index.js b/tools/verifyDBMigration/index.js
index aa407cd..bb009ee 100644
--- a/tools/verifyDBMigration/index.js
+++ b/tools/verifyDBMigration/index.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.
+
 var shell = require('shelljs');
 
 // will be populated by processArgs()

Reply via email to