All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.capitalone.dashboard.repository.ChatOpsRepository Maven / Gradle / Ivy

package com.capitalone.dashboard.repository;

import com.capitalone.dashboard.model.ChatOpsRepo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.Query;

import java.util.List;

public interface ChatOpsRepository extends BaseCollectorItemRepository {

    @Query(value="{ 'collectorId' : ?0, options.repoUrl : ?1, options.branch : ?2}")
    ChatOpsRepo findChatOpsRepo(ObjectId collectorId, String url, String branch);
//
    @Query(value="{ 'collectorId' : ?0, enabled: true}")
    List findEnabledChatOpsRepos(ObjectId collectorId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy