From 9b491bbf7b479e561809fc386807709392a3cf62 Mon Sep 17 00:00:00 2001 From: snoop Date: Mon, 11 Sep 2017 19:13:44 +0900 Subject: [PATCH] removed comment --- .../generator/service/InfraServiceGenerator.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/com/loafle/overflow/module/generator/service/InfraServiceGenerator.java b/src/main/java/com/loafle/overflow/module/generator/service/InfraServiceGenerator.java index 0351c16..45372a5 100644 --- a/src/main/java/com/loafle/overflow/module/generator/service/InfraServiceGenerator.java +++ b/src/main/java/com/loafle/overflow/module/generator/service/InfraServiceGenerator.java @@ -6,7 +6,6 @@ import com.loafle.overflow.module.auth.model.AuthCrawler; import com.loafle.overflow.module.auth.service.AuthCrawlerService; import com.loafle.overflow.module.infra.model.Infra; import com.loafle.overflow.module.infra.model.InfraService; -import com.loafle.overflow.module.meta.model.MetaCrawler; import com.loafle.overflow.module.meta.model.MetaSensorItemKey; import com.loafle.overflow.module.meta.type.MetaCrawlerEnum; import com.loafle.overflow.module.sensor.model.Sensor; @@ -101,16 +100,5 @@ public class InfraServiceGenerator { return target; } - private Map getAuth(MetaCrawler metaCrawler, com.loafle.overflow.module.infra.model.InfraService infraService) { - Map auth = new HashMap<>(); - - if(metaCrawler.getId() == MetaCrawlerEnum.MYSQL_CRAWLER.getValue()) { - auth.put("url", "jdbc:mysql://"+ StringConvertor.intToIp(infraService.getHost().getIp())+":"+String.valueOf(infraService.getPort())); - auth.put("id", "docker"); // FIXME: Auth Info - auth.put("pw", "qwer5795QWER"); // FIXME: Auth Info - } - - return auth; - } }