817818819820821822823824825826827
// TODO fix config versions to configs conversion Map<String, Config> configs = new HashMap<String, Config>(); if (request.getConfigVersions() != null) { } sch.updateDesiredConfigs(configs); sc.addServiceComponentHost(sch); sch.persist(); } }
26622663266426652666266726682669267026712672
Config config = cluster.getDesiredConfig( entry.getKey(), entry.getValue()); updated.put(config.getType(), config); if (!updated.isEmpty()) { sch.updateDesiredConfigs(updated); sch.persist(); } } } }
875876877878879880881882883884885
33353336333733383339334033413342334333443345
Config config = cluster.getConfig( entry.getKey(), entry.getValue()); updated.put(config.getType(), config); if (!updated.isEmpty()) { sch.updateDesiredConfigs(updated); } } } }