
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 hygieia-common Show documentation
Show all versions of hygieia-common Show documentation
Core package shared by API layer and Microservices
The newest version!
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);
@Query(value="{ 'collectorId' : ?0, options.instanceUrl : ?1, options.projectName : ?2}")
SonarProject findSonarProjectByProjectName(ObjectId collectorId, String instanceUrl, String projectName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy