cloudify-cosmo / cloudify-hello-world-example

Cloudify Examples
Apache License 2.0
9 stars 30 forks source link

Allow multiple deployments #56

Closed jcollado closed 6 years ago

jcollado commented 6 years ago

Given that the hello world example allows configuring the web server port, one thing that the user might try is to deploy the same blueprint multiple times on different ports. However, this doesn't work because the server directory is hardcoded meaning that all deployments share the same folder. Hence, when one of the deployments is uninstalled, the server files for all deployments are removed.

In this PR, the server directory is updated to depend on the port number, so that multiple deployments can be installed and uninstalled on different ports.