docs: fix issues
[parser.git] / tosca2heat / heat-translator / translator / tests / data / custom_types / paypalpizzastore_nodejs_app.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >
4   Pizza store app that allows you to explore the features provided by PayPal's REST APIs.
5   More detail can be found at https://github.com/paypal/rest-api-sample-app-nodejs/
6
7 node_types:
8   tosca.nodes.WebApplication.PayPalPizzaStore:
9     derived_from: tosca.nodes.WebApplication
10     properties:
11       github_url:
12         required: no
13         type: string
14         description: location of the application on the github.
15         default: https://github.com/sample.git
16     requirements:
17       #WebApplication inherits Computer, so host implied.
18       - database_connection:
19           capability: tosca.capabilities.Endpoint.Database
20           node: tosca.nodes.Database
21           relationship: tosca.relationships.ConnectsTo
22     interfaces:
23       Standard:
24         configure:
25           inputs:
26             github_url:
27               type: string
28             mongodb_ip:
29               type: string