use of org.openkilda.messaging.command.system.FeatureToggleRequest in project open-kilda by telstra.
the class FeatureTogglesServiceImpl method toggleFeatures.
@Override
public void toggleFeatures(FeatureTogglePayload dto) {
LOGGER.debug("Processing request to toggle features, new properties are {}", dto);
FeatureToggleRequest request = mapper.toRequest(dto);
CommandMessage message = new CommandMessage(request, System.currentTimeMillis(), UUID.randomUUID().toString(), Destination.TOPOLOGY_ENGINE);
messageProducer.send(topoEngTopic, message);
}
Aggregations