Andy Bavier | 094e716 | 2016-11-02 17:01:22 -0400 | [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 | # You can use this recipe to load the dashboard in the system: |
| 13 | GlobalXos: |
| 14 | type: tosca.nodes.DashboardView |
| 15 | properties: |
| 16 | url: template:xosGlobalXos |
| 17 | |
| 18 | # And this recipe to activate the dashboard for a user: |
| 19 | padmin@vicci.org: |
| 20 | type: tosca.nodes.User |
| 21 | properties: |
| 22 | no-create: true |
| 23 | no-delete: true |
| 24 | requirements: |
| 25 | - globalXos_dashboard: |
| 26 | node: GlobalXos |
| 27 | relationship: tosca.relationships.UsesDashboard |