Update get operation status part
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / common / util / CommonUtil.java
index add35c2..18e8d77 100644 (file)
@@ -31,10 +31,15 @@ public final class CommonUtil {
        private static final Logger logger = LoggerFactory.getLogger(CommonUtil.class);
        
        public static String getJsonStrFromFile(String filePath) throws IOException {
+        String fileName = getAppRoot() + filePath;
+        String fileContent = getJsonStrFromFilePath(fileName);
+               return fileContent;
+       }
+
+       public static String getJsonStrFromFilePath(String fileName) throws IOException {
                InputStream ins = null;
         BufferedInputStream bins = null;
         String fileContent = "";
-        String fileName = getAppRoot() + filePath;
 
         try {
             ins = new FileInputStream(fileName);