You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mr...@apache.org on 2018/05/02 14:49:00 UTC

[incubator-openwhisk] branch master updated: add short licnese header to test data files (#3596)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 056c118  add short licnese header to test data files (#3596)
056c118 is described below

commit 056c118ec244d997622adbd2d93a79e51678ff2e
Author: Ying Chun Guo <gu...@cn.ibm.com>
AuthorDate: Wed May 2 22:48:56 2018 +0800

    add short licnese header to test data files (#3596)
---
 tests/dat/actions/applicationError.js      | 3 +++
 tests/dat/actions/argCheck.js              | 3 +++
 tests/dat/actions/asyncError.js            | 3 +++
 tests/dat/actions/base64Web.js             | 3 +++
 tests/dat/actions/cat.js                   | 5 +++--
 tests/dat/actions/conductor.js             | 3 +++
 tests/dat/actions/corsHeaderMod.js         | 3 +++
 tests/dat/actions/countdown.js             | 3 +++
 tests/dat/actions/createRule.swift         | 3 +++
 tests/dat/actions/createTrigger.swift      | 3 +++
 tests/dat/actions/dosLogs.js               | 3 +++
 tests/dat/actions/echo-web-http.js         | 4 +++-
 tests/dat/actions/echo.js                  | 3 +++
 tests/dat/actions/emptyJSONResult.js       | 3 +++
 tests/dat/actions/head.js                  | 5 +++--
 tests/dat/actions/hello.js                 | 3 +++
 tests/dat/actions/hello.swift              | 3 +++
 tests/dat/actions/helloAsync.js            | 3 +++
 tests/dat/actions/helloContext.js          | 3 +++
 tests/dat/actions/helloDeadline.js         | 3 +++
 tests/dat/actions/helloOpenwhiskPackage.js | 3 +++
 tests/dat/actions/helloPromise.js          | 3 +++
 tests/dat/actions/httpGet.swift            | 3 +++
 tests/dat/actions/initexit.js              | 3 +++
 tests/dat/actions/initforever.js           | 3 +++
 tests/dat/actions/invoke.swift             | 3 +++
 tests/dat/actions/invokeNonBlocking.swift  | 3 +++
 tests/dat/actions/issue-1562.js            | 3 +++
 tests/dat/actions/log.js                   | 3 +++
 tests/dat/actions/malformed.js             | 3 +++
 tests/dat/actions/malformed.py             | 3 +++
 tests/dat/actions/memoryWithGC.js          | 3 +++
 tests/dat/actions/multipleHeaders.js       | 3 +++
 tests/dat/actions/niam.js                  | 3 +++
 tests/dat/actions/niam.py                  | 3 +++
 tests/dat/actions/niam.swift               | 3 +++
 tests/dat/actions/openFiles.js             | 3 +++
 tests/dat/actions/ping.js                  | 3 +++
 tests/dat/actions/pngWeb.js                | 3 +++
 tests/dat/actions/printParams.js           | 3 +++
 tests/dat/actions/python-zip/__main__.py   | 3 +++
 tests/dat/actions/python-zip/greet.py      | 3 +++
 tests/dat/actions/runexit.js               | 3 +++
 tests/dat/actions/sizedResult.js           | 3 +++
 tests/dat/actions/sleep.js                 | 3 +++
 tests/dat/actions/sleep.py                 | 3 +++
 tests/dat/actions/sort.js                  | 4 +++-
 tests/dat/actions/split.js                 | 3 +++
 tests/dat/actions/stdenv.py                | 3 +++
 tests/dat/actions/step.js                  | 3 +++
 tests/dat/actions/textBody.js              | 3 +++
 tests/dat/actions/trigger.swift            | 3 +++
 tests/dat/actions/unicode.js               | 3 +++
 tests/dat/actions/unicode.swift            | 6 ++++--
 tests/dat/actions/unicode2.py              | 3 +++
 tests/dat/actions/unicode3.py              | 3 +++
 tests/dat/actions/wc.js                    | 3 +++
 tests/dat/actions/wcbin.js                 | 3 +++
 tests/dat/apigw/local.api.bad.yaml         | 4 +++-
 tests/dat/apigw/local.api.yaml             | 4 +++-
 tests/dat/blackbox/badaction/Dockerfile    | 5 ++++-
 tests/dat/blackbox/badproxy/Dockerfile     | 5 ++++-
 62 files changed, 189 insertions(+), 12 deletions(-)

diff --git a/tests/dat/actions/applicationError.js b/tests/dat/actions/applicationError.js
index bc8a39d..911833c 100644
--- a/tests/dat/actions/applicationError.js
+++ b/tests/dat/actions/applicationError.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(args) {
     return { error: "This error thrown on purpose by the action."};
 }
diff --git a/tests/dat/actions/argCheck.js b/tests/dat/actions/argCheck.js
index 3220bfd6..314e9a5 100644
--- a/tests/dat/actions/argCheck.js
+++ b/tests/dat/actions/argCheck.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(params) {
     return {payload: params.payload};
 }
diff --git a/tests/dat/actions/asyncError.js b/tests/dat/actions/asyncError.js
index 44686d7..577654d 100644
--- a/tests/dat/actions/asyncError.js
+++ b/tests/dat/actions/asyncError.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(params) {
     return Promise.reject({msg: 'failed activation on purpose'});
 }
diff --git a/tests/dat/actions/base64Web.js b/tests/dat/actions/base64Web.js
index 3e4773e..4f945cb 100644
--- a/tests/dat/actions/base64Web.js
+++ b/tests/dat/actions/base64Web.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() {
     return {
         headers: {
diff --git a/tests/dat/actions/cat.js b/tests/dat/actions/cat.js
index 4d73e56..a8b7207 100644
--- a/tests/dat/actions/cat.js
+++ b/tests/dat/actions/cat.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.
+
 /**
  * Equivalent to unix cat command.
  * Return all the lines in an array. All other fields in the input message are stripped.
@@ -9,5 +12,3 @@ function main(msg) {
     console.log('cat: returning ' + JSON.stringify(retn));
     return retn;
 }
-
-
diff --git a/tests/dat/actions/conductor.js b/tests/dat/actions/conductor.js
index 30a7171..01520de 100644
--- a/tests/dat/actions/conductor.js
+++ b/tests/dat/actions/conductor.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.
+
 /**
  * Minimal conductor action.
  */
diff --git a/tests/dat/actions/corsHeaderMod.js b/tests/dat/actions/corsHeaderMod.js
index df9b704..87527f7 100644
--- a/tests/dat/actions/corsHeaderMod.js
+++ b/tests/dat/actions/corsHeaderMod.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() {
     return {
         headers: {
diff --git a/tests/dat/actions/countdown.js b/tests/dat/actions/countdown.js
index 520eb95..0a8f280 100644
--- a/tests/dat/actions/countdown.js
+++ b/tests/dat/actions/countdown.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.
+
 /**
  * An action that invokes itself recursively, programmatically using the whisk
  * Javascript API.
diff --git a/tests/dat/actions/createRule.swift b/tests/dat/actions/createRule.swift
index 67fa062..5e615e1 100644
--- a/tests/dat/actions/createRule.swift
+++ b/tests/dat/actions/createRule.swift
@@ -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.
+
 func main(args: [String:Any]) -> [String:Any] {
   guard let triggerName = args["triggerName"] as? String else {
       return ["error": "You must specify a triggerName parameter!"]
diff --git a/tests/dat/actions/createTrigger.swift b/tests/dat/actions/createTrigger.swift
index 7039ac4..3a4b7b9 100644
--- a/tests/dat/actions/createTrigger.swift
+++ b/tests/dat/actions/createTrigger.swift
@@ -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.
+
 func main(args: [String:Any]) -> [String:Any] {
  guard let triggerName = args["triggerName"] as? String else {
     return ["error": "You must specify a triggerName parameter!"]
diff --git a/tests/dat/actions/dosLogs.js b/tests/dat/actions/dosLogs.js
index b069bcf..49503c0 100644
--- a/tests/dat/actions/dosLogs.js
+++ b/tests/dat/actions/dosLogs.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(msg) {
     // Each log line with 16 characters (new line character counts)
     var lines = msg.payload / 16 || 1;
diff --git a/tests/dat/actions/echo-web-http.js b/tests/dat/actions/echo-web-http.js
index 1fabbaa..8933dbe 100644
--- a/tests/dat/actions/echo-web-http.js
+++ b/tests/dat/actions/echo-web-http.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(params) {
     var bodyobj = params || {};
     bodystr = JSON.stringify(bodyobj);
@@ -7,4 +10,3 @@ function main(params) {
         body: new Buffer(bodystr).toString('base64')
     };
 }
-
diff --git a/tests/dat/actions/echo.js b/tests/dat/actions/echo.js
index 37df10b..4c0af91 100644
--- a/tests/dat/actions/echo.js
+++ b/tests/dat/actions/echo.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.
+
 /**
  * Returns params, or an empty string if no parameter values are provided
  */
diff --git a/tests/dat/actions/emptyJSONResult.js b/tests/dat/actions/emptyJSONResult.js
index b3ffc0a..d234b20 100644
--- a/tests/dat/actions/emptyJSONResult.js
+++ b/tests/dat/actions/emptyJSONResult.js
@@ -1,2 +1,5 @@
+// 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(params) {
 }
diff --git a/tests/dat/actions/head.js b/tests/dat/actions/head.js
index f6d5487..c70e7f0 100644
--- a/tests/dat/actions/head.js
+++ b/tests/dat/actions/head.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.
+
 /**
  * Return the first num lines of an array.
  * @param lines An array of strings.
@@ -10,5 +13,3 @@ function main(msg) {
     console.log('head get first ' + num + ' lines of ' + lines + ': ' + head);
     return {lines: head, num: num};
 }
-
-
diff --git a/tests/dat/actions/hello.js b/tests/dat/actions/hello.js
index 82b3bcf..18d806c 100644
--- a/tests/dat/actions/hello.js
+++ b/tests/dat/actions/hello.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.
+
 /**
  * Hello, world.
  */
diff --git a/tests/dat/actions/hello.swift b/tests/dat/actions/hello.swift
index 7c903a5..0cc3ca3 100644
--- a/tests/dat/actions/hello.swift
+++ b/tests/dat/actions/hello.swift
@@ -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.
+
 /**
  * Hello world as a Swift Whisk action.
  */
diff --git a/tests/dat/actions/helloAsync.js b/tests/dat/actions/helloAsync.js
index 2c0acdf..28a736b 100644
--- a/tests/dat/actions/helloAsync.js
+++ b/tests/dat/actions/helloAsync.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.
+
 /**
  * word count utility, coded as an asynchronous action for pedagogical
  * purposes
diff --git a/tests/dat/actions/helloContext.js b/tests/dat/actions/helloContext.js
index d4957d9..d218a58 100644
--- a/tests/dat/actions/helloContext.js
+++ b/tests/dat/actions/helloContext.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(args) {
     return {
        "api_host": process.env['__OW_API_HOST'],
diff --git a/tests/dat/actions/helloDeadline.js b/tests/dat/actions/helloDeadline.js
index 8e97307..d4af0e8 100644
--- a/tests/dat/actions/helloDeadline.js
+++ b/tests/dat/actions/helloDeadline.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(args) {
 
     var deadline = process.env['__OW_DEADLINE']
diff --git a/tests/dat/actions/helloOpenwhiskPackage.js b/tests/dat/actions/helloOpenwhiskPackage.js
index 5ecd6c2..81c0e8d 100644
--- a/tests/dat/actions/helloOpenwhiskPackage.js
+++ b/tests/dat/actions/helloOpenwhiskPackage.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 openwhisk = require('openwhisk')
 
 function main(args) {
diff --git a/tests/dat/actions/helloPromise.js b/tests/dat/actions/helloPromise.js
index 36903de..a4477a6 100644
--- a/tests/dat/actions/helloPromise.js
+++ b/tests/dat/actions/helloPromise.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(args) {
     return new Promise(function(resolve, reject) {
         setTimeout(function() {
diff --git a/tests/dat/actions/httpGet.swift b/tests/dat/actions/httpGet.swift
index d1ca609..d028748 100644
--- a/tests/dat/actions/httpGet.swift
+++ b/tests/dat/actions/httpGet.swift
@@ -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.
+
 /**
  * Sample code using the experimental Swift 3 runtime
  * with links to KituraNet and GCD
diff --git a/tests/dat/actions/initexit.js b/tests/dat/actions/initexit.js
index 6cee2e1..4fbc184 100644
--- a/tests/dat/actions/initexit.js
+++ b/tests/dat/actions/initexit.js
@@ -1 +1,4 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor
+// license agreements; and to You under the Apache License, Version 2.0.
+
 process.exit(1);
diff --git a/tests/dat/actions/initforever.js b/tests/dat/actions/initforever.js
index 1fa180e..17a8d11 100644
--- a/tests/dat/actions/initforever.js
+++ b/tests/dat/actions/initforever.js
@@ -1 +1,4 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor
+// license agreements; and to You under the Apache License, Version 2.0.
+
 while (true) {}
diff --git a/tests/dat/actions/invoke.swift b/tests/dat/actions/invoke.swift
index fd32501..d69e90b 100644
--- a/tests/dat/actions/invoke.swift
+++ b/tests/dat/actions/invoke.swift
@@ -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.
+
 import SwiftyJSON
 
 func main(args: [String:Any]) -> [String:Any] {
diff --git a/tests/dat/actions/invokeNonBlocking.swift b/tests/dat/actions/invokeNonBlocking.swift
index a12c165..813bf8c 100644
--- a/tests/dat/actions/invokeNonBlocking.swift
+++ b/tests/dat/actions/invokeNonBlocking.swift
@@ -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.
+
 import SwiftyJSON
 
 func main(args: [String:Any]) -> [String:Any] {
diff --git a/tests/dat/actions/issue-1562.js b/tests/dat/actions/issue-1562.js
index 9064817..4467adc 100644
--- a/tests/dat/actions/issue-1562.js
+++ b/tests/dat/actions/issue-1562.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.
+
 // We expect this action to always result in errored activations.
 function main(args) {
     return new Promise((resolve, reject) => {
diff --git a/tests/dat/actions/log.js b/tests/dat/actions/log.js
index bfbd513..4e54eef 100644
--- a/tests/dat/actions/log.js
+++ b/tests/dat/actions/log.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.
+
 /**
  * Emit strings to stdout/stderr.
  */
diff --git a/tests/dat/actions/malformed.js b/tests/dat/actions/malformed.js
index 587be6b..912dab6 100644
--- a/tests/dat/actions/malformed.js
+++ b/tests/dat/actions/malformed.js
@@ -1 +1,4 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor
+// license agreements; and to You under the Apache License, Version 2.0.
+
 x
diff --git a/tests/dat/actions/malformed.py b/tests/dat/actions/malformed.py
index 6cedc32..41f99df 100644
--- a/tests/dat/actions/malformed.py
+++ b/tests/dat/actions/malformed.py
@@ -1,2 +1,5 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 """Invalid Python comment test."""
 // invalid python comment  # noqa -- tell linters to ignore the intentional syntax error
diff --git a/tests/dat/actions/memoryWithGC.js b/tests/dat/actions/memoryWithGC.js
index fb174a3..35c0a0c 100644
--- a/tests/dat/actions/memoryWithGC.js
+++ b/tests/dat/actions/memoryWithGC.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 eat(memoryMB) {
     var bytes = 1*1024*1024*memoryMB;
     var buffer = new Buffer.alloc(bytes, 'a');
diff --git a/tests/dat/actions/multipleHeaders.js b/tests/dat/actions/multipleHeaders.js
index f19e236..b60bb14 100644
--- a/tests/dat/actions/multipleHeaders.js
+++ b/tests/dat/actions/multipleHeaders.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() {
     return {
         headers: {
diff --git a/tests/dat/actions/niam.js b/tests/dat/actions/niam.js
index 378201d..b8da720 100644
--- a/tests/dat/actions/niam.js
+++ b/tests/dat/actions/niam.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 niam(args) {
     return { 'greetings': 'Hello from a non-standard entrypoint.' };
 }
diff --git a/tests/dat/actions/niam.py b/tests/dat/actions/niam.py
index 30a4945..a21c036 100644
--- a/tests/dat/actions/niam.py
+++ b/tests/dat/actions/niam.py
@@ -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.
+
 """Python Non-standard entry point test."""
 
 
diff --git a/tests/dat/actions/niam.swift b/tests/dat/actions/niam.swift
index c85a34c..13754bc 100644
--- a/tests/dat/actions/niam.swift
+++ b/tests/dat/actions/niam.swift
@@ -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.
+
 /* Swift action with a non-default entry point. */
 func niam(args: [String:Any]) -> [String:Any] {
     return [ "greetings" : "Hello from a non-standard entrypoint." ]
diff --git a/tests/dat/actions/openFiles.js b/tests/dat/actions/openFiles.js
index b2dfdaa..c6c935a 100644
--- a/tests/dat/actions/openFiles.js
+++ b/tests/dat/actions/openFiles.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 fs = require("fs");
 
 function main(params) {
diff --git a/tests/dat/actions/ping.js b/tests/dat/actions/ping.js
index fda3066..2ac1649 100644
--- a/tests/dat/actions/ping.js
+++ b/tests/dat/actions/ping.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(msg) {
     var hostToPing = msg.payload;
     console.log('Pinging to ' + hostToPing);
diff --git a/tests/dat/actions/pngWeb.js b/tests/dat/actions/pngWeb.js
index 3a644b0..7fd31ef 100644
--- a/tests/dat/actions/pngWeb.js
+++ b/tests/dat/actions/pngWeb.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() {
     var png = "iVBORw0KGgoAAAANSUhEUgAAAAoAAAAGCAYAAAD68A/GAAAA/klEQVQYGWNgAAEHBxaG//+ZQMyyn581Pfas+cRQnf1LfF" +
         "Ljf+62smUgcUbt0FA2Zh7drf/ffMy9vLn3RurrW9e5hCU11i2azfD4zu1/DHz8TAy/foUxsXBrFzHzC7r8+M9S1vn1qxQT07" +
diff --git a/tests/dat/actions/printParams.js b/tests/dat/actions/printParams.js
index d150738..942c96d 100644
--- a/tests/dat/actions/printParams.js
+++ b/tests/dat/actions/printParams.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.
+
 /**
  * Print the parameters to the console, sorted alphabetically by key
  */
diff --git a/tests/dat/actions/python-zip/__main__.py b/tests/dat/actions/python-zip/__main__.py
index 1f3399b..b86bb48 100644
--- a/tests/dat/actions/python-zip/__main__.py
+++ b/tests/dat/actions/python-zip/__main__.py
@@ -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.
+
 from greet import greet
 
 def niam(args):
diff --git a/tests/dat/actions/python-zip/greet.py b/tests/dat/actions/python-zip/greet.py
index 14b0960..ae5cf60 100644
--- a/tests/dat/actions/python-zip/greet.py
+++ b/tests/dat/actions/python-zip/greet.py
@@ -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.
+
 def greet(dict):
     if 'name' in dict:
         name = dict['name']
diff --git a/tests/dat/actions/runexit.js b/tests/dat/actions/runexit.js
index 78fbdd9..ff36e72 100644
--- a/tests/dat/actions/runexit.js
+++ b/tests/dat/actions/runexit.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() {
     process.exit(1);
 }
diff --git a/tests/dat/actions/sizedResult.js b/tests/dat/actions/sizedResult.js
index 53310a5..7a50fb2 100644
--- a/tests/dat/actions/sizedResult.js
+++ b/tests/dat/actions/sizedResult.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(args) {
     let str = new Array(args.size).join(args.char)
     return {
diff --git a/tests/dat/actions/sleep.js b/tests/dat/actions/sleep.js
index c6c2e17..c1978a5 100644
--- a/tests/dat/actions/sleep.js
+++ b/tests/dat/actions/sleep.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.
+
 /**
  * Node.js based OpenWhisk action that sleeps for the specified number
  * of milliseconds before returning. Uses a timer instead of a busy loop.
diff --git a/tests/dat/actions/sleep.py b/tests/dat/actions/sleep.py
index c8b05db..362374c 100644
--- a/tests/dat/actions/sleep.py
+++ b/tests/dat/actions/sleep.py
@@ -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.
+
 #
 # Python based OpenWhisk action that sleeps for the specified number
 # of milliseconds before returning.
diff --git a/tests/dat/actions/sort.js b/tests/dat/actions/sort.js
index 2017bcf..c004a74 100644
--- a/tests/dat/actions/sort.js
+++ b/tests/dat/actions/sort.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.
+
 /**
  * Sort a set of lines.
  * @param lines An array of strings to sort.
@@ -11,4 +14,3 @@ function main(msg) {
     console.log('sort after: ' + lines);
     return {lines: lines, length: lines.length};
 }
-
diff --git a/tests/dat/actions/split.js b/tests/dat/actions/split.js
index 43d36bc..1c16519 100644
--- a/tests/dat/actions/split.js
+++ b/tests/dat/actions/split.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.
+
 /**
  * Splits a string into an array of strings
  * Return lines in an array.
diff --git a/tests/dat/actions/stdenv.py b/tests/dat/actions/stdenv.py
index fa39dfd..21cad50 100644
--- a/tests/dat/actions/stdenv.py
+++ b/tests/dat/actions/stdenv.py
@@ -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.
+
 """Unify action container environments."""
 import os
 
diff --git a/tests/dat/actions/step.js b/tests/dat/actions/step.js
index 58c7da0..afc039b 100644
--- a/tests/dat/actions/step.js
+++ b/tests/dat/actions/step.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.
+
 /**
  * Increment action.
  */
diff --git a/tests/dat/actions/textBody.js b/tests/dat/actions/textBody.js
index caf45d0..6b75376 100644
--- a/tests/dat/actions/textBody.js
+++ b/tests/dat/actions/textBody.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() {
   return {
     headers: {
diff --git a/tests/dat/actions/trigger.swift b/tests/dat/actions/trigger.swift
index 2acf54e..62bf072 100644
--- a/tests/dat/actions/trigger.swift
+++ b/tests/dat/actions/trigger.swift
@@ -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.
+
 func main(args: [String:Any]) -> [String:Any] {
   if let triggerName = args["triggerName"] as? String {
     print("Trigger Name: \(triggerName)")
diff --git a/tests/dat/actions/unicode.js b/tests/dat/actions/unicode.js
index 2adabb7..4db30ea 100644
--- a/tests/dat/actions/unicode.js
+++ b/tests/dat/actions/unicode.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(args) {
     var str = args.delimiter + " ☃ " + args.delimiter;
     console.log(str);
diff --git a/tests/dat/actions/unicode.swift b/tests/dat/actions/unicode.swift
index 8bcb88b..756d9cd 100644
--- a/tests/dat/actions/unicode.swift
+++ b/tests/dat/actions/unicode.swift
@@ -1,4 +1,6 @@
-//  Copyright ©
+// Licensed to the Apache Software Foundation (ASF) under one or more contributor
+// license agreements; and to You under the Apache License, Version 2.0.
+
 func main(args: [String:Any]) -> [String:Any] {
     if let str = args["delimiter"] as? String {
         let msg = "\(str) ☃ \(str)"
@@ -7,4 +9,4 @@ func main(args: [String:Any]) -> [String:Any] {
     } else {
         return [ "error" : "no delimiter" ]
     }
-}
\ No newline at end of file
+}
diff --git a/tests/dat/actions/unicode2.py b/tests/dat/actions/unicode2.py
index 8abcd55..4a83cf7 100644
--- a/tests/dat/actions/unicode2.py
+++ b/tests/dat/actions/unicode2.py
@@ -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.
+
 """Python 2 Unicode test."""
 
 
diff --git a/tests/dat/actions/unicode3.py b/tests/dat/actions/unicode3.py
index ca42f5a..58399de 100644
--- a/tests/dat/actions/unicode3.py
+++ b/tests/dat/actions/unicode3.py
@@ -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.
+
 """Python 3 Unicode test."""
 
 
diff --git a/tests/dat/actions/wc.js b/tests/dat/actions/wc.js
index 842fc61..5d88dc5 100644
--- a/tests/dat/actions/wc.js
+++ b/tests/dat/actions/wc.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.
+
 /**
  *  word count utility
  */
diff --git a/tests/dat/actions/wcbin.js b/tests/dat/actions/wcbin.js
index 6b47b6b..a9f3e45 100644
--- a/tests/dat/actions/wcbin.js
+++ b/tests/dat/actions/wcbin.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.
+
 /**
  * Return word count as a binary number. This demonstrates the use of a blocking
  * invoke.
diff --git a/tests/dat/apigw/local.api.bad.yaml b/tests/dat/apigw/local.api.bad.yaml
index 35a49e7..3301965 100644
--- a/tests/dat/apigw/local.api.bad.yaml
+++ b/tests/dat/apigw/local.api.bad.yaml
@@ -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.
+
 some bad yaml in
 these []]]
 lines:
@@ -32,4 +35,3 @@ x-ibm-configuration:
           - get_/rp
   cors:
     enabled: true
-
diff --git a/tests/dat/apigw/local.api.yaml b/tests/dat/apigw/local.api.yaml
index 6a1a2b2..df59c65 100644
--- a/tests/dat/apigw/local.api.yaml
+++ b/tests/dat/apigw/local.api.yaml
@@ -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.
+
 basePath: /bp
 info:
   title: /bp
@@ -28,4 +31,3 @@ x-ibm-configuration:
           - get_/rp
   cors:
     enabled: true
-
diff --git a/tests/dat/blackbox/badaction/Dockerfile b/tests/dat/blackbox/badaction/Dockerfile
index f342e3d..bc0095b 100644
--- a/tests/dat/blackbox/badaction/Dockerfile
+++ b/tests/dat/blackbox/badaction/Dockerfile
@@ -1,6 +1,9 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # Dockerfile for example whisk docker action
 FROM dockerskeleton
- 
+
 ENV FLASK_PROXY_PORT 8080
 
 ADD runner.py /actionProxy/
diff --git a/tests/dat/blackbox/badproxy/Dockerfile b/tests/dat/blackbox/badproxy/Dockerfile
index f483a2c..af0c526 100644
--- a/tests/dat/blackbox/badproxy/Dockerfile
+++ b/tests/dat/blackbox/badproxy/Dockerfile
@@ -1,6 +1,9 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more contributor
+# license agreements; and to You under the Apache License, Version 2.0.
+
 # Dockerfile for example whisk docker action
 FROM dockerskeleton
- 
+
 ENV FLASK_PROXY_PORT 8080
 
 CMD ["/bin/bash", "-c", "tail -f /dev/null"]

-- 
To stop receiving notification emails like this one, please contact
mrutkowski@apache.org.