diff options
Diffstat (limited to 'src/test/java/org/onap/aai/util/SendMigrationNotificationsTest.java')
-rw-r--r-- | src/test/java/org/onap/aai/util/SendMigrationNotificationsTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/org/onap/aai/util/SendMigrationNotificationsTest.java b/src/test/java/org/onap/aai/util/SendMigrationNotificationsTest.java index 6719d0f..c7ca3d3 100644 --- a/src/test/java/org/onap/aai/util/SendMigrationNotificationsTest.java +++ b/src/test/java/org/onap/aai/util/SendMigrationNotificationsTest.java @@ -71,30 +71,35 @@ public class SendMigrationNotificationsTest extends AAISetup { Vertex pnf1 = g.addV() .property("aai-node-type", "pnf") .property("pnf-name", SendMigrationNotifications.class.getSimpleName()+"-pnf-1") + .property("aai-uri", "/network/pnfs/pnf/" + SendMigrationNotifications.class.getSimpleName()+"-pnf-1") .property(AAIProperties.RESOURCE_VERSION, "123") .next(); Vertex pnf2 = g.addV() .property("aai-node-type", "pnf") .property("pnf-name", SendMigrationNotifications.class.getSimpleName()+"-pnf-2") + .property("aai-uri", "/network/pnfs/pnf/" + SendMigrationNotifications.class.getSimpleName()+"-pnf-2") .property(AAIProperties.RESOURCE_VERSION, "456") .next(); Vertex pnf3 = g.addV() .property("aai-node-type", "pnf") .property("pnf-name", SendMigrationNotifications.class.getSimpleName()+"-pnf-3") + .property("aai-uri", "/network/pnfs/pnf/" + SendMigrationNotifications.class.getSimpleName()+"-pnf-3") .property(AAIProperties.RESOURCE_VERSION, "111") .next(); Vertex pinterface1 = g.addV() .property("aai-node-type", "p-interface") .property("interface-name", SendMigrationNotifications.class.getSimpleName()+"-pinterface-1") + .property("aai-uri", "/network/pnfs/pnf/" + SendMigrationNotifications.class.getSimpleName()+"-pnf-1" + "/p-interfaces/p-interface/" + SendMigrationNotifications.class.getSimpleName()+"-pinterface-1") .property(AAIProperties.RESOURCE_VERSION, "789") .next(); Vertex pserver1 = g.addV() .property("aai-node-type", "pserver") .property("hostname", SendMigrationNotifications.class.getSimpleName()+"-pserver-1") + .property("aai-uri", "/cloud-infrastructure/pservers/pserver/" + SendMigrationNotifications.class.getSimpleName()+"-pserver-1") .property(AAIProperties.RESOURCE_VERSION, "333") .next(); |