diff options
author | 2017-08-28 14:08:13 -0400 | |
---|---|---|
committer | 2017-08-28 14:08:48 -0400 | |
commit | 8dd94f5ef470840a9f58db22c38349914ff27d5f (patch) | |
tree | 2e05512b5029df9651ad9a28b4e13e6e60fb8882 /aai-core/src/main/java/org/openecomp | |
parent | 96b13192b906304b01b5301b240efae87ec89ecf (diff) |
[AAI-217 Amsterdam] Remove the att references in
the schema and core files
Change-Id: Id1b3469ba298b2137665e8ad16b4d74121d434a2
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-core/src/main/java/org/openecomp')
-rw-r--r-- | aai-core/src/main/java/org/openecomp/aai/dbgen/SchemaGenerator.java | 22 | ||||
-rw-r--r-- | aai-core/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java | 2 |
2 files changed, 1 insertions, 23 deletions
diff --git a/aai-core/src/main/java/org/openecomp/aai/dbgen/SchemaGenerator.java b/aai-core/src/main/java/org/openecomp/aai/dbgen/SchemaGenerator.java index c3f55cdd..9f85d029 100644 --- a/aai-core/src/main/java/org/openecomp/aai/dbgen/SchemaGenerator.java +++ b/aai-core/src/main/java/org/openecomp/aai/dbgen/SchemaGenerator.java @@ -186,28 +186,6 @@ public class SchemaGenerator{ LOGGER.info(imsg); graphMgmt.commit(); - if (addDefaultCR) { - if (!graph.traversal().V().has("cloud-owner", "att-aic").has("cloud-region-id", "AAIAIC25").hasNext()) { - imsg = "Adding default cloud region to graph..."; - System.out.println(imsg); - LOGGER.info(imsg); - final Vertex cloudRegion = graph.addVertex(); - - final String ts = String.valueOf(System.currentTimeMillis() / 1000L); - - cloudRegion.property("aai-node-type", "cloud-region"); - cloudRegion.property("cloud-owner", "att-aic"); - cloudRegion.property("cloud-region-id", "AAIAIC25"); - cloudRegion.property("cloud-region-version", "2.5"); - cloudRegion.property("complex-name", "AAIAIC25"); - cloudRegion.property("aai-created-ts", ts); - cloudRegion.property("resource-version", ts); - cloudRegion.property("source-of-truth", "aai-schema-loader"); - cloudRegion.property("last-mod-source-of-truth", "aai-schema-loader"); - cloudRegion.property(AAIProperties.AAI_URI, "/cloud-infrastructure/cloud-regions/cloud-region/att-aic/AAIAIC25"); - graph.tx().commit(); - } - } }// End of loadSchemaIntoTitan() } diff --git a/aai-core/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java b/aai-core/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java index 2d47d38a..29fa69dc 100644 --- a/aai-core/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java +++ b/aai-core/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java @@ -147,7 +147,7 @@ public class StoreNotificationEvent { throw new AAIException("AAI_7350"); } - DynamicEntity notificationEvent = notificationJaxbContext.getDynamicType("inventory.aai.att.com." + notificationVersion + ".NotificationEvent").newDynamicEntity(); + DynamicEntity notificationEvent = notificationJaxbContext.getDynamicType("inventory.aai.onap.org." + notificationVersion + ".NotificationEvent").newDynamicEntity(); if (eventHeader.get("id") == null) { eventHeader.set("id", genDate2() + "-" + UUID.randomUUID().toString()); |