com.capitalone.dashboard.repository.SubversionRepoRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subversion-collector Show documentation
Show all versions of subversion-collector Show documentation
Subversion collector micorservice
package com.capitalone.dashboard.repository;
import com.capitalone.dashboard.model.SubversionRepo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.Query;
import java.util.List;
public interface SubversionRepoRepository extends BaseCollectorItemRepository {
@Query(value="{ 'collectorId' : ?0, options.url : ?1}")
SubversionRepo findSubversionRepo(ObjectId collectorId, String url);
@Query(value="{ 'collectorId' : ?0, enabled: true}")
List findEnabledSubversionRepos(ObjectId collectorId);
}