summaryrefslogtreecommitdiffstats
path: root/aai-core/src
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-09-19 02:39:34 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-09-19 09:41:10 -0400
commitea3d0f7abb976c0e8557d0d3d12da2fb91ad0d08 (patch)
treebdaacfc502a8da0ff6aff603749f812eba016742 /aai-core/src
parent34f82fce815c23f0ae3df3643ee262af396c236c (diff)
Remove any remaining db edge rules references
Issue-ID: AAI-309 Change-Id: I58a3b66ce34b49e51245a279fcaf3dee11f5a86e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-core/src')
-rw-r--r--aai-core/src/main/java/org/openecomp/aai/serialization/db/EdgeRules.java7
-rw-r--r--aai-core/src/test/java/org/openecomp/aai/logging/DME2RestFlagTest.java4
2 files changed, 2 insertions, 9 deletions
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.