| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| NamespaceRepository |
|
| 1.0;1 |
| 1 | package com.ctrip.apollo.biz.repository; | |
| 2 | ||
| 3 | import java.util.List; | |
| 4 | ||
| 5 | import org.springframework.data.repository.PagingAndSortingRepository; | |
| 6 | ||
| 7 | import com.ctrip.apollo.biz.entity.Namespace; | |
| 8 | ||
| 9 | public interface NamespaceRepository extends PagingAndSortingRepository<Namespace, Long> { | |
| 10 | ||
| 11 | List<Namespace> findByAppIdAndClusterName(String appId, String clusterName); | |
| 12 | ||
| 13 | Namespace findByAppIdAndClusterNameAndNamespaceName(String appId, String clusterName, String namespaceName); | |
| 14 | } |