private String projectKey;
private String filePath;
private String tags;
- private boolean isFromHotspot;
// populate only when retrieving closed issue for issue tracking
private String closedChangeData;
import org.sonar.server.es.SearchOptions;
import org.sonar.server.measure.index.ProjectMeasuresIndex;
import org.sonar.server.measure.index.ProjectMeasuresStatistics;
-import org.sonar.server.organization.DefaultOrganizationProvider;
import org.sonar.server.platform.DockerSupport;
import org.sonar.server.property.InternalProperties;
import org.sonar.server.telemetry.TelemetryData.Database;
private Integer page;
private Integer pageSize;
private String query;
- private String language;
@CheckForNull
public String getOrganization() {
import com.google.common.io.Resources;
import java.util.Objects;
-import java.util.stream.Stream;
import org.sonar.api.server.ws.Change;
import org.sonar.api.server.ws.Request;
import org.sonar.api.server.ws.Response;
import org.sonar.api.server.ws.WebService;
import org.sonar.api.utils.System2;
-import org.sonar.core.util.stream.MoreCollectors;
import org.sonar.db.DbClient;
import org.sonar.db.DbSession;
import org.sonar.db.issue.IssueChangeDto;
import org.sonar.db.DbClient;
import org.sonar.db.DbSession;
import org.sonar.db.measure.SumNclocDbQuery;
-import org.sonar.server.organization.DefaultOrganizationProvider;
import org.sonar.server.user.UserSession;
import org.sonarqube.ws.Navigation;
*/
package org.sonar.server.user.ws;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
import javax.annotation.Nullable;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
-import static java.util.regex.Pattern.compile;
import static org.apache.commons.lang.StringUtils.isEmpty;
class EmailValidator {
}
- private void loadArrayDeprecated(Set<String> reportPaths, String propertyKey) {
- if (config.getOriginalProperties().containsKey(propertyKey)) {
- LOG.warn("Property '{}' is deprecated. Please use '{}' instead.", propertyKey, REPORT_PATHS_PROPERTY_KEY);
- reportPaths.addAll(Arrays.asList(config.getStringArray(propertyKey)));
- }
- }
-
- private void loadDeprecated(Set<String> reportPaths, String propertyKey) {
- if (config.getOriginalProperties().containsKey(propertyKey)) {
- LOG.warn("Property '{}' is deprecated. Please use '{}' instead.", propertyKey, REPORT_PATHS_PROPERTY_KEY);
- config.get(propertyKey).ifPresent(reportPaths::add);
- }
- }
-
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("Generic Coverage Report")
private static final String DASHBOARD = "dashboard";
private static final String BRANCH = "branch";
private static final String ID = "id";
- private static final String RESOLVED = "resolved";
private final DefaultScannerWsClient wsClient;
private final AnalysisContextReportPublisher contextPublisher;
@Override
public void publish(ScannerReportWriter writer) {
- final ScannerReport.Measure.Builder builder = ScannerReport.Measure.newBuilder();
for (final InputComponent c : componentStore.all()) {
DefaultInputComponent component = (DefaultInputComponent) c;