All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.allegro.tech.hermes.management.domain.console.ConsoleService Maven / Gradle / Ivy

There is a newer version: 2.10.4
Show newest version
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