APPC CDT Future timestamp issue fix -new HTTP req
[appc.git] / appc-inbound / appc-design-services / provider / src / main / java / org / onap / appc / design / dbervices / DbResponseProcessor.java
index a2a9226..229e61c 100644 (file)
@@ -33,12 +33,15 @@ public class DbResponseProcessor {
     private static final EELFLogger log = EELFManager.getInstance().getLogger(DbResponseProcessor.class);
     public String parseResponse(String dbresposne, String action) throws Exception {
         
-        log.info("Starting Parsing the response for action : " + action +  "\n data "  + dbresposne );
+        log.info("Starting Parsing the response for action :[" + action +  "]\n data:[" + dbresposne +"]" );
         String response ;         
         switch (action) {
         case DesignServiceConstants.GETDESIGNS:
             response =  getDesignsResponse(dbresposne);
             break;
+        case DesignServiceConstants.GETAPPCTIMESTAMPUTC:
+            response = getAppcTimestampResponse(dbresposne);
+            break;
         case DesignServiceConstants.ADDINCART:
             response =  getAddInCartResponse(dbresposne);
             break ;
@@ -106,4 +109,9 @@ public class DbResponseProcessor {
         return dbresposne;
         
     }
+
+    private String getAppcTimestampResponse(String dbresposne) {
+        log.info("getAppcTimestampResponse:["  + dbresposne +"]" );
+        return dbresposne;
+    }
 }