1 heat_template_version: 2013-05-23
4 TOSCA simple profile with nodejs and mongodb.
9 description: The URL to download nodejs.
10 default: http://github.com/paypal/rest-api-sample-app-nodejs.git
14 description: Number of CPUs for the server.
24 mongo_dbms_create_deploy:
25 type: OS::Heat::SoftwareDeployment
28 get_resource: mongo_dbms_create_config
30 get_resource: mongo_server
31 signal_transport: HEAT_SIGNAL
33 mongo_dbms_create_config:
34 type: OS::Heat::SoftwareConfig
37 get_file: mongodb/create.sh
40 mongo_dbms_configure_deploy:
41 type: OS::Heat::SoftwareDeployment
44 get_resource: mongo_dbms_configure_config
51 get_resource: mongo_server
52 signal_transport: HEAT_SIGNAL
54 - mongo_dbms_create_deploy
56 mongo_dbms_configure_config:
57 type: OS::Heat::SoftwareConfig
60 get_file: mongodb/config.sh
63 mongo_dbms_start_deploy:
64 type: OS::Heat::SoftwareDeployment
67 get_resource: mongo_dbms_start_config
69 get_resource: mongo_server
70 signal_transport: HEAT_SIGNAL
72 - mongo_dbms_configure_deploy
74 mongo_dbms_start_config:
75 type: OS::Heat::SoftwareConfig
78 get_file: mongodb/start.sh
81 mongo_db_create_deploy:
82 type: OS::Heat::SoftwareDeployment
85 get_resource: mongo_db_create_config
87 get_resource: mongo_server
88 signal_transport: HEAT_SIGNAL
90 - mongo_dbms_start_deploy
92 mongo_db_create_config:
93 type: OS::Heat::SoftwareConfig
96 get_file: mongodb/create_database.sh
100 type: OS::Heat::SoftwareDeployment
103 get_resource: nodejs_create_config
105 get_resource: app_server
106 signal_transport: HEAT_SIGNAL
108 nodejs_create_config:
109 type: OS::Heat::SoftwareConfig
112 get_file: nodejs/create.sh
115 paypal_pizzastore_configure_deploy:
116 type: OS::Heat::SoftwareDeployment
119 get_resource: paypal_pizzastore_configure_config
121 github_url: http://github.com/paypal/rest-api-sample-app-nodejs.git
127 get_resource: app_server
128 signal_transport: HEAT_SIGNAL
130 - mongo_db_create_deploy
131 - nodejs_create_deploy
133 paypal_pizzastore_configure_config:
134 type: OS::Heat::SoftwareConfig
137 get_file: nodejs/config.sh
140 paypal_pizzastore_start_deploy:
141 type: OS::Heat::SoftwareDeployment
144 get_resource: paypal_pizzastore_start_config
146 get_resource: app_server
147 signal_transport: HEAT_SIGNAL
149 - paypal_pizzastore_configure_deploy
151 paypal_pizzastore_start_config:
152 type: OS::Heat::SoftwareConfig
155 get_file: nodejs/start.sh
159 type: OS::Nova::Server
162 image: ubuntu-software-config-os-init
163 user_data_format: SOFTWARE_CONFIG
164 software_config_transport: POLL_SERVER_HEAT
167 type: OS::Nova::Server
170 image: ubuntu-software-config-os-init
171 user_data_format: SOFTWARE_CONFIG
172 software_config_transport: POLL_SERVER_HEAT
176 description: URL for the mongodb server.
182 description: URL for the nodejs server, http://<IP>:3000