
pl.allegro.tech.hermes.management.domain.console.ConsoleService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-management Show documentation
Show all versions of hermes-management Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.management.domain.console;
import org.springframework.stereotype.Service;
@Service
public class ConsoleService {
private ConsoleConfigurationRepository repository;
public ConsoleService(ConsoleConfigurationRepository repository) {
this.repository = repository;
}
public String getConfiguration() {
return "var config = " + repository.getConfiguration();
}
public String getConfigurationJson() {
return repository.getConfiguration();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy