summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/calculate_version.sh16
-rwxr-xr-xutils/docs-build.sh10
-rwxr-xr-xutils/jenkins-jnlp-connect.sh9
-rwxr-xr-xutils/lab-reconfiguration/create_venv.sh9
-rw-r--r--utils/lab-reconfiguration/requirements.pip8
-rw-r--r--utils/test/result_collection_api/tools/backup-db.sh9
-rw-r--r--utils/test/result_collection_api/tools/samples/sample.json.postman_collection2
7 files changed, 51 insertions, 12 deletions
diff --git a/utils/calculate_version.sh b/utils/calculate_version.sh
index 5dccc075d..4bfd13f7a 100755
--- a/utils/calculate_version.sh
+++ b/utils/calculate_version.sh
@@ -1,15 +1,17 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Ericsson AB and others.
+# 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
+##############################################################################
-#
-# Authors:
-# Jose Lausuch <jose.lausuch@ericsson.com>
-# Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-#
# Calculates and generates the version tag for the OPNFV objects:
# - Docker images
# - ISOs
-# - Artifcats
-#
+# - Artifacts
info () {
logger -s -t "Calculate_version.info" "$*"
diff --git a/utils/docs-build.sh b/utils/docs-build.sh
index 39647a33d..6c863cbc9 100755
--- a/utils/docs-build.sh
+++ b/utils/docs-build.sh
@@ -1,8 +1,14 @@
#!/bin/bash -e
-
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 NEC and others.
+# 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
+##############################################################################
export PATH=$PATH:/usr/local/bin/
-
DOCS_DIR=${DOCS_DIR:-docs}
INDEX_RST=${INDEX_RST:-index.rst}
BUILD_DIR=${BUILD_DIR:-docs_build}
diff --git a/utils/jenkins-jnlp-connect.sh b/utils/jenkins-jnlp-connect.sh
index 00c19971f..6fb6827fd 100755
--- a/utils/jenkins-jnlp-connect.sh
+++ b/utils/jenkins-jnlp-connect.sh
@@ -1,4 +1,13 @@
#!/bin/bash
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Linux Foundation and others.
+# 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
+##############################################################################
+
#Monit setup script for opnfv jnlp slave connections
test_firewall() {
diff --git a/utils/lab-reconfiguration/create_venv.sh b/utils/lab-reconfiguration/create_venv.sh
index 4e45f8462..4e7144c70 100755
--- a/utils/lab-reconfiguration/create_venv.sh
+++ b/utils/lab-reconfiguration/create_venv.sh
@@ -1,5 +1,12 @@
#!/bin/bash -e
-
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Cisco and others.
+# 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
+##############################################################################
# Script checks that venv exists. If it doesn't it will be created
# It requires python2.7 and virtualenv packages installed
diff --git a/utils/lab-reconfiguration/requirements.pip b/utils/lab-reconfiguration/requirements.pip
index 8cd1db0ba..b10cbceab 100644
--- a/utils/lab-reconfiguration/requirements.pip
+++ b/utils/lab-reconfiguration/requirements.pip
@@ -1,2 +1,10 @@
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Cisco and others.
+# 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
+##############################################################################
UcsSdk==0.8.2.2
PyYAML
diff --git a/utils/test/result_collection_api/tools/backup-db.sh b/utils/test/result_collection_api/tools/backup-db.sh
index 8d12a6fc7..aa36aa370 100644
--- a/utils/test/result_collection_api/tools/backup-db.sh
+++ b/utils/test/result_collection_api/tools/backup-db.sh
@@ -1,5 +1,12 @@
#!/bin/bash
-
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2016 Orange and others.
+# 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
+##############################################################################
echo "Backup Test collection DB"
now=$(date +"%m_%d_%Y_%H_%M_%S")
echo $now
diff --git a/utils/test/result_collection_api/tools/samples/sample.json.postman_collection b/utils/test/result_collection_api/tools/samples/sample.json.postman_collection
index a9372624c..9ee35d15e 100644
--- a/utils/test/result_collection_api/tools/samples/sample.json.postman_collection
+++ b/utils/test/result_collection_api/tools/samples/sample.json.postman_collection
@@ -1156,4 +1156,4 @@
"responses": []
}
]
-} \ No newline at end of file
+}