aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--config/db/db.conf13
-rw-r--r--config/db/db.sh13
-rw-r--r--config/drools/feature-healthcheck.conf13
-rw-r--r--config/drools/policy-management.conf13
-rw-r--r--config/pe/base.conf13
-rwxr-xr-xconfig/pe/brmsgw-tweaks.sh13
-rw-r--r--config/pe/brmsgw.conf13
-rw-r--r--config/pe/console.conf13
-rw-r--r--config/pe/elk.conf13
-rw-r--r--config/pe/mysql.conf13
-rwxr-xr-xconfig/pe/pap-tweaks.sh13
-rw-r--r--config/pe/pap.conf13
-rw-r--r--config/pe/paplp.conf13
-rwxr-xr-xconfig/pe/pdp-tweaks.sh14
-rw-r--r--config/pe/pdp.conf13
-rw-r--r--config/pe/pdplp.conf13
-rwxr-xr-xconfig/pe/push-policies.sh13
-rw-r--r--docker-compose-integration.yml13
-rw-r--r--docker-compose.yml13
-rwxr-xr-xdocker_build.sh13
-rwxr-xr-xdocker_merge.sh13
-rwxr-xr-xdocker_verify.sh13
-rw-r--r--policy-nexus/Dockerfile13
-rw-r--r--vagrant/README.md4
-rw-r--r--vagrant/Vagrantfile13
-rwxr-xr-xvagrant/setup_policy.sh13
27 files changed, 333 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0622cdb7..5f5b81cd 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,7 @@
+Copyright 2018 AT&T Intellectual Property. All rights reserved.
+This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
+Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
+
This source repository contains the files for building the ONAP Policy Engine Docker image policy-nexus.
To build it using Maven 3, first build 'policy/common', 'policy/engine', 'policy/drools-pdp', and 'policy/drools-applications' repositories, and then run: mvn prepare-package. This will pull the installation zip files needed for building the policy-pe and policy-drools Docker images into the target directory. It will not actually build the docker images; the following additional steps are needed to accomplish this:
diff --git a/config/db/db.conf b/config/db/db.conf
index 958f8bf0..d6cc2efc 100644
--- a/config/db/db.conf
+++ b/config/db/db.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
MYSQL_ROOT_PASSWORD=secret
MYSQL_USER=policy_user
MYSQL_PASSWORD=policy_user
diff --git a/config/db/db.sh b/config/db/db.sh
index 0de1deb1..4b183730 100644
--- a/config/db/db.sh
+++ b/config/db/db.sh
@@ -1,4 +1,17 @@
#!/bin/bash -xv
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
for db in support onap_sdk log
do
diff --git a/config/drools/feature-healthcheck.conf b/config/drools/feature-healthcheck.conf
index 31baed21..c2f89001 100644
--- a/config/drools/feature-healthcheck.conf
+++ b/config/drools/feature-healthcheck.conf
@@ -1,2 +1,15 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
HEALTHCHECK_USER=healthcheck
HEALTHCHECK_PASSWORD=zb!XztG34
diff --git a/config/drools/policy-management.conf b/config/drools/policy-management.conf
index 843b832e..757cb8ea 100644
--- a/config/drools/policy-management.conf
+++ b/config/drools/policy-management.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
CONTROLLER_ARTIFACT_ID=policy-management
CONTROLLER_NAME=policy-management-controller
CONTROLLER_PORT=9696
diff --git a/config/pe/base.conf b/config/pe/base.conf
index 4d632844..e5aec35f 100644
--- a/config/pe/base.conf
+++ b/config/pe/base.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
POLICY_HOME=/opt/app/policy
POLICY_LOGS=/var/log/onap
diff --git a/config/pe/brmsgw-tweaks.sh b/config/pe/brmsgw-tweaks.sh
index daa3596e..426db9dd 100755
--- a/config/pe/brmsgw-tweaks.sh
+++ b/config/pe/brmsgw-tweaks.sh
@@ -1,4 +1,17 @@
#! /bin/bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
PROPS_BUILD="${POLICY_HOME}/etc/build.info"
diff --git a/config/pe/brmsgw.conf b/config/pe/brmsgw.conf
index 31bd32ee..a976da7d 100644
--- a/config/pe/brmsgw.conf
+++ b/config/pe/brmsgw.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# BRMSpep component installation configuration parameters
BRMSGW_JMX_PORT=9989
diff --git a/config/pe/console.conf b/config/pe/console.conf
index 45ae3492..f07b93f1 100644
--- a/config/pe/console.conf
+++ b/config/pe/console.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# configs component installation configuration parameters
# tomcat specific parameters
diff --git a/config/pe/elk.conf b/config/pe/elk.conf
index 938954ce..cd7b1a21 100644
--- a/config/pe/elk.conf
+++ b/config/pe/elk.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# elasticsearch
ELK_JMX_PORT=9995 \ No newline at end of file
diff --git a/config/pe/mysql.conf b/config/pe/mysql.conf
index 28b9e3ca..eb0be01c 100644
--- a/config/pe/mysql.conf
+++ b/config/pe/mysql.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# mysql scripts component installation configuration parameters
# Path to mysql bin
diff --git a/config/pe/pap-tweaks.sh b/config/pe/pap-tweaks.sh
index 36ac3689..7c85010b 100755
--- a/config/pe/pap-tweaks.sh
+++ b/config/pe/pap-tweaks.sh
@@ -1 +1,14 @@
#! /bin/bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
diff --git a/config/pe/pap.conf b/config/pe/pap.conf
index 084f127f..3ff5038d 100644
--- a/config/pe/pap.conf
+++ b/config/pe/pap.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# pap component installation configuration parameters
# tomcat specific parameters
diff --git a/config/pe/paplp.conf b/config/pe/paplp.conf
index 9fdd643b..17a3407d 100644
--- a/config/pe/paplp.conf
+++ b/config/pe/paplp.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# JVM specific parameters
LOGPARSER_JMX_PORT=9996
LOGPARSER_X_MS_MB=1024
diff --git a/config/pe/pdp-tweaks.sh b/config/pe/pdp-tweaks.sh
index f6825363..7c85010b 100755
--- a/config/pe/pdp-tweaks.sh
+++ b/config/pe/pdp-tweaks.sh
@@ -1,2 +1,14 @@
#! /bin/bash
-
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
diff --git a/config/pe/pdp.conf b/config/pe/pdp.conf
index c82c01a5..0759dcd7 100644
--- a/config/pe/pdp.conf
+++ b/config/pe/pdp.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# pdp component installation configuration parameters
# tomcat specific parameters
diff --git a/config/pe/pdplp.conf b/config/pe/pdplp.conf
index 789d2b01..e51999f5 100644
--- a/config/pe/pdplp.conf
+++ b/config/pe/pdplp.conf
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
# JVM specific parameters
LOGPARSER_JMX_PORT=9997
LOGPARSER_X_MS_MB=1024
diff --git a/config/pe/push-policies.sh b/config/pe/push-policies.sh
index 27320c32..90c60e79 100755
--- a/config/pe/push-policies.sh
+++ b/config/pe/push-policies.sh
@@ -1,4 +1,17 @@
#! /bin/bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
#########################################Upload BRMS Param Template##########################################
diff --git a/docker-compose-integration.yml b/docker-compose-integration.yml
index 1e42bbe2..a5afd69b 100644
--- a/docker-compose-integration.yml
+++ b/docker-compose-integration.yml
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
version: '2'
services:
mariadb:
diff --git a/docker-compose.yml b/docker-compose.yml
index a104c8db..547f3830 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
version: '2'
networks:
default:
diff --git a/docker_build.sh b/docker_build.sh
index 020da467..653ef6d2 100755
--- a/docker_build.sh
+++ b/docker_build.sh
@@ -1,4 +1,17 @@
#!/bin/bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
DOCKER_REPOSITORY=nexus3.onap.org:10003
diff --git a/docker_merge.sh b/docker_merge.sh
index ec350f78..6b2c5442 100755
--- a/docker_merge.sh
+++ b/docker_merge.sh
@@ -1,4 +1,17 @@
#!/bin/bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
DOCKER_REPOSITORY=nexus3.onap.org:10003
diff --git a/docker_verify.sh b/docker_verify.sh
index 35863ebd..0b22ae46 100755
--- a/docker_verify.sh
+++ b/docker_verify.sh
@@ -1,4 +1,17 @@
#!/bin/bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
#
diff --git a/policy-nexus/Dockerfile b/policy-nexus/Dockerfile
index 936c4969..144cebbf 100644
--- a/policy-nexus/Dockerfile
+++ b/policy-nexus/Dockerfile
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
FROM ubuntu:14.04
ARG HTTP_PROXY=${HTTP_PROXY}
diff --git a/vagrant/README.md b/vagrant/README.md
index 33ad8306..837d62ce 100644
--- a/vagrant/README.md
+++ b/vagrant/README.md
@@ -1,3 +1,7 @@
+Copyright 2018 AT&T Intellectual Property. All rights reserved.
+This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
+Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
+
This directory is to build & setup policy by vagrant. It is verified to work in
Ubuntu 16.04 64bit.
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index 73d4ba3c..35c022b0 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -1,3 +1,16 @@
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
Vagrant.require_version ">= 1.8.6"
Vagrant.configure("2") do |config|
diff --git a/vagrant/setup_policy.sh b/vagrant/setup_policy.sh
index 6ee7c38c..6cf837f9 100755
--- a/vagrant/setup_policy.sh
+++ b/vagrant/setup_policy.sh
@@ -1,4 +1,17 @@
#!/usr/bin/env bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed 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.
set -ex