aboutsummaryrefslogtreecommitdiffstats
path: root/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts
diff options
context:
space:
mode:
Diffstat (limited to 'jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts')
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/config.py25
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/create.sh5
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/start.sh4
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/create.sh14
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/start.sh4
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/config.sh7
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/create.sh12
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/start.sh4
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_collectd.py28
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_elasticsearch.py26
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_rsyslog.py25
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/create.sh20
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/start.sh4
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/config.sh7
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create.sh14
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create_database.sh5
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/start.sh5
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_database_configure.sh8
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_configure.sh5
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_install.sh9
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_start.sh2
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/config.sh28
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/create.sh7
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/start.sh3
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/config.sh30
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/create.sh5
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/start.sh4
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_install.sh5
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_start.sh2
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_configure.sh4
-rw-r--r--jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_install.sh5
31 files changed, 0 insertions, 326 deletions
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/config.py b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/config.py
deleted file mode 100644
index 686bbd1..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/config.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python
-
-# 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 collectd to send metric data to the
-# logstash server port 25826
-# The environment variable logstash_ip is expected to be set up
-import os
-with open("/etc/collectd/collectd.conf.d/tosca_elk.conf", "w") as fh:
- fh.write("""
- LoadPlugin network
- <Plugin network>
- Server "%s" "25826"
- </Plugin>
- """ % (os.environ['logstash_ip']))
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/create.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/create.sh
deleted file mode 100644
index a483b88..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/create.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-# This script install collectd for monitoring data
-
-apt-get update
-apt-get install -y collectd
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/start.sh
deleted file mode 100644
index 7e8e033..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/collectd/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts collectd as a service in init.d
-service collectd stop
-service collectd start
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/create.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/create.sh
deleted file mode 100644
index c34126c..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/create.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-# This script installs java and elasticsearch
-
-apt-get update
-apt-get install -y openjdk-7-jre-headless
-
-wget -qO - https://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
-echo "deb http://packages.elasticsearch.org/elasticsearch/1.5/debian stable main" | tee -a /etc/apt/sources.list
-
-apt-get update
-apt-get install -y elasticsearch
-
-# set up to run as service
-update-rc.d elasticsearch defaults 95 10
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/start.sh
deleted file mode 100644
index bbc0347..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/elasticsearch/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts elasticsearch as a service in init.d
-service elasticsearch stop
-service elasticsearch start
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/config.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/config.sh
deleted file mode 100644
index f28215a..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/config.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# 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
-# to be set up.
-sed -i 's/localhost/'$elasticsearch_ip'/' /opt/kibana/config/kibana.yml
-sed -i 's/0.0.0.0/'$kibana_ip'/' /opt/kibana/config/kibana.yml
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/create.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/create.sh
deleted file mode 100644
index 41914b1..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/create.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-# 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
-tar xzvf kibana-4.1.0-linux-x64.tar.gz
-mv kibana-4.1.0-linux-x64 kibana
-
-# set up to run as service
-cd /etc/init.d
-wget https://gist.githubusercontent.com/thisismitch/8b15ac909aed214ad04a/raw/bce61d85643c2dcdfbc2728c55a41dab444dca20/kibana4
-chmod +x kibana4
-update-rc.d kibana4 defaults 96 9
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/start.sh
deleted file mode 100644
index 5149bb3..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/kibana/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts kibana as a service in init.d
-service kibana4 stop
-service kibana4 start
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_collectd.py b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_collectd.py
deleted file mode 100644
index 18fdacf..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_collectd.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-
-# 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 logstash input using the udp protocol on
-# port 25826. This is intended to receive data from collectd from
-# any source
-with open("/etc/logstash/conf.d/collectd.conf", "w") as fh:
- fh.write("""
- input {
- udp {
- port => 25826 # 25826 is the default for collectd
- buffer_size => 1452 # 1452 is the default for collectd
- codec => collectd { }
- tags => ["metrics"]
- type => "collectd"
- }
- }""")
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_elasticsearch.py b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_elasticsearch.py
deleted file mode 100644
index 2e5389c..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_elasticsearch.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/python
-
-# 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 logstash output to forward to elasticsearch
-# The environment variable elasticsearch_ip is expected to be set up
-import os
-with open("/etc/logstash/conf.d/elasticsearch.conf", 'w') as fh:
- fh.write("""
- output {
- elasticsearch {
- action => index
- host => "%s"
- protocol => "http"
- }
- }""" % (os.environ['elasticsearch_ip']))
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_rsyslog.py b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_rsyslog.py
deleted file mode 100644
index fc610c2..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/configure_rsyslog.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/python
-
-# 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 logstash input using the RELP protocol on
-# port 2514 This is intended to receive logs from rsyslog from
-# any source
-with open("/etc/logstash/conf.d/rsyslog.conf", "w") as fh:
- fh.write("""
- input {
- relp {
- port => 2514
- tags => ["logs"]
- }
- }""")
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/create.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/create.sh
deleted file mode 100644
index 77cc8fd..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/create.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# This script installs java, logstash and the contrib package for logstash
-# install java as prereq
-
-apt-get update
-apt-get install -y openjdk-7-jre-headless
-mkdir /etc/logstash
-
-# install by apt-get from repo
-wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
-echo "deb http://packages.elasticsearch.org/logstash/1.4/debian stable main" | tee -a /etc/apt/sources.list
-
-apt-get update
-apt-get install -y logstash
-
-# install contrib to get the relp plugin
-/opt/logstash/bin/plugin install contrib
-
-# set up to run as service
-update-rc.d logstash defaults 95 10
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/start.sh
deleted file mode 100644
index a73cf61..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/logstash/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# Run logstash as service in init.d
-service logstash stop
-service logstash start
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/config.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/config.sh
deleted file mode 100644
index 78f484e..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/config.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# 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
-# bind_ip = 127.0.0.1 -> bind_ip = <IP for Mongo server>
-# The environment variable mongodb_ip is expected to be set up
-sed -i "s/= 127.0.0.1/= $mongodb_ip,127.0.0.1/" /etc/mongod.conf
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create.sh
deleted file mode 100644
index d84c275..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-# This script installs mongodb
-
-apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
-echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
-
-apt-get update
-apt-get install -y mongodb-org
-
-#Wait for mongodb initialization
-while [[ ! -d "/var/lib/mongodb/_tmp" ]]; do
- echo "Waiting for mongodb initialization ..."
- sleep 5
-done
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create_database.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create_database.sh
deleted file mode 100644
index 16f1358..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/create_database.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-echo "conn = new Mongo();" > setup.js
-echo "db = conn.getDB('paypal_pizza');" >> setup.js
-echo "db.about.insert({'name': 'PayPal Pizza Store'});" >> setup.js
-mongo setup.js
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/start.sh
deleted file mode 100644
index ac200a5..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mongodb/start.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-# This script starts mongodb
-service mongod stop
-rm /var/lib/mongodb/mongod.lock
-service mongod start
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_database_configure.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_database_configure.sh
deleted file mode 100644
index 092136a..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_database_configure.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-cat << EOF | mysql -u root --password=$db_root_password
-CREATE DATABASE $db_name;
-GRANT ALL PRIVILEGES ON $db_name.* TO "$db_user"@"localhost"
-IDENTIFIED BY "$db_password";
-FLUSH PRIVILEGES;
-EXIT
-EOF \ No newline at end of file
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_configure.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_configure.sh
deleted file mode 100644
index d4ef6b4..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_configure.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-sed --regexp-extended "s/(port\s*=\s*)[0-9]*/\1$db_port/g" </etc/mysql/my.cnf >/tmp/my.cnf
-mv -f /tmp/my.cnf /etc/mysql/my.cnf
-/etc/init.d/mysql stop
-/etc/init.d/mysql start \ No newline at end of file
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_install.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_install.sh
deleted file mode 100644
index 38628b9..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_install.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-#This script installs mysql server
-
-apt-get update
-
-debconf-set-selections <<< "mysql-server mysql-server/root_password password $db_root_password"
-debconf-set-selections <<< "mysql-server mysql-server/root_password_again password $db_root_password"
-
-apt-get -y install --fix-missing mysql-server \ No newline at end of file
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_start.sh
deleted file mode 100644
index 3378670..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/mysql/mysql_dbms_start.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-/etc/init.d/mysql start \ No newline at end of file
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/config.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/config.sh
deleted file mode 100644
index 1e149a2..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/config.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-# 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
-export app_dir=/opt/app
-git clone $github_url /opt/app
-if [ -f /opt/app/package.json ]; then
- cd /opt/app/ && npm install
- sed -i "s/localhost/$mongodb_ip/" config.json
-fi
-
-cat > /etc/init/nodeapp.conf <<EOS
-description "node.js app"
-
-start on (net-device-up
- and local-filesystems
- and runlevel [2345])
-stop on runlevel [!2345]
-
-expect fork
-respawn
-
-script
- export HOME=/
- export NODE_PATH=/usr/lib/node
- exec /usr/bin/node ${app_dir}/app.js >> /var/log/nodeapp.log 2>&1 &
-end script
-EOS
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/create.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/create.sh
deleted file mode 100644
index 04fd6c6..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/create.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# This script installs nodejs and the prereq
-
-add-apt-repository ppa:chris-lea/node.js
-
-apt-get update
-apt-get install -y nodejs build-essential
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/start.sh
deleted file mode 100644
index 6939cb7..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/nodejs/start.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-# This script starts the nodejs application
-start nodeapp
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/config.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/config.sh
deleted file mode 100644
index 630767d..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/config.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-# This script configures the output for rsyslogd to send logs to the
-# logstash server port 2514 using the RELP protocol
-# The environment variable logstash_ip is expected to be set up
-echo "module(load=\"omrelp\")
-action(type=\"omrelp\" target=\"$logstash_ip\" port=\"2514\")" > /etc/rsyslog.d/tosca_elk.conf
-
-# Remove the /dev/xconsole configuration as xconsole
-# is not available by default
-l=`awk '/=warn.*\|.*\/dev\/xconsole/{print NR - 1}' /etc/rsyslog.d/50-default.conf`
-if [ ! -z $l ]; then
- l=`expr $l + 1`
- line=`cat /etc/rsyslog.d/50-default.conf | head -n $l | tail -1`
- if [[ ! $line == \#* ]]; then
- l0=`expr $l - 3`
- sed -i -r -e "${l0},${l}s/^.{0}/&#/" /etc/rsyslog.d/50-default.conf
- fi
-fi
-
-# Enable nodejs logs for rsyslog
-if ! grep -q nodeapp "/etc/rsyslog.conf"; then
- sed -i 's/\$PrivDropToGroup\ syslog/\$PrivDropToGroup adm/' /etc/rsyslog.conf
- echo "\$ModLoad imfile.so
-\$InputFileName /var/log/nodeapp.log
-\$InputFileTag paypal_pizza:
-\$InputFileStateFile stat-nodeapp
-\$InputRunFileMonitor
-\$InputFilePollInterval 1" >> /etc/rsyslog.conf
-fi
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/create.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/create.sh
deleted file mode 100644
index affdd6e..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/create.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-# This script installs rsyslog and the library for RELP
-
-apt-get update
-apt-get install -y rsyslog rsyslog-relp
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/start.sh
deleted file mode 100644
index 3de82d1..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/rsyslog/start.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-# This script starts rsyslogd as a service in init.d
-service rsyslog stop
-service rsyslog start
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_install.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_install.sh
deleted file mode 100644
index 4ca9b4e..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_install.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-#This script installs apache web server
-
-apt-get update
-apt-get install -y apache2 \ No newline at end of file
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_start.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_start.sh
deleted file mode 100644
index e962ca5..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/webserver/webserver_start.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-service apache2 start \ No newline at end of file
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_configure.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_configure.sh
deleted file mode 100644
index 5598b4f..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_configure.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-ln -s /usr/share/wordpress /var/www/html/wordpress
-gzip -d /usr/share/doc/wordpress/examples/setup-mysql.gz
-echo $wp_db_password | bash /usr/share/doc/wordpress/examples/setup-mysql -e $wp_db_name -u $wp_db_user localhost \ No newline at end of file
diff --git a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_install.sh b/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_install.sh
deleted file mode 100644
index 1320443..0000000
--- a/jython-tosca-parser/src/main/resources/Lib/site-packages/tosca_parser-0.7.0-py2.7.egg/toscaparser/tests/artifacts/wordpress/wordpress_install.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-#This script installs wordpress
-
-apt-get update
-apt-get install -y wordpress \ No newline at end of file