use of com.hortonworks.streamline.streams.layout.storm.StormTopologyValidator in project streamline by hortonworks.
the class StormTopologyActionsImpl method validate.
@Override
public void validate(TopologyLayout topology) throws Exception {
Map<String, Object> topologyConfig = topology.getConfig().getProperties();
if (!topologyConfig.isEmpty()) {
StormTopologyValidator validator = new StormTopologyValidator(topologyConfig, this.catalogRootUrl);
validator.validate();
}
}
Aggregations