import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
public class LoggingSearchPropertyProvider implements PropertyProvider {
private static final Logger LOG = Logger.getLogger(LoggingSearchPropertyProvider.class);
private static final String CLUSTERS_PATH = "/api/v1/clusters";
<BUG>private static final String PATH_TO_SEARCH_ENGINE = "/logging/searchEngine";
private static AtomicInteger errorLogCounterForLogSearchConnectionExceptions = new AtomicInteger(0);</BUG>
@Inject
private AmbariManagementController ambariManagementController;
@Inject

import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
public class LoggingSearchPropertyProvider implements PropertyProvider {
private static final Logger LOG = Logger.getLogger(LoggingSearchPropertyProvider.class);
private static final String CLUSTERS_PATH = "/api/v1/clusters";
private static final String PATH_TO_SEARCH_ENGINE = "/logging/searchEngine";
private static final Set<RoleAuthorization> REQUIRED_AUTHORIZATIONS = EnumSet.of(RoleAuthorization.SERVICE_VIEW_OPERATIONAL_LOGS);
private static AtomicInteger errorLogCounterForLogSearchConnectionExceptions = new AtomicInteger(0);
@Inject
private AmbariManagementController ambariManagementController;
@Inject
