[CORD-1525] Populating relational fields and saving models
Change-Id: Ied02e7e48efed353ae4be8ebb277aef3b6af4cab
diff --git a/test/tosca/test.yaml b/test/tosca/test.yaml
index e5b9fbd..9fc2246 100644
--- a/test/tosca/test.yaml
+++ b/test/tosca/test.yaml
@@ -18,7 +18,7 @@
files: /spa/extensions/test/vendor.js, /spa/extensions/test/app.js
# Site
- onlab:
+ site_onlab:
type: tosca.nodes.Site
properties:
name: Open Networking Lab
@@ -26,14 +26,16 @@
hosts_nodes: True
# User
- test@opencord.org:
+ user_test:
type: tosca.nodes.User
properties:
+ username: test@opencord.org
+ email: test@opencord.org
password: mypwd
firstname: User
lastname: Test
is_admin: True
requirements:
- site:
- node: onlab
+ node: site_onlab
relationship: tosca.relationships.BelongsToOne
\ No newline at end of file