aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSInInterceptor.java2
-rw-r--r--aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSOutInterceptor.java2
-rw-r--r--aai-traversal/src/main/java/org/openecomp/aai/rest/search/ModelAndNamedQueryRestProvider.java4
-rw-r--r--aai-traversal/src/main/java/org/openecomp/aai/rest/search/SearchProvider.java5
4 files changed, 2 insertions, 11 deletions
diff --git a/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSInInterceptor.java b/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSInInterceptor.java
index 7480c05..a0ddeff 100644
--- a/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSInInterceptor.java
+++ b/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSInInterceptor.java
@@ -263,7 +263,7 @@ public class AAILogJAXRSInInterceptor extends JAXRSInInterceptor {
* @return the string
*/
protected String genDate() {
- FormatDate fd = new FormatDate(AAIConfig.get(AAIConstants.HBASE_TABLE_TIMESTAMP_FORMAT, "YYMMdd-HH:mm:ss:SSS"));
+ FormatDate fd = new FormatDate("YYMMdd-HH:mm:ss:SSS");
return fd.getDateTime();
}
diff --git a/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSOutInterceptor.java b/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSOutInterceptor.java
index 563500e..a168ad9 100644
--- a/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSOutInterceptor.java
+++ b/aai-traversal/src/main/java/org/openecomp/aai/interceptors/AAILogJAXRSOutInterceptor.java
@@ -267,7 +267,7 @@ public class AAILogJAXRSOutInterceptor extends JAXRSOutInterceptor {
}
protected String genDate() {
- FormatDate fd = new FormatDate(AAIConfig.get(AAIConstants.HBASE_TABLE_TIMESTAMP_FORMAT, "YYMMdd-HH:mm:ss:SSS"));
+ FormatDate fd = new FormatDate("YYMMdd-HH:mm:ss:SSS");
return fd.getDateTime();
}
diff --git a/aai-traversal/src/main/java/org/openecomp/aai/rest/search/ModelAndNamedQueryRestProvider.java b/aai-traversal/src/main/java/org/openecomp/aai/rest/search/ModelAndNamedQueryRestProvider.java
index f333dd8..b8c5cf9 100644
--- a/aai-traversal/src/main/java/org/openecomp/aai/rest/search/ModelAndNamedQueryRestProvider.java
+++ b/aai-traversal/src/main/java/org/openecomp/aai/rest/search/ModelAndNamedQueryRestProvider.java
@@ -95,8 +95,6 @@ public class ModelAndNamedQueryRestProvider extends RESTAPI {
response = searchGraph.runNamedQuery(fromAppId, transId, queryParameters, type, aaiExtMap);
String respTm = genDate();
- logTransaction(fromAppId, transId, "GETSDNZONERESPONSE",
- req.getRequestURI(), rqstTm, respTm, "", response);
} catch (AAIException e) {
// send error response
@@ -170,8 +168,6 @@ public class ModelAndNamedQueryRestProvider extends RESTAPI {
response = searchGraph.executeModelOperation(fromAppId, transId, inboundPayload, type, false, aaiExtMap);
}
String respTm = genDate();
- logTransaction(fromAppId, transId, "POSTMODELQUERYRESPONSE",
- req.getRequestURI(), rqstTm, respTm, "", response);
} catch (AAIException e) {
// send error response
diff --git a/aai-traversal/src/main/java/org/openecomp/aai/rest/search/SearchProvider.java b/aai-traversal/src/main/java/org/openecomp/aai/rest/search/SearchProvider.java
index 844f375..99339b9 100644
--- a/aai-traversal/src/main/java/org/openecomp/aai/rest/search/SearchProvider.java
+++ b/aai-traversal/src/main/java/org/openecomp/aai/rest/search/SearchProvider.java
@@ -132,9 +132,6 @@ public class SearchProvider extends RESTAPI {
);
String respTm = genDate();
- logTransaction(fromAppId, transId,
- "GETGENERICQUERYRESPONSE", req.getRequestURI(), rqstTm, respTm,
- "", searchResult);
} catch (AAIException e) {
// send error response
@@ -224,8 +221,6 @@ public class SearchProvider extends RESTAPI {
urlBuilder);
String respTm = genDate();
- logTransaction(fromAppId, transId, "GETNODESQUERYRESPONSE",
- req.getRequestURI(), rqstTm, respTm, "", searchResult);
} catch (AAIException e) {
// send error response
ex = e;