Adding UI extensibility
[aai/sparky-be.git] / src / test / java / org / onap / aai / sparky / dal / sas / entity / SearchAbstractionEntityBuilder.java
index 08bf76c..f32cbe5 100644 (file)
@@ -1,32 +1,31 @@
-/* 
-* ============LICENSE_START=======================================================
-* SPARKY (inventory UI service)
-* ================================================================================
-* Copyright © 2017 AT&T Intellectual Property.
-* Copyright © 2017 Amdocs
-* 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.
-* You may obtain a copy of the License at
-* 
-*      http://www.apache.org/licenses/LICENSE-2.0
-* 
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-* ============LICENSE_END=========================================================
-* 
-* ECOMP and OpenECOMP are trademarks
-* and service marks of AT&T Intellectual Property.
-*/
+/**
+ * ============LICENSE_START===================================================
+ * SPARKY (AAI UI service)
+ * ============================================================================
+ * Copyright © 2017 AT&T Intellectual Property.
+ * Copyright © 2017 Amdocs
+ * 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.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=====================================================
+ *
+ * ECOMP and OpenECOMP are trademarks
+ * and service marks of AT&T Intellectual Property.
+ */
 package org.onap.aai.sparky.dal.sas.entity;
 
 import java.util.ArrayList;
 import java.util.List;
-import java.util.Map;
 
 public class SearchAbstractionEntityBuilder {
 
@@ -44,7 +43,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("searchTags",
         "example-vnf-id-val-4394;example-vnf-name-val-4394;example-vnf-name2-val-4394");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/vpes/vpe/example-vnf-id-val-4394");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/vpes/vpe/example-vnf-id-val-4394");
     doc.addContent("searchTagIDs", "0;1;2");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:20:48.072-0400");
 
@@ -69,7 +68,8 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("entityType", "vpe");
     doc.addContent("searchTags",
         "vpe-vnf-id-team4-11;example-vnf-name-val-9512;example-vnf-name2-val-9512");
-    doc.addContent("link", "https://aai-hostname:8443/aai/v9/network/vpes/vpe/vpe-vnf-id-team4-11");
+    doc.addContent("link",
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/vpes/vpe/vpe-vnf-id-team4-11");
     doc.addContent("searchTagIDs", "0;1;2");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:20:48.175-0400");
 
@@ -95,7 +95,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("searchTags",
         "example-vnf-id-val-6176;example-vnf-name-val-6176;example-vnf-name2-val-6176");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/generic-vnfs/generic-vnf/example-vnf-id-val-6176");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/generic-vnfs/generic-vnf/example-vnf-id-val-6176");
     doc.addContent("searchTagIDs", "0;1;2");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:29:39.889-0400");
 
@@ -121,7 +121,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("searchTags",
         "vnf-id-team4-11;example-vnf-name-val-5313;example-vnf-name2-val-5313");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/newvces/newvce/vnf-id-team4-11");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/newvces/newvce/vnf-id-team4-11");
     doc.addContent("searchTagIDs", "0;1;2");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:21:08.142-0400");
 
@@ -147,7 +147,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("searchTags",
         "example-vnf-id2-val-9501;example-vnf-name-val-9501;example-vnf-name2-val-9501");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/newvces/newvce/example-vnf-id2-val-9501");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/newvces/newvce/example-vnf-id2-val-9501");
     doc.addContent("searchTagIDs", "0;1;2");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:21:23.323-0400");
 
@@ -172,7 +172,8 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("entityType", "vce");
     doc.addContent("searchTags",
         "vpe-id-dm-auto-10;vnf-id-dm-auto-10;vnf-name-dm-auto-10;vnf-name2-dm-auto-10");
-    doc.addContent("link", "https://aai-hostname:8443/aai/v9/network/vces/vce/vnf-id-dm-auto-10");
+    doc.addContent("link",
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/vces/vce/vnf-id-dm-auto-10");
     doc.addContent("searchTagIDs", "0;1;2;3");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:24:57.209-0400");
 
@@ -197,7 +198,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("entityType", "generic-vnf");
     doc.addContent("searchTags", "e3e59c5b-ad48-44d0-b3e4-80eacdcee4c7;VNF_Test_vNF_modules_01");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/generic-vnfs/generic-vnf/e3e59c5b-ad48-44d0-b3e4-80eacdcee4c7");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/generic-vnfs/generic-vnf/e3e59c5b-ad48-44d0-b3e4-80eacdcee4c7");
     doc.addContent("searchTagIDs", "0;1");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:26:34.603-0400");
 
@@ -222,7 +223,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("entityType", "generic-vnf");
     doc.addContent("searchTags", "fusion-jitsi-vnf-001;fusion-jitsi-vnf");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/generic-vnfs/generic-vnf/fusion-jitsi-vnf-001");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/generic-vnfs/generic-vnf/fusion-jitsi-vnf-001");
     doc.addContent("searchTagIDs", "0;1");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:28:14.293-0400");
 
@@ -247,7 +248,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("entityType", "generic-vnf");
     doc.addContent("searchTags", "vnfm0003v;vnfm0003v");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/generic-vnfs/generic-vnf/vnfm0003v");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/generic-vnfs/generic-vnf/vnfm0003v");
     doc.addContent("searchTagIDs", "0;1");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:29:39.594-0400");
 
@@ -272,7 +273,7 @@ public class SearchAbstractionEntityBuilder {
     doc.addContent("entityType", "generic-vnf");
     doc.addContent("searchTags", "amist456vnf;amist456vnf");
     doc.addContent("link",
-        "https://aai-hostname:8443/aai/v9/network/generic-vnfs/generic-vnf/amist456vnf");
+        "https://aai-ext1.test.att.com:8443/aai/v9/network/generic-vnfs/generic-vnf/amist456vnf");
     doc.addContent("searchTagIDs", "0;1");
     doc.addContent("lastmodTimestamp", "2017-04-18T17:28:28.163-0400");