aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-10-18 10:57:19 -0700
committerVictor Morales <victor.morales@intel.com>2018-10-18 10:57:23 -0700
commita18ffae615a8f1774de6b4efb615dfe861b79343 (patch)
treeabd6ce1952f2b98fec7f63fbecac06674ad7f05c
parent0d41bc49d18ebf126faa9a709dbe59b2bccc8ee1 (diff)
Add license headers
Change-Id: Ie361141e2c70ad515fcf3d57621c8801fc80095a Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-478
-rwxr-xr-xlib/_commons8
-rwxr-xr-xlib/_composed_functions8
-rwxr-xr-xlib/_installers8
-rwxr-xr-xlib/_onap_functions8
-rwxr-xr-xlib/aai9
-rwxr-xr-xlib/appc8
-rwxr-xr-xlib/ccsdk8
-rwxr-xr-xlib/config/env-vars8
-rwxr-xr-xlib/dcae8
-rwxr-xr-xlib/dmaap8
-rw-r--r--lib/files/aio_inventory.cfg9
-rw-r--r--lib/files/all-in-one9
-rwxr-xr-xlib/functions8
-rwxr-xr-xlib/integration8
-rwxr-xr-xlib/mr8
-rwxr-xr-xlib/msb8
-rwxr-xr-xlib/multicloud8
-rwxr-xr-xlib/oom8
-rwxr-xr-xlib/openstack8
-rwxr-xr-xlib/policy8
-rwxr-xr-xlib/portal8
-rwxr-xr-xlib/robot8
-rwxr-xr-xlib/sdc8
-rwxr-xr-xlib/sdnc8
-rwxr-xr-xlib/vfc8
-rwxr-xr-xlib/vid8
-rwxr-xr-xlib/vnfsdk8
-rwxr-xr-xlib/vvp8
-rwxr-xr-xtests/_test_base8
-rwxr-xr-xtests/asserts8
-rwxr-xr-xtests/test_aai8
-rwxr-xr-xtests/test_appc8
-rwxr-xr-xtests/test_ccsdk8
-rwxr-xr-xtests/test_dcae8
-rwxr-xr-xtests/test_dmaap8
-rwxr-xr-xtests/test_integration8
-rwxr-xr-xtests/test_mr8
-rwxr-xr-xtests/test_msb8
-rwxr-xr-xtests/test_mso8
-rwxr-xr-xtests/test_multicloud8
-rwxr-xr-xtests/test_policy8
-rwxr-xr-xtests/test_portal8
-rwxr-xr-xtests/test_robot8
-rwxr-xr-xtests/test_sdc8
-rwxr-xr-xtests/test_sdnc8
-rwxr-xr-xtests/test_vfc8
-rwxr-xr-xtests/test_vid8
-rwxr-xr-xtests/test_vnfsdk8
-rwxr-xr-xtests/test_vvp8
-rwxr-xr-xtools/run.sh8
50 files changed, 402 insertions, 1 deletions
diff --git a/lib/_commons b/lib/_commons
index 90f73d2..d433b46 100755
--- a/lib/_commons
+++ b/lib/_commons
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
# update_repos() - Function that updates linux repositories
function update_repos {
diff --git a/lib/_composed_functions b/lib/_composed_functions
index 9f2d0a1..71268c8 100755
--- a/lib/_composed_functions
+++ b/lib/_composed_functions
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
# build_docker_image() - Build Docker container image from source code
function build_docker_image {
diff --git a/lib/_installers b/lib/_installers
index 3273f8c..52dc20b 100755
--- a/lib/_installers
+++ b/lib/_installers
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/_commons
source /var/onap/_onap_functions
diff --git a/lib/_onap_functions b/lib/_onap_functions
index c5ee7fc..07dc637 100755
--- a/lib/_onap_functions
+++ b/lib/_onap_functions
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
# create_configuration_files() - Store credentials in files
function create_configuration_files {
diff --git a/lib/aai b/lib/aai
index 3ad4adb..e993dac 100755
--- a/lib/aai
+++ b/lib/aai
@@ -1,8 +1,15 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
-
# compile_aai_repos() - Function that compiles AAI source repo.
function compile_aai_repos {
local repos="aai/aai-common aai/resources aai/logging-service aai/traversal"
diff --git a/lib/appc b/lib/appc
index 4f6e037..3eeb705 100755
--- a/lib/appc
+++ b/lib/appc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/sdnc
source /var/onap/functions
diff --git a/lib/ccsdk b/lib/ccsdk
index 93ee0c8..0dc708b 100755
--- a/lib/ccsdk
+++ b/lib/ccsdk
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/config/env-vars b/lib/config/env-vars
index a3a4c33..2cd766f 100755
--- a/lib/config/env-vars
+++ b/lib/config/env-vars
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
# URL repository
git_url="https://git.onap.org/"
diff --git a/lib/dcae b/lib/dcae
index 93b2ac8..9af6036 100755
--- a/lib/dcae
+++ b/lib/dcae
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/dmaap b/lib/dmaap
index cd2e244..3462a8f 100755
--- a/lib/dmaap
+++ b/lib/dmaap
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/files/aio_inventory.cfg b/lib/files/aio_inventory.cfg
index d7ab09b..4aa655d 100644
--- a/lib/files/aio_inventory.cfg
+++ b/lib/files/aio_inventory.cfg
@@ -1,3 +1,12 @@
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
+
[all]
localhost ansible_connection=local
diff --git a/lib/files/all-in-one b/lib/files/all-in-one
index efdb2bf..60a8efa 100644
--- a/lib/files/all-in-one
+++ b/lib/files/all-in-one
@@ -1,3 +1,12 @@
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
+
# These initial groups are the only groups required to be modified. The
# additional groups are for more control of the environment.
[control]
diff --git a/lib/functions b/lib/functions
index 198074b..e3354fc 100755
--- a/lib/functions
+++ b/lib/functions
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/_commons
source /var/onap/config/env-vars
diff --git a/lib/integration b/lib/integration
index 3f106ab..42e49c3 100755
--- a/lib/integration
+++ b/lib/integration
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/mr b/lib/mr
index bba7486..0e280ec 100755
--- a/lib/mr
+++ b/lib/mr
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/msb b/lib/msb
index bcf27fe..e406e2d 100755
--- a/lib/msb
+++ b/lib/msb
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/multicloud b/lib/multicloud
index ff6f970..337acdd 100755
--- a/lib/multicloud
+++ b/lib/multicloud
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/oom b/lib/oom
index fb2d594..8e5dab3 100755
--- a/lib/oom
+++ b/lib/oom
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/openstack b/lib/openstack
index 53e474d..c698138 100755
--- a/lib/openstack
+++ b/lib/openstack
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/policy b/lib/policy
index 57add71..9d665a8 100755
--- a/lib/policy
+++ b/lib/policy
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/portal b/lib/portal
index 0d59dab..c921b49 100755
--- a/lib/portal
+++ b/lib/portal
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/robot b/lib/robot
index c00bb60..c7088e7 100755
--- a/lib/robot
+++ b/lib/robot
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/sdc b/lib/sdc
index 71a5fea..2352e1e 100755
--- a/lib/sdc
+++ b/lib/sdc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/sdnc b/lib/sdnc
index 3d1d592..e3397bc 100755
--- a/lib/sdnc
+++ b/lib/sdnc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
source /var/onap/ccsdk
diff --git a/lib/vfc b/lib/vfc
index 64f7df0..0fd818e 100755
--- a/lib/vfc
+++ b/lib/vfc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/vid b/lib/vid
index 331dc2b..cbfa02d 100755
--- a/lib/vid
+++ b/lib/vid
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/vnfsdk b/lib/vnfsdk
index ea7fa33..f1a9856 100755
--- a/lib/vnfsdk
+++ b/lib/vnfsdk
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/lib/vvp b/lib/vvp
index f24431e..efa5cda 100755
--- a/lib/vvp
+++ b/lib/vvp
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/functions
diff --git a/tests/_test_base b/tests/_test_base
index b30632d..59b80a5 100755
--- a/tests/_test_base
+++ b/tests/_test_base
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
if [[ "$debug" == "True" ]]; then
set -o xtrace
diff --git a/tests/asserts b/tests/asserts
index 441b9f0..37c0f79 100755
--- a/tests/asserts
+++ b/tests/asserts
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap/commons
diff --git a/tests/test_aai b/tests/test_aai
index dd027d2..d403f9b 100755
--- a/tests/test_aai
+++ b/tests/test_aai
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/aai
diff --git a/tests/test_appc b/tests/test_appc
index f567d7f..5d76e21 100755
--- a/tests/test_appc
+++ b/tests/test_appc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/appc
diff --git a/tests/test_ccsdk b/tests/test_ccsdk
index 28de270..da374b4 100755
--- a/tests/test_ccsdk
+++ b/tests/test_ccsdk
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/ccsdk
diff --git a/tests/test_dcae b/tests/test_dcae
index 3c5400f..2e75ede 100755
--- a/tests/test_dcae
+++ b/tests/test_dcae
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/dcae
diff --git a/tests/test_dmaap b/tests/test_dmaap
index 22cb4b7..f0d612e 100755
--- a/tests/test_dmaap
+++ b/tests/test_dmaap
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/dmaap
diff --git a/tests/test_integration b/tests/test_integration
index 7032788..5ab23a7 100755
--- a/tests/test_integration
+++ b/tests/test_integration
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/integration
diff --git a/tests/test_mr b/tests/test_mr
index ad1bcd2..e433934 100755
--- a/tests/test_mr
+++ b/tests/test_mr
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/mr
diff --git a/tests/test_msb b/tests/test_msb
index 0848d33..1a8fbe8 100755
--- a/tests/test_msb
+++ b/tests/test_msb
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/msb
diff --git a/tests/test_mso b/tests/test_mso
index 6a6bef7..8d05520 100755
--- a/tests/test_mso
+++ b/tests/test_mso
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/mso
diff --git a/tests/test_multicloud b/tests/test_multicloud
index 1b5b85d..2a17406 100755
--- a/tests/test_multicloud
+++ b/tests/test_multicloud
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/multicloud
diff --git a/tests/test_policy b/tests/test_policy
index b666cf9..889d8e8 100755
--- a/tests/test_policy
+++ b/tests/test_policy
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/policy
diff --git a/tests/test_portal b/tests/test_portal
index d20f173..8bf9383 100755
--- a/tests/test_portal
+++ b/tests/test_portal
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/portal
diff --git a/tests/test_robot b/tests/test_robot
index 165755c..f05523e 100755
--- a/tests/test_robot
+++ b/tests/test_robot
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/robot
diff --git a/tests/test_sdc b/tests/test_sdc
index 6765780..a708963 100755
--- a/tests/test_sdc
+++ b/tests/test_sdc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/sdc
diff --git a/tests/test_sdnc b/tests/test_sdnc
index c4ddc56..685bebd 100755
--- a/tests/test_sdnc
+++ b/tests/test_sdnc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/sdnc
diff --git a/tests/test_vfc b/tests/test_vfc
index 3fadeaf..38eab54 100755
--- a/tests/test_vfc
+++ b/tests/test_vfc
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/vfc
diff --git a/tests/test_vid b/tests/test_vid
index 79a4152..55e5746 100755
--- a/tests/test_vid
+++ b/tests/test_vid
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/vid
diff --git a/tests/test_vnfsdk b/tests/test_vnfsdk
index cd29a97..5c3a7c6 100755
--- a/tests/test_vnfsdk
+++ b/tests/test_vnfsdk
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/vnfsdk
diff --git a/tests/test_vvp b/tests/test_vvp
index 8e9594d..e38bd05 100755
--- a/tests/test_vvp
+++ b/tests/test_vvp
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
source /var/onap_tests/_test_base
source /var/onap/vvp
diff --git a/tools/run.sh b/tools/run.sh
index b09ddde..b0cdcb9 100755
--- a/tools/run.sh
+++ b/tools/run.sh
@@ -1,4 +1,12 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017-2018
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#############################################################################
function usage {
cat <<EOF