
com.capitalone.dashboard.repository.SonarProjectRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-codequality-collector Show documentation
Show all versions of sonar-codequality-collector Show documentation
CodeQuality Collector Microservices currently collects data from Sonar
package com.capitalone.dashboard.repository;
import com.capitalone.dashboard.model.SonarProject;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.Query;
import java.util.List;
public interface SonarProjectRepository extends BaseCollectorItemRepository {
@Query(value="{ 'collectorId' : ?0, options.instanceUrl : ?1, options.projectId : ?2}")
SonarProject findSonarProject(ObjectId collectorId, String instanceUrl, String projectId);
@Query(value="{ 'collectorId' : ?0, options.instanceUrl : ?1, enabled: true}")
List findEnabledProjects(ObjectId collectorId, String instanceUrl);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy