fixes scancode failures exposed by switch to ASF-RELEASE.cfg (#198)

diff --git a/.travis.yml b/.travis.yml
index 2b9de2a..87941d0 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 c32a97e..ab2f597 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,18 +1,19 @@
 <!--
 #
-# 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.
 #
 -->
 
@@ -35,18 +36,18 @@
 [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 9a4b7d2..2a7360c 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.
+#
+-->
+
 # Using the Cloudant package
 
 [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
@@ -20,7 +39,7 @@
 
 - `iamApiKey` (*optional*): The IAM API key for the Cloudant database.  If specified will be used as the credentials instead of username and password.
 
-- `iamUrl` (*optional*): The IAM token service url that is used when `iamApiKey` is specified.  Defaults to `https://iam.bluemix.net/identity/token`. 
+- `iamUrl` (*optional*): The IAM token service url that is used when `iamApiKey` is specified.  Defaults to `https://iam.bluemix.net/identity/token`.
 
 - `maxTriggers` (*optional*): Stop firing triggers when this limit is reached.  Defaults to infinite.
 
diff --git a/actions/account-actions/create-database.js b/actions/account-actions/create-database.js
old mode 100755
new mode 100644
index 96dd970..de1b10d
--- a/actions/account-actions/create-database.js
+++ b/actions/account-actions/create-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.
+
  /**
  * Create database in Cloudant account:
  * https://docs.cloudant.com/database.html#get-databases
diff --git a/actions/account-actions/delete-database.js b/actions/account-actions/delete-database.js
old mode 100755
new mode 100644
index 37a0fb4..b166e17
--- a/actions/account-actions/delete-database.js
+++ b/actions/account-actions/delete-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.
+
 /**
  * Delete database from Cloudant account:
  * https://docs.cloudant.com/database.html#deleting-a-database
diff --git a/actions/account-actions/list-all-databases.js b/actions/account-actions/list-all-databases.js
old mode 100755
new mode 100644
index 3f0b19c..4b0350c
--- a/actions/account-actions/list-all-databases.js
+++ b/actions/account-actions/list-all-databases.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.
+
 /**
  * Get all databases in Cloudant account:
  * https://docs.cloudant.com/database.html#get-databases
diff --git a/actions/account-actions/read-database.js b/actions/account-actions/read-database.js
old mode 100755
new mode 100644
index fb8cd48..fe61715
--- a/actions/account-actions/read-database.js
+++ b/actions/account-actions/read-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.
+
 /**
  * Read database in Cloudant account:
  * https://docs.cloudant.com/database.html#read
diff --git a/actions/account-actions/read-updates-feed.js b/actions/account-actions/read-updates-feed.js
old mode 100755
new mode 100644
index e7f48f7..00438c7
--- a/actions/account-actions/read-updates-feed.js
+++ b/actions/account-actions/read-updates-feed.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.
+
 /**
  * Read updates feed from Cloudant database:
  * https://docs.cloudant.com/advanced.html#get-/_db_updates
diff --git a/actions/database-actions/create-document.js b/actions/database-actions/create-document.js
old mode 100755
new mode 100644
index 92aafd5..e672996
--- a/actions/database-actions/create-document.js
+++ b/actions/database-actions/create-document.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.
+
 /**
  * Create a document in Cloudant database:
  * https://docs.cloudant.com/document.html#documentCreate
diff --git a/actions/database-actions/create-query-index.js b/actions/database-actions/create-query-index.js
old mode 100755
new mode 100644
index cda3e4e..58f5068
--- a/actions/database-actions/create-query-index.js
+++ b/actions/database-actions/create-query-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.
+
 /**
  * Create a Cloudant index:
  * https://docs.cloudant.com/cloudant_query.html#creating-an-index
diff --git a/actions/database-actions/create-update-attachment.js b/actions/database-actions/create-update-attachment.js
old mode 100755
new mode 100644
index 54e0ff6..2e80a91
--- a/actions/database-actions/create-update-attachment.js
+++ b/actions/database-actions/create-update-attachment.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.
+
 /**
  * Create and update attachment for document in Cloudant database:
  * https://docs.cloudant.com/attachments.html#create-/-update
diff --git a/actions/database-actions/delete-attachment.js b/actions/database-actions/delete-attachment.js
old mode 100755
new mode 100644
index 767b22c..afa3f1f
--- a/actions/database-actions/delete-attachment.js
+++ b/actions/database-actions/delete-attachment.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.
+
 /**
  * Delete attachment for document in Cloudant database:
  * https://docs.cloudant.com/attachments.html#delete
diff --git a/actions/database-actions/delete-document.js b/actions/database-actions/delete-document.js
old mode 100755
new mode 100644
index 1204b3f..8f5a242
--- a/actions/database-actions/delete-document.js
+++ b/actions/database-actions/delete-document.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.
+
 /**
  * Delete a document from Cloudant database:
  * https://docs.cloudant.com/document.html#delete
diff --git a/actions/database-actions/delete-query-index.js b/actions/database-actions/delete-query-index.js
old mode 100755
new mode 100644
index a03deba..5f0b7db
--- a/actions/database-actions/delete-query-index.js
+++ b/actions/database-actions/delete-query-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.
+
 /**
  * Delete a Cloudant index:
  * https://docs.cloudant.com/cloudant_query.html#deleting-an-index
diff --git a/actions/database-actions/delete-view.js b/actions/database-actions/delete-view.js
old mode 100755
new mode 100644
index 5a5b387..5696f48
--- a/actions/database-actions/delete-view.js
+++ b/actions/database-actions/delete-view.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.
+
 /**
  * Delete a view from design document in Cloudant database:
  * https://docs.cloudant.com/design_documents.html
diff --git a/actions/database-actions/exec-query-find.js b/actions/database-actions/exec-query-find.js
old mode 100755
new mode 100644
index 8038bd0..3b8c183
--- a/actions/database-actions/exec-query-find.js
+++ b/actions/database-actions/exec-query-find.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.
+
 /**
  * Query using a Cloudant Query index:
  * https://docs.cloudant.com/cloudant_query.html#finding-documents-using-an-index
diff --git a/actions/database-actions/exec-query-search.js b/actions/database-actions/exec-query-search.js
old mode 100755
new mode 100644
index ce9cea0..5a4591b
--- a/actions/database-actions/exec-query-search.js
+++ b/actions/database-actions/exec-query-search.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.
+
 /**
  * Query with Cloudant search:
  * https://docs.cloudant.com/search.html#queries
diff --git a/actions/database-actions/exec-query-view.js b/actions/database-actions/exec-query-view.js
old mode 100755
new mode 100644
index f719310..a9f6dc6
--- a/actions/database-actions/exec-query-view.js
+++ b/actions/database-actions/exec-query-view.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.
+
 /**
  * Execute view against Cloudant database:
  * https://docs.cloudant.com/creating_views.html#using-views
diff --git a/actions/database-actions/list-design-documents.js b/actions/database-actions/list-design-documents.js
old mode 100755
new mode 100644
index c5a2741..98b3d84
--- a/actions/database-actions/list-design-documents.js
+++ b/actions/database-actions/list-design-documents.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.
+
 /**
  * List design documents in Cloudant database:
  * https://docs.cloudant.com/design_documents.html
diff --git a/actions/database-actions/list-documents.js b/actions/database-actions/list-documents.js
old mode 100755
new mode 100644
index 6f7401b..36eef6a
--- a/actions/database-actions/list-documents.js
+++ b/actions/database-actions/list-documents.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.
+
 /**
  * Get all documents in Cloudant database:
  * https://docs.cloudant.com/database.html#get-documents
diff --git a/actions/database-actions/list-query-indexes.js b/actions/database-actions/list-query-indexes.js
old mode 100755
new mode 100644
index d3ee9cf..84bdb04
--- a/actions/database-actions/list-query-indexes.js
+++ b/actions/database-actions/list-query-indexes.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.
+
 /**
  * List Cloudant Query indexes in Cloudant database:
  * https://docs.cloudant.com/cloudant_query.html#list-all-cloudant-query-indexes
diff --git a/actions/database-actions/manage-bulk-documents.js b/actions/database-actions/manage-bulk-documents.js
old mode 100755
new mode 100644
index 42e1aa9..d5c1d97
--- a/actions/database-actions/manage-bulk-documents.js
+++ b/actions/database-actions/manage-bulk-documents.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.
+
 /**
  * Create, Update, and Delete documents in bulk:
  * https://docs.cloudant.com/document.html#bulk-operations
diff --git a/actions/database-actions/read-attachment.js b/actions/database-actions/read-attachment.js
old mode 100755
new mode 100644
index f831e4d..ec5ffef
--- a/actions/database-actions/read-attachment.js
+++ b/actions/database-actions/read-attachment.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.
+
 /**
  * Read attachment for document in Cloudant database:
  * https://docs.cloudant.com/attachments.html#read
diff --git a/actions/database-actions/read-changes-feed.js b/actions/database-actions/read-changes-feed.js
old mode 100755
new mode 100644
index c28bad0..0930e5c
--- a/actions/database-actions/read-changes-feed.js
+++ b/actions/database-actions/read-changes-feed.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.
+
 /**
  * Read changes feed from Cloudant database:
  * https://docs.cloudant.com/database.html#get-changes
diff --git a/actions/database-actions/read-document.js b/actions/database-actions/read-document.js
old mode 100755
new mode 100644
index 00e8ff9..b083940
--- a/actions/database-actions/read-document.js
+++ b/actions/database-actions/read-document.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.
+
 /**
  * Read a document in Cloudant database:
  * https://docs.cloudant.com/document.html#read
diff --git a/actions/database-actions/update-document.js b/actions/database-actions/update-document.js
old mode 100755
new mode 100644
index 7d00783..0f97071
--- a/actions/database-actions/update-document.js
+++ b/actions/database-actions/update-document.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.
+
 /**
  * Update a document in Cloudant database:
  * https://docs.cloudant.com/document.html#update
diff --git a/actions/database-actions/write-document.js b/actions/database-actions/write-document.js
old mode 100755
new mode 100644
index 2db401c..6e72476
--- a/actions/database-actions/write-document.js
+++ b/actions/database-actions/write-document.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(message) {
 
     var cloudantOrError = getCloudantAccount(message);
diff --git a/actions/event-actions/changes.js b/actions/event-actions/changes.js
index ddeffb5..966f1cb 100644
--- a/actions/event-actions/changes.js
+++ b/actions/event-actions/changes.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');
 
 function main(msg) {
diff --git a/actions/event-actions/changesWebAction.js b/actions/event-actions/changesWebAction.js
index 1e171ea..a3989f7 100644
--- a/actions/event-actions/changesWebAction.js
+++ b/actions/event-actions/changesWebAction.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 moment = require('moment');
 const common = require('./lib/common');
 const Database = require('./lib/Database');
diff --git a/actions/event-actions/lib/Database.js b/actions/event-actions/lib/Database.js
index 9bc180d..4940286 100644
--- a/actions/event-actions/lib/Database.js
+++ b/actions/event-actions/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.
+
 const common = require('./common');
 
 // constructor for DB object - a thin, promise-loving wrapper around nano
diff --git a/actions/event-actions/lib/common.js b/actions/event-actions/lib/common.js
index f02dc18..4db1029 100644
--- a/actions/event-actions/lib/common.js
+++ b/actions/event-actions/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');
 const openwhisk = require('openwhisk');
 const config = require('./config');
diff --git a/actions/event-actions/lib/config.js b/actions/event-actions/lib/config.js
index 550f42a..0b58bed 100644
--- a/actions/event-actions/lib/config.js
+++ b/actions/event-actions/lib/config.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 getOpenWhiskConfig(triggerData) {
     return {ignore_certs: true, namespace: triggerData.namespace, api_key: triggerData.apikey};
 }
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 7787ec7..526a728 100755
--- a/installCatalog.sh
+++ b/installCatalog.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.
+
 #
 # use the command line interface to install standard actions deployed
 # automatically
@@ -263,4 +267,4 @@
         -p docid '' \
         -p docrev '' \
         -p attachmentname ''
-fi
\ No newline at end of file
+fi
diff --git a/provider/Logger.js b/provider/Logger.js
index eba1d09..9be1ec4 100644
--- a/provider/Logger.js
+++ b/provider/Logger.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 _ = require('lodash');
 var moment = require('moment');
 var winston = require('winston');
diff --git a/provider/app.js b/provider/app.js
index 2488931..4f86f4a 100644
--- a/provider/app.js
+++ b/provider/app.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';
 /**
  * Service which can be configured to listen for triggers from a provider.
diff --git a/provider/lib/active.js b/provider/lib/active.js
index 980473b..070f7c9 100644
--- a/provider/lib/active.js
+++ b/provider/lib/active.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.
+
 module.exports = function(logger, utils) {
 
     // Active Endpoint
diff --git a/provider/lib/authHandler.js b/provider/lib/authHandler.js
index 5c6be15..902c9d9 100644
--- a/provider/lib/authHandler.js
+++ b/provider/lib/authHandler.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 handleAuth(triggerData, options) {
 
     var auth = triggerData.apikey.split(':');
diff --git a/provider/lib/constants.js b/provider/lib/constants.js
index 305f1c7..1924df9 100644
--- a/provider/lib/constants.js
+++ b/provider/lib/constants.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 TRIGGER_DB_SUFFIX = 'cloudanttrigger';
 const DEFAULT_MAX_TRIGGERS = -1;
 const RETRY_ATTEMPTS = 12;
diff --git a/provider/lib/health.js b/provider/lib/health.js
index f329ba9..fa972f3 100644
--- a/provider/lib/health.js
+++ b/provider/lib/health.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 si = require('systeminformation');
 var v8 = require('v8');
 var _ = require('lodash');
diff --git a/provider/lib/ras.js b/provider/lib/ras.js
index 2b7d352..d3113c6 100644
--- a/provider/lib/ras.js
+++ b/provider/lib/ras.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.
+
 module.exports = function() {
 
   // Test Endpoint
diff --git a/provider/lib/utils.js b/provider/lib/utils.js
index 26b62b7..2f4fa41 100644
--- a/provider/lib/utils.js
+++ b/provider/lib/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.
+
 var request = require('request');
 var HttpStatus = require('http-status-codes');
 var constants = require('./constants.js');
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index fe7a4ec..e1dabe1 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.
@@ -13,4 +17,4 @@
 
 # run jshint
 cd $ROOTDIR
-jshint --exclude tests .
\ No newline at end of file
+jshint --exclude tests .
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 b0bab04..1d2298c 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"