From ea3d0f7abb976c0e8557d0d3d12da2fb91ad0d08 Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Tue, 19 Sep 2017 02:39:34 -0400 Subject: Remove any remaining db edge rules references Issue-ID: AAI-309 Change-Id: I58a3b66ce34b49e51245a279fcaf3dee11f5a86e Signed-off-by: Venkata Harish K Kajur --- .../main/java/org/openecomp/aai/serialization/db/EdgeRules.java | 7 ------- .../src/test/java/org/openecomp/aai/logging/DME2RestFlagTest.java | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'aai-core') diff --git a/aai-core/src/main/java/org/openecomp/aai/serialization/db/EdgeRules.java b/aai-core/src/main/java/org/openecomp/aai/serialization/db/EdgeRules.java index 8dbff6c4..f819b9ea 100644 --- a/aai-core/src/main/java/org/openecomp/aai/serialization/db/EdgeRules.java +++ b/aai-core/src/main/java/org/openecomp/aai/serialization/db/EdgeRules.java @@ -93,13 +93,6 @@ public class EdgeRules { private EdgeRules(Version version) { String json = this.getEdgeRuleJson(version); rulesDoc = JsonPath.parse(json); - - if (!Version.isLatest(version)) { - try { - Class dbEdgeRules = Class.forName("org.openecomp.aai.dbmodel." + version.toString() + ".gen.DbEdgeRules"); - } catch (Exception e) { - } - } } private String getEdgeRuleJson(Version version) { diff --git a/aai-core/src/test/java/org/openecomp/aai/logging/DME2RestFlagTest.java b/aai-core/src/test/java/org/openecomp/aai/logging/DME2RestFlagTest.java index b20f1328..1ac17dad 100644 --- a/aai-core/src/test/java/org/openecomp/aai/logging/DME2RestFlagTest.java +++ b/aai-core/src/test/java/org/openecomp/aai/logging/DME2RestFlagTest.java @@ -7,9 +7,9 @@ * 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. -- cgit 1.2.3-korg