diff options
author | Maharajh, Robby (rx2202) <rx2202@att.com> | 2017-07-05 16:55:16 -0400 |
---|---|---|
committer | Maharajh, Robby (rx2202) <rx2202@att.com> | 2017-07-05 17:23:31 -0400 |
commit | 5cebb70cce7a3371b21006369569998902e3adde (patch) | |
tree | 3fd4b1bc4a450b72660ba062690669f09e8f16e0 | |
parent | 2108aabe58a7117c76470b053c15a53a6190ac5f (diff) |
[AAI-31] Removed references to removed constant
Removed reference to removed logTrans..
Change-Id: I1ea6051c54f41d7b7b2492bf6fc19099af0f1852
Signed-off-by: Maharajh, Robby (rx2202) <rx2202@att.com>
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; |