Matteo Scandolo | 74321fe | 2016-07-19 14:41:54 -0700 | [diff] [blame^] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: > |
| 4 | * Some sample data to populate the demo frontend |
| 5 | |
| 6 | imports: |
| 7 | - custom_types/xos.yaml |
| 8 | |
| 9 | topology_template: |
| 10 | node_templates: |
| 11 | |
| 12 | # Register the Custom view in the system |
| 13 | Subscribers: |
| 14 | type: tosca.nodes.DashboardView |
| 15 | properties: |
| 16 | url: template:xosSubscribers |
| 17 | |
| 18 | # Activate the Custom view for the user padmin@vicci.org |
| 19 | padmin@vicci.org: |
| 20 | type: tosca.nodes.User |
| 21 | properties: |
| 22 | no-create: True |
| 23 | no-delete: True |
| 24 | requirements: |
| 25 | - subscribers_dashboard: |
| 26 | node: Subscribers |
| 27 | relationship: tosca.relationships.UsesDashboard |