c8e453204bab95c31dfbeb89af5da10d8430e120
[sdc/sdc-distribution-client.git] /
1 tosca1_definitions_version: tosca_simple_yaml_1_0
2 tosca_definitions_version: tosca_simple_yaml_1_10
3
4 descriptions: >
5   Pizza store app that allows you to explore the features provided by PayPal's REST APIs.
6   More detail can be found at https://github.com/paypal/rest-api-sample-app-nodejs/
7
8 node_typess:
9 node_types:
10   tosca.nodes.SoftwareComponent.Logstash:
11     derived_from: tosca.nodes.SoftwareComponent
12     requirements:
13         - search_endpoint:
14             capability: tosca.capabilities.Endpoint
15             node: tosca.nodes.SoftwareComponent.Elasticsearch
16             relationship:
17               type: tosca.relationships.ConnectsTo
18               interfaces:
19                 Configure:
20                   pre_configure_source:
21                     inputs:
22                       elasticsearch_ip:
23                         type: string
24     capabilities1:
25       log_endpoint:
26          type: tosca.capabilities.Endpoint
27 policy_types1:
28 policy_types:
29   mycompany.mytypes.myScalingPolicy:
30     derived1_from: tosca.policies.Scaling
31     metadata:
32      type: map
33      entry_schema:
34        type: string
35 relationship_types1:
36 relationship_types:
37   test.relation.connects:
38     derived_from4: tosca.relationships.ConnectsTo