kongwz 6 年 前
コミット
b066be014c

+ 2 - 1
push-web/src/main/java/org/diagbot/push/controller/GraphController.java

@@ -93,7 +93,8 @@ public class GraphController extends BaseController {
     @RequestMapping(value = "/scale", method = RequestMethod.POST)
     @ResponseBody
     public Map<String, Object> scale(HttpServletRequest request, @RequestBody SearchData searchData) throws Exception {
-        Driver driver = DriverManager.newDrive("192.168.2.233", "neo4j", "root");
+//        Driver driver = DriverManager.newDrive("192.168.2.233", "neo4j", "root");
+        Driver driver = DriverManager.newDrive();
         Neo4jAPI neo4jAPI = new Neo4jAPI(driver);
         Set<String> inputs = searchData.getInputs().keySet();
         String[] input = inputs.toArray(new String[inputs.size()]);