summaryrefslogtreecommitdiffstats
path: root/nfvparser/toscaparser/tests/data/CSAR/tosca_elk
diff options
context:
space:
mode:
Diffstat (limited to 'nfvparser/toscaparser/tests/data/CSAR/tosca_elk')
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt13
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh11
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh12
-rw-r--r--nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta2
28 files changed, 325 insertions, 1 deletions
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
index 1ac0935..8d6cf6b 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/collectd.yaml
@@ -1,3 +1,15 @@
+# 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.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
index 4a1770f..09648df 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/elasticsearch.yaml
@@ -1,3 +1,15 @@
+# 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.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
index 3a4351c..aef6d63 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/kibana.yaml
@@ -1,3 +1,15 @@
+# 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.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
index 8495954..b7630a0 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/logstash.yaml
@@ -1,3 +1,15 @@
+# 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.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
index cdabeae..7ba6b57 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/paypalpizzastore_nodejs_app.yaml
@@ -1,3 +1,15 @@
+# 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.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
index 4614ee7..580ea2e 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/rsyslog.yaml
@@ -1,3 +1,15 @@
+# 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.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
index 932f131..9875c19 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Definitions/tosca_elk.yaml
@@ -1,3 +1,15 @@
+# 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.
+
tosca_definitions_version: tosca_simple_yaml_1_0
description: >
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt
index 382c9b0..3653499 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/README.txt
@@ -1,3 +1,16 @@
+
+# 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.
+
README:
This TOSCA simple profile deploys nodejs, mongodb, elasticsearch, logstash and kibana each on a separate server with monitoring enabled for nodejs server where a sample nodejs application is running. The syslog and collectd are installed on a nodejs server.
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
index a483b88..d93774b 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script install collectd for monitoring data
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
index 7e8e033..89c1782 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/collectd/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script starts collectd as a service in init.d
service collectd stop
service collectd start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
index c34126c..9bc7c3d 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script installs java and elasticsearch
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
index bbc0347..c9e4f47 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/elasticsearch/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script starts elasticsearch as a service in init.d
service elasticsearch stop
service elasticsearch start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
index f28215a..f2cb379 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/config.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script configures kibana to connect to the elasticsearch server
# to access data and to export the app url on port 5601:
# The environment variable elasticsearch_ip and kibana_ip are expected
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
index 41914b1..fe92a83 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script installs kibana and sets it up to run as a service in init.d
cd /opt
wget https://download.elastic.co/kibana/kibana/kibana-4.1.0-linux-x64.tar.gz
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
index 5149bb3..543886b 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/kibana/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script starts kibana as a service in init.d
service kibana4 stop
service kibana4 start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
index 77cc8fd..e414879 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script installs java, logstash and the contrib package for logstash
# install java as prereq
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
index a73cf61..3851844 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/logstash/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# Run logstash as service in init.d
service logstash stop
service logstash start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
index 78f484e..457c24c 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/config.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# Edit the file /etc/mongod.conf, update with real IP of Mongo server
# This script configures the mongodb server to export its service on
# the server IP
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
index d84c275..e4d51e9 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script installs mongodb
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
index 16f1358..07e5b16 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/create_database.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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 "conn = new Mongo();" > setup.js
echo "db = conn.getDB('paypal_pizza');" >> setup.js
echo "db.about.insert({'name': 'PayPal Pizza Store'});" >> setup.js
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
index ac200a5..bca4c68 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/mongodb/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script starts mongodb
service mongod stop
rm /var/lib/mongodb/mongod.lock
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
index 1e149a2..f000a19 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/config.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script installs an app for nodejs: the app intended is the paypal app
# and it is configured to connect to the mongodb server
# The environment variables github_url and mongodb_ip are expected to be set up
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
index 04fd6c6..21e1669 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script installs nodejs and the prereq
add-apt-repository ppa:chris-lea/node.js
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
index 6939cb7..4b0b42f 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/nodejs/start.sh
@@ -1,3 +1,15 @@
#!/bin/bash
+# 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.
+
# This script starts the nodejs application
start nodeapp
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
index 630767d..3072ccc 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/config.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+# 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.
# This script configures the output for rsyslogd to send logs to the
# logstash server port 2514 using the RELP protocol
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
index affdd6e..c3538f8 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/create.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script installs rsyslog and the library for RELP
apt-get update
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
index 3de82d1..c389d1c 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/Scripts/rsyslog/start.sh
@@ -1,4 +1,16 @@
#!/bin/bash
+# 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.
+
# This script starts rsyslogd as a service in init.d
service rsyslog stop
service rsyslog start
diff --git a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
index feb3d4f..db12107 100644
--- a/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
+++ b/nfvparser/toscaparser/tests/data/CSAR/tosca_elk/TOSCA-Metadata/TOSCA.meta
@@ -1,4 +1,4 @@
TOSCA-Meta-File-Version: 1.0
CSAR-Version: 1.1
-Created-By: OASIS TOSCA TC
+Created-By: OASIS TOSCA TC, Licensed under the Apache License, Version 2.0 (the "License")
Entry-Definitions: Definitions/tosca_elk.yaml \ No newline at end of file