summaryrefslogtreecommitdiffstats
path: root/nfvparser/toscaparser/tests/artifacts/nodejs
diff options
context:
space:
mode:
Diffstat (limited to 'nfvparser/toscaparser/tests/artifacts/nodejs')
-rw-r--r--nfvparser/toscaparser/tests/artifacts/nodejs/config.sh12
-rw-r--r--nfvparser/toscaparser/tests/artifacts/nodejs/create.sh12
-rw-r--r--nfvparser/toscaparser/tests/artifacts/nodejs/start.sh12
3 files changed, 36 insertions, 0 deletions
diff --git a/nfvparser/toscaparser/tests/artifacts/nodejs/config.sh b/nfvparser/toscaparser/tests/artifacts/nodejs/config.sh
index 1e149a2..f000a19 100644
--- a/nfvparser/toscaparser/tests/artifacts/nodejs/config.sh
+++ b/nfvparser/toscaparser/tests/artifacts/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/artifacts/nodejs/create.sh b/nfvparser/toscaparser/tests/artifacts/nodejs/create.sh
index 04fd6c6..21e1669 100644
--- a/nfvparser/toscaparser/tests/artifacts/nodejs/create.sh
+++ b/nfvparser/toscaparser/tests/artifacts/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/artifacts/nodejs/start.sh b/nfvparser/toscaparser/tests/artifacts/nodejs/start.sh
index 6939cb7..4b0b42f 100644
--- a/nfvparser/toscaparser/tests/artifacts/nodejs/start.sh
+++ b/nfvparser/toscaparser/tests/artifacts/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