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; - } }