Added example to load a custom dashboard in the system
Change-Id: I13aa1c2e1761f37da42f37288dc1ba5202b00fe6
diff --git a/frontend/dashboard.yaml b/frontend/dashboard.yaml
new file mode 100644
index 0000000..c9ef497
--- /dev/null
+++ b/frontend/dashboard.yaml
@@ -0,0 +1,27 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+description: >
+ * Some sample data to populate the demo frontend
+
+imports:
+ - custom_types/xos.yaml
+
+topology_template:
+ node_templates:
+
+ # Register the Custom view in the system
+ Subscribers:
+ type: tosca.nodes.DashboardView
+ properties:
+ url: template:xosSubscribers
+
+ # Activate the Custom view for the user padmin@vicci.org
+ padmin@vicci.org:
+ type: tosca.nodes.User
+ properties:
+ no-create: True
+ no-delete: True
+ requirements:
+ - subscribers_dashboard:
+ node: Subscribers
+ relationship: tosca.relationships.UsesDashboard
\ No newline at end of file