aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-08-11 16:17:24 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-08-11 16:17:28 -0400
commitc3a75eabd29ea6a8738e818abdf0ffa0ecdcebae (patch)
treebfec3848098e98a855c7be9a4825fd8460965f52 /aai-traversal
parent475beb0e12a1a36deac965a9197ba9af966b6c8a (diff)
[AAI-161 Amsterdam] Fix the timestamp for dmaap
Change-Id: I3a0e569373ad525a999aa54b5a78dac8ec810ccb Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal')
-rw-r--r--aai-traversal/bundleconfig-local/etc/query/stored-queries.properties2
-rw-r--r--aai-traversal/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
index 46e2148..808f16f 100644
--- a/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
+++ b/aai-traversal/bundleconfig-local/etc/query/stored-queries.properties
@@ -156,7 +156,7 @@ vnf-topology-fromVfModule=in('has').has('aai-node-type', 'generic-vnf').store('x
)\
).cap('x').unfold().dedup()
-cloudRegion-fromCountry=in('locatedIn').has('aai-node-type','cloud-region')\
+cloudRegion-fromCountry = in('locatedIn').has('aai-node-type','cloud-region')\
.store('x').cap('x').unfold().dedup()
cloudRegion-fromCountryCloudRegionVersion=in('locatedIn').has('aai-node-type','cloud-region').has('cloud-region-version', cloudRegionVersion)\
.store('x').cap('x').unfold().dedup()
diff --git a/aai-traversal/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java b/aai-traversal/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java
index e054e3d..623df0c 100644
--- a/aai-traversal/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java
+++ b/aai-traversal/src/main/java/org/openecomp/aai/util/StoreNotificationEvent.java
@@ -320,7 +320,7 @@ public class StoreNotificationEvent {
* @return the string
*/
public static String genDate() {
- FormatDate fd = new FormatDate("YYMMdd-HH:mm:ss:SSS");
+ FormatDate fd = new FormatDate("YYYYMMdd-HH:mm:ss:SSS");
return fd.getDateTime();
}