Search in sources :

Example 1 with StormTopologyValidator

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();
    }
}
Also used : StormTopologyValidator(com.hortonworks.streamline.streams.layout.storm.StormTopologyValidator)

Aggregations

StormTopologyValidator (com.hortonworks.streamline.streams.layout.storm.StormTopologyValidator)1