blob: c9ef497b4b1f4e877ac13148680e2801f7d485e3 [file] [log] [blame]
Matteo Scandolo74321fe2016-07-19 14:41:54 -07001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: >
4 * Some sample data to populate the demo frontend
5
6imports:
7 - custom_types/xos.yaml
8
9topology_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