Update the license for 2017-2018 license
[aai/aai-common.git] / aai-core / src / test / java / org / onap / aai / query / builder / SimplePathTest.java
index a3515ab..417ad5a 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * org.onap.aai
  * ================================================================================
- * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -16,8 +16,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * ============LICENSE_END=========================================================
- *
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
 package org.onap.aai.query.builder;
 
@@ -79,9 +77,6 @@ public class SimplePathTest extends AAISetup {
                Vertex lint2 = graph.addVertex(T.label, "l-interface", T.id, "11", "aai-node-type", "l-interface",
                                                "interface-name", "lint2", "is-port-mirrored", "true", "in-maint", "true", "is-ip-unnumbered", "false");
                
-               Vertex loglink2 = graph.addVertex(T.label, "logical-link", T.id, "21", "aai-node-type", "logical-link",
-                               "link-name", "loglink2", "in-maint", "false", "link-type", "sausage");
-               
                Vertex lint3 = graph.addVertex(T.label, "l-interface", T.id, "12", "aai-node-type", "l-interface",
                                "interface-name", "lint3", "is-port-mirrored", "true", "in-maint", "true", "is-ip-unnumbered", "false");
                
@@ -91,8 +86,7 @@ public class SimplePathTest extends AAISetup {
                rules.addTreeEdge(g, gvnf1, lint1);
                rules.addEdge(g, lint1, loglink1);
                rules.addEdge(g, loglink1, lint2);
-               rules.addEdge(g, lint2, loglink2);
-               rules.addEdge(g, loglink2, lint3);
+               rules.addEdge(g, loglink1, lint3);
                rules.addTreeEdge(g, gvnf2, lint3);
                
                return g;