SYMBOL INDEX (5943 symbols across 765 files) FILE: .mvn/wrapper/MavenWrapperDownloader.java class MavenWrapperDownloader (line 25) | public class MavenWrapperDownloader { method main (line 51) | public static void main(String args[]) { method downloadFileFromURL (line 100) | private static void downloadFileFromURL(String urlString, File destina... FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/AdminServiceApplication.java class AdminServiceApplication (line 32) | @EnableAspectJAutoProxy method main (line 41) | public static void main(String[] args) { FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/AdminServiceAssemblyConfiguration.java class AdminServiceAssemblyConfiguration (line 27) | @Profile("assembly") method adminServiceAssemblySecurityFilterChain (line 31) | @Bean FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/AdminServiceAutoConfiguration.java class AdminServiceAutoConfiguration (line 25) | @Configuration method AdminServiceAutoConfiguration (line 30) | public AdminServiceAutoConfiguration(final BizConfig bizConfig) { method adminServiceAuthenticationFilter (line 34) | @Bean FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/AdminServiceHealthIndicator.java class AdminServiceHealthIndicator (line 25) | @Component method AdminServiceHealthIndicator (line 30) | public AdminServiceHealthIndicator(final AppService appService) { method health (line 34) | @Override method check (line 40) | private void check() { FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/ServletInitializer.java class ServletInitializer (line 27) | public class ServletInitializer extends SpringBootServletInitializer { method configure (line 29) | @Override FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/aop/NamespaceAcquireLockAspect.java class NamespaceAcquireLockAspect (line 43) | @Aspect method NamespaceAcquireLockAspect (line 53) | public NamespaceAcquireLockAspect(final NamespaceLockService namespace... method requireLockAdvice (line 64) | @Before( method requireLockAdvice (line 73) | @Before( method requireLockAdvice (line 82) | @Before( method requireLockAdvice (line 91) | @Before(value = "@annotation(PreAcquireNamespaceLock) && args(itemId, ... method acquireLock (line 101) | void acquireLock(String appId, String clusterName, String namespaceNam... method acquireLock (line 111) | void acquireLock(long namespaceId, String currentUser) { method acquireLock (line 122) | private void acquireLock(Namespace namespace, String currentUser) { method tryLock (line 148) | private void tryLock(long namespaceId, String user) { method checkLock (line 156) | private void checkLock(Namespace namespace, NamespaceLock namespaceLoc... FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/aop/NamespaceUnlockAspect.java class NamespaceUnlockAspect (line 52) | @Aspect method NamespaceUnlockAspect (line 64) | public NamespaceUnlockAspect(final NamespaceLockService namespaceLockS... method requireLockAdvice (line 76) | @After( method requireLockAdvice (line 85) | @After( method requireLockAdvice (line 94) | @After( method requireLockAdvice (line 103) | @After(value = "@annotation(PreAcquireNamespaceLock) && args(itemId, o... method tryUnlock (line 113) | private void tryUnlock(Namespace namespace) { method isModified (line 124) | boolean isModified(Namespace namespace) { method hasNormalItems (line 143) | private boolean hasNormalItems(List items) { method generateConfigurationFromItems (line 153) | private Map generateConfigurationFromItems(Namespace n... method generateMapFromItems (line 173) | private Map generateMapFromItems(List items, FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AccessKeyController.java class AccessKeyController (line 38) | @RestController method AccessKeyController (line 43) | public AccessKeyController(AccessKeyService accessKeyService) { method create (line 47) | @PostMapping(value = "/apps/{appId}/accesskeys") method findByAppId (line 54) | @GetMapping(value = "/apps/{appId}/accesskeys") method delete (line 60) | @DeleteMapping(value = "/apps/{appId}/accesskeys/{id}") method enable (line 65) | @PutMapping(value = "/apps/{appId}/accesskeys/{id}/enable") method disable (line 77) | @PutMapping(value = "/apps/{appId}/accesskeys/{id}/disable") FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AppController.java class AppController (line 41) | @RestController method AppController (line 47) | public AppController(final AppService appService, final AdminService a... method create (line 52) | @PostMapping("/apps") method delete (line 65) | @DeleteMapping("/apps/{appId:.+}") method update (line 74) | @PutMapping("/apps/{appId:.+}") method find (line 83) | @GetMapping("/apps") method get (line 95) | @GetMapping("/apps/{appId:.+}") method isAppIdUnique (line 104) | @GetMapping("/apps/{appId}/unique") FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AppNamespaceController.java class AppNamespaceController (line 40) | @RestController method AppNamespaceController (line 46) | public AppNamespaceController(final AppNamespaceService appNamespaceSe... method create (line 52) | @PostMapping("/apps/{appId}/appnamespaces") method delete (line 77) | @DeleteMapping("/apps/{appId}/appnamespaces/{namespaceName:.+}") method findPublicAppNamespaceAllNamespaces (line 87) | @GetMapping("/appnamespaces/{publicNamespaceName}/namespaces") method countPublicAppNamespaceAssociatedNamespaces (line 97) | @GetMapping("/appnamespaces/{publicNamespaceName}/associated-namespace... method getAppNamespaces (line 102) | @GetMapping("/apps/{appId}/appnamespaces") FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ClusterController.java class ClusterController (line 37) | @RestController method ClusterController (line 42) | public ClusterController(final ClusterService clusterService) { method create (line 46) | @PostMapping("/apps/{appId}/clusters") method delete (line 66) | @DeleteMapping("/apps/{appId}/clusters/{clusterName:.+}") method find (line 83) | @GetMapping("/apps/{appId}/clusters") method get (line 89) | @GetMapping("/apps/{appId}/clusters/{clusterName:.+}") method isAppIdUnique (line 99) | @GetMapping("/apps/{appId}/cluster/{clusterName}/unique") FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/CommitController.java class CommitController (line 33) | @RestController method CommitController (line 38) | public CommitController(final CommitService commitService) { method find (line 42) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/IndexController.java class IndexController (line 23) | @RestController method index (line 27) | @GetMapping FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/InstanceConfigController.java class InstanceConfigController (line 55) | @RestController method InstanceConfigController (line 63) | public InstanceConfigController(final ReleaseService releaseService, method getByRelease (line 69) | @GetMapping("/by-release") method getByReleasesNotIn (line 116) | @GetMapping("/by-namespace-and-releases-not-in") method getInstancesByNamespace (line 179) | @GetMapping("/by-namespace") method getInstancesCountByNamespace (line 199) | @GetMapping("/by-namespace/count") FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ItemController.java class ItemController (line 55) | @RestController method ItemController (line 64) | public ItemController(final ItemService itemService, final NamespaceSe... method create (line 74) | @PreAcquireNamespaceLock method createComment (line 103) | @PostMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespa... method update (line 130) | @PreAcquireNamespaceLock method delete (line 171) | @PreAcquireNamespaceLock method findItems (line 188) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method findDeletedItems (line 196) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method getItemInfoBySearch (line 222) | @GetMapping("/items-search/key-and-value") method get (line 230) | @GetMapping("/items/{itemId}") method get (line 239) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method getByEncodedKey (line 250) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method findItemsByNamespace (line 258) | @GetMapping( FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ItemSetController.java class ItemSetController (line 29) | @RestController method ItemSetController (line 34) | public ItemSetController(final ItemSetService itemSetService) { method create (line 38) | @PreAcquireNamespaceLock FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceBranchController.java class NamespaceBranchController (line 42) | @RestController method NamespaceBranchController (line 49) | public NamespaceBranchController(final MessageSender messageSender, method createBranch (line 58) | @PostMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespa... method findBranchGrayRules (line 70) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method updateBranchGrayRules (line 92) | @Transactional method deleteBranch (line 113) | @Transactional method loadNamespaceBranch (line 130) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method checkBranch (line 144) | private void checkBranch(String appId, String clusterName, String name... method checkNamespace (line 159) | private void checkNamespace(String appId, String clusterName, String n... FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceController.java class NamespaceController (line 41) | @RestController method NamespaceController (line 46) | public NamespaceController(final NamespaceService namespaceService) { method create (line 50) | @PostMapping("/apps/{appId}/clusters/{clusterName}/namespaces") method delete (line 65) | @DeleteMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{names... method find (line 77) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces") method get (line 84) | @GetMapping("/namespaces/{namespaceId}") method findByItem (line 96) | @GetMapping("/namespaces/find-by-item") method get (line 106) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method findPublicNamespaceForAssociatedNamespace (line 117) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method namespacePublishInfo (line 133) | @GetMapping("/apps/{appId}/namespaces/publish_info") FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceLockController.java class NamespaceLockController (line 31) | @RestController method NamespaceLockController (line 38) | public NamespaceLockController(final NamespaceLockService namespaceLoc... method getNamespaceLockOwner (line 45) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ReleaseController.java class ReleaseController (line 48) | @RestController method ReleaseController (line 59) | public ReleaseController(final ReleaseService releaseService, method get (line 69) | @GetMapping("/releases/{releaseId}") method findReleaseByIds (line 78) | @GetMapping("/releases") method findAllReleases (line 88) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method findActiveReleases (line 98) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method getLatest (line 107) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method publish (line 115) | @Transactional method updateAndPublish (line 150) | @Transactional method rollback (line 182) | @Transactional method publish (line 204) | @Transactional FILE: apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ReleaseHistoryController.java class ReleaseHistoryController (line 41) | @RestController method ReleaseHistoryController (line 50) | public ReleaseHistoryController(final ReleaseHistoryService releaseHis... method findReleaseHistoriesByNamespace (line 54) | @GetMapping("/apps/{appId}/clusters/{clusterName}/namespaces/{namespac... method findReleaseHistoryByReleaseIdAndOperation (line 64) | @GetMapping("/releases/histories/by_release_id_and_operation") method findReleaseHistoryByPreviousReleaseIdAndOperation (line 75) | @GetMapping("/releases/histories/by_previous_release_id_and_operation") method transform2PageDTO (line 87) | private PageDTO transform2PageDTO(Page propertySources) { FILE: apollo-assembly/src/main/java/com/ctrip/framework/apollo/assembly/ApolloApplication.java class ApolloApplication (line 36) | @SpringBootApplication( method main (line 46) | public static void main(String[] args) throws Exception { FILE: apollo-assembly/src/test/java/com/ctrip/framework/apollo/assembly/LocalApolloApplication.java class LocalApolloApplication (line 33) | @SpringBootApplication( method main (line 39) | public static void main(String[] args) throws Exception { FILE: apollo-audit/apollo-audit-annotation/src/main/java/com/ctrip/framework/apollo/audit/annotation/OpType.java type OpType (line 25) | public enum OpType { FILE: apollo-audit/apollo-audit-api/src/main/java/com/ctrip/framework/apollo/audit/api/ApolloAuditLogApi.java type ApolloAuditLogApi (line 25) | public interface ApolloAuditLogApi extends ApolloAuditLogRecordApi, Apol... FILE: apollo-audit/apollo-audit-api/src/main/java/com/ctrip/framework/apollo/audit/api/ApolloAuditLogQueryApi.java type ApolloAuditLogQueryApi (line 31) | public interface ApolloAuditLogQueryApi { method queryLogs (line 40) | List queryLogs(int page, int size); method queryLogsByOpName (line 52) | List queryLogsByOpName(String opName, Date startDat... method queryTraceDetails (line 73) | List queryTraceDetails(String traceId); method queryDataInfluencesByField (line 85) | List queryDataInfluencesByField(String... method searchLogByNameOrTypeOrOperator (line 96) | List searchLogByNameOrTypeOrOperator(String query, ... FILE: apollo-audit/apollo-audit-api/src/main/java/com/ctrip/framework/apollo/audit/api/ApolloAuditLogRecordApi.java type ApolloAuditLogRecordApi (line 28) | public interface ApolloAuditLogRecordApi { method appendAuditLog (line 42) | AutoCloseable appendAuditLog(OpType type, String name); method appendAuditLog (line 56) | AutoCloseable appendAuditLog(OpType type, String name, String descript... method appendDataInfluence (line 69) | void appendDataInfluence(String entityName, String entityId, String fi... method appendDataInfluences (line 83) | void appendDataInfluences(List entities, Class beanDefiniti... FILE: apollo-audit/apollo-audit-api/src/main/java/com/ctrip/framework/apollo/audit/dto/ApolloAuditLogDTO.java class ApolloAuditLogDTO (line 21) | public class ApolloAuditLogDTO { method getId (line 34) | public long getId() { method setId (line 38) | public void setId(long id) { method getTraceId (line 42) | public String getTraceId() { method setTraceId (line 46) | public void setTraceId(String traceId) { method getSpanId (line 50) | public String getSpanId() { method setSpanId (line 54) | public void setSpanId(String spanId) { method getParentSpanId (line 58) | public String getParentSpanId() { method setParentSpanId (line 62) | public void setParentSpanId(String parentSpanId) { method getFollowsFromSpanId (line 66) | public String getFollowsFromSpanId() { method setFollowsFromSpanId (line 70) | public void setFollowsFromSpanId(String followsFromSpanId) { method getOperator (line 74) | public String getOperator() { method setOperator (line 78) | public void setOperator(String operator) { method getOpType (line 82) | public String getOpType() { method setOpType (line 86) | public void setOpType(String opType) { method getOpName (line 90) | public String getOpName() { method setOpName (line 94) | public void setOpName(String opName) { method getDescription (line 98) | public String getDescription() { method setDescription (line 102) | public void setDescription(String description) { method getHappenedTime (line 106) | public Date getHappenedTime() { method setHappenedTime (line 110) | public void setHappenedTime(Date happenedTime) { FILE: apollo-audit/apollo-audit-api/src/main/java/com/ctrip/framework/apollo/audit/dto/ApolloAuditLogDataInfluenceDTO.java class ApolloAuditLogDataInfluenceDTO (line 21) | public class ApolloAuditLogDataInfluenceDTO { method getId (line 32) | public long getId() { method setId (line 36) | public void setId(long id) { method getSpanId (line 40) | public String getSpanId() { method setSpanId (line 44) | public void setSpanId(String spanId) { method getInfluenceEntityName (line 48) | public String getInfluenceEntityName() { method setInfluenceEntityName (line 52) | public void setInfluenceEntityName(String influenceEntityName) { method getInfluenceEntityId (line 56) | public String getInfluenceEntityId() { method setInfluenceEntityId (line 60) | public void setInfluenceEntityId(String influenceEntityId) { method getFieldName (line 64) | public String getFieldName() { method setFieldName (line 68) | public void setFieldName(String fieldName) { method getFieldOldValue (line 72) | public String getFieldOldValue() { method setFieldOldValue (line 76) | public void setFieldOldValue(String fieldOldValue) { method getFieldNewValue (line 80) | public String getFieldNewValue() { method setFieldNewValue (line 84) | public void setFieldNewValue(String fieldNewValue) { method getHappenedTime (line 88) | public Date getHappenedTime() { method setHappenedTime (line 92) | public void setHappenedTime(Date happenedTime) { FILE: apollo-audit/apollo-audit-api/src/main/java/com/ctrip/framework/apollo/audit/dto/ApolloAuditLogDetailsDTO.java class ApolloAuditLogDetailsDTO (line 24) | public class ApolloAuditLogDetailsDTO { method ApolloAuditLogDetailsDTO (line 29) | public ApolloAuditLogDetailsDTO(ApolloAuditLogDTO logDTO, method ApolloAuditLogDetailsDTO (line 35) | public ApolloAuditLogDetailsDTO() {} method getLogDTO (line 37) | public ApolloAuditLogDTO getLogDTO() { method setLogDTO (line 41) | public void setLogDTO(ApolloAuditLogDTO logDTO) { method getDataInfluenceDTOList (line 45) | public List getDataInfluenceDTOList() { method setDataInfluenceDTOList (line 49) | public void setDataInfluenceDTOList(List beanDefinition, Objec... method getBeanDefinition (line 29) | public Class getBeanDefinition() { method setBeanDefinition (line 33) | public void setBeanDefinition(Class beanDefinition) { method getEntity (line 37) | public Object getEntity() { method setEntity (line 41) | public void setEntity(Object entity) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/ApolloAuditProperties.java class ApolloAuditProperties (line 21) | @ConfigurationProperties(prefix = "apollo.audit.log") method isEnabled (line 26) | public boolean isEnabled() { method setEnabled (line 30) | public void setEnabled(boolean enabled) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/ApolloAuditRegistrar.java class ApolloAuditRegistrar (line 24) | public class ApolloAuditRegistrar implements ImportBeanDefinitionRegistr... method registerBeanDefinitions (line 26) | @Override FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/aop/ApolloAuditSpanAspect.java class ApolloAuditSpanAspect (line 37) | @Aspect method ApolloAuditSpanAspect (line 42) | public ApolloAuditSpanAspect(ApolloAuditLogApi api) { method setAuditSpan (line 46) | @Pointcut("@annotation(auditLog)") method around (line 49) | @Around(value = "setAuditSpan(auditLog)") method auditDataInfluenceArg (line 60) | void auditDataInfluenceArg(ProceedingJoinPoint pjp) { method findMethod (line 93) | Method findMethod(ProceedingJoinPoint pjp) { method parseArgAndAppend (line 108) | void parseArgAndAppend(String entityName, String fieldName, Object arg) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/component/ApolloAuditHttpInterceptor.java class ApolloAuditHttpInterceptor (line 26) | public class ApolloAuditHttpInterceptor implements ClientHttpRequestInte... method ApolloAuditHttpInterceptor (line 30) | public ApolloAuditHttpInterceptor(ApolloAuditTraceContext traceContext) { method intercept (line 34) | @Override FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/component/ApolloAuditLogApiJpaImpl.java class ApolloAuditLogApiJpaImpl (line 38) | public class ApolloAuditLogApiJpaImpl implements ApolloAuditLogApi { method ApolloAuditLogApiJpaImpl (line 44) | public ApolloAuditLogApiJpaImpl(ApolloAuditLogService logService, method appendAuditLog (line 52) | @Override method appendAuditLog (line 57) | @Override method appendDataInfluence (line 69) | @Override method appendDataInfluences (line 97) | @Override method queryLogs (line 124) | @Override method queryLogsByOpName (line 129) | @Override method queryTraceDetails (line 139) | @Override method queryDataInfluencesByField (line 149) | @Override method searchLogByNameOrTypeOrOperator (line 156) | @Override FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/component/ApolloAuditLogApiNoOpImpl.java class ApolloAuditLogApiNoOpImpl (line 28) | public class ApolloAuditLogApiNoOpImpl implements ApolloAuditLogApi { method appendAuditLog (line 32) | @Override method appendAuditLog (line 37) | @Override method appendDataInfluence (line 43) | @Override method appendDataInfluences (line 47) | @Override method queryLogs (line 50) | @Override method queryLogsByOpName (line 55) | @Override method queryTraceDetails (line 61) | @Override method queryDataInfluencesByField (line 66) | @Override method searchLogByNameOrTypeOrOperator (line 72) | @Override FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/constants/ApolloAuditConstants.java type ApolloAuditConstants (line 19) | public interface ApolloAuditConstants { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/context/ApolloAuditScope.java class ApolloAuditScope (line 19) | public class ApolloAuditScope implements AutoCloseable { method ApolloAuditScope (line 27) | public ApolloAuditScope(ApolloAuditSpan activeSpan, ApolloAuditScopeMa... method activeSpan (line 34) | public ApolloAuditSpan activeSpan() { method close (line 38) | @Override method getLastSpanId (line 47) | public String getLastSpanId() { method setLastSpanId (line 51) | public void setLastSpanId(String lastSpanId) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/context/ApolloAuditScopeManager.java class ApolloAuditScopeManager (line 19) | public class ApolloAuditScopeManager { method ApolloAuditScopeManager (line 23) | public ApolloAuditScopeManager() {} method activate (line 25) | public ApolloAuditScope activate(ApolloAuditSpan span) { method deactivate (line 30) | public void deactivate() { method activeSpan (line 34) | public ApolloAuditSpan activeSpan() { method getScope (line 38) | public ApolloAuditScope getScope() { method setScope (line 42) | public void setScope(ApolloAuditScope scope) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/context/ApolloAuditSpan.java class ApolloAuditSpan (line 22) | public class ApolloAuditSpan { method context (line 32) | public ApolloAuditSpanContext context() { method finish (line 37) | public void finish() { method log (line 41) | public void log() {} method spanId (line 44) | public String spanId() { method operator (line 48) | public String operator() { method traceId (line 52) | public String traceId() { method parentId (line 56) | public String parentId() { method followsFromId (line 60) | public String followsFromId() { method getOpType (line 64) | public OpType getOpType() { method setOpType (line 68) | public void setOpType(OpType opType) { method getOpName (line 72) | public String getOpName() { method setOpName (line 76) | public void setOpName(String opName) { method getDescription (line 80) | public String getDescription() { method setDescription (line 84) | public void setDescription(String description) { method getContext (line 88) | public ApolloAuditSpanContext getContext() { method setContext (line 92) | public void setContext(ApolloAuditSpanContext context) { method getStartTime (line 96) | public Date getStartTime() { method setStartTime (line 100) | public void setStartTime(Date startTime) { method getEndTime (line 104) | public Date getEndTime() { method setEndTime (line 108) | public void setEndTime(Date endTime) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/context/ApolloAuditSpanContext.java class ApolloAuditSpanContext (line 19) | public class ApolloAuditSpanContext { method ApolloAuditSpanContext (line 27) | public ApolloAuditSpanContext(String traceId, String spanId) { method ApolloAuditSpanContext (line 32) | public ApolloAuditSpanContext(String traceId, String spanId, String op... method getTraceId (line 41) | public String getTraceId() { method setTraceId (line 45) | public void setTraceId(String traceId) { method getSpanId (line 49) | public String getSpanId() { method setSpanId (line 53) | public void setSpanId(String spanId) { method getOperator (line 57) | public String getOperator() { method setOperator (line 61) | public void setOperator(String operator) { method getParentId (line 65) | public String getParentId() { method setParentId (line 69) | public void setParentId(String parentId) { method getFollowsFromId (line 73) | public String getFollowsFromId() { method setFollowsFromId (line 77) | public void setFollowsFromId(String followsFromId) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/context/ApolloAuditTraceContext.java class ApolloAuditTraceContext (line 25) | public class ApolloAuditTraceContext { method ApolloAuditTraceContext (line 29) | public ApolloAuditTraceContext(ApolloAuditOperatorSupplier operatorSup... method tracer (line 34) | public ApolloAuditTracer tracer() { method setTracer (line 51) | void setTracer(ApolloAuditTracer tracer) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/context/ApolloAuditTracer.java class ApolloAuditTracer (line 35) | public class ApolloAuditTracer { method ApolloAuditTracer (line 40) | public ApolloAuditTracer(ApolloAuditScopeManager manager, method scopeManager (line 46) | protected ApolloAuditScopeManager scopeManager() { method inject (line 50) | public HttpRequest inject(HttpRequest request) { method startSpan (line 71) | public ApolloAuditSpan startSpan(OpType type, String name, String desc... method startActiveSpan (line 84) | public ApolloAuditScope startActiveSpan(OpType type, String name, Stri... method activate (line 89) | public ApolloAuditScope activate(ApolloAuditSpan span) { method getActiveSpanFromHttp (line 93) | private ApolloAuditSpan getActiveSpanFromHttp() { method getActiveSpanFromContext (line 114) | private ApolloAuditSpan getActiveSpanFromContext() { method getActiveSpan (line 118) | public ApolloAuditSpan getActiveSpan() { method spanBuilder (line 128) | public AuditSpanBuilder spanBuilder(OpType type, String name) { class AuditSpanBuilder (line 132) | public static class AuditSpanBuilder { method AuditSpanBuilder (line 143) | public AuditSpanBuilder(OpType type, String name) { method asChildOf (line 148) | public AuditSpanBuilder asChildOf(ApolloAuditSpan parent) { method asRootSpan (line 155) | public AuditSpanBuilder asRootSpan(String operator) { method followsFrom (line 161) | public AuditSpanBuilder followsFrom(String id) { method description (line 166) | public AuditSpanBuilder description(String val) { method regenerateByContext (line 171) | public ApolloAuditSpan regenerateByContext(ApolloAuditSpanContext va... method build (line 177) | public ApolloAuditSpan build() { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/controller/ApolloAuditController.java class ApolloAuditController (line 38) | @RestController method ApolloAuditController (line 45) | public ApolloAuditController(ApolloAuditLogApi api, ApolloAuditPropert... method getProperties (line 50) | @GetMapping("/properties") method findAllAuditLogs (line 55) | @GetMapping("/logs") method findTraceDetails (line 61) | @GetMapping("/trace") method findAllAuditLogsByOpNameAndTime (line 67) | @GetMapping("/logs/opName") method findDataInfluencesByField (line 78) | @GetMapping("/logs/dataInfluences/field") method findAuditLogsByNameOrTypeOrOperator (line 86) | @GetMapping("/logs/by-name-or-type-or-operator") FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/entity/ApolloAuditLog.java class ApolloAuditLog (line 24) | @Entity method builder (line 52) | public static Builder builder() { method getTraceId (line 56) | public String getTraceId() { method setTraceId (line 60) | public void setTraceId(String traceId) { method getSpanId (line 64) | public String getSpanId() { method setSpanId (line 68) | public void setSpanId(String spanId) { method getParentSpanId (line 72) | public String getParentSpanId() { method setParentSpanId (line 76) | public void setParentSpanId(String parentSpanId) { method getFollowsFromSpanId (line 80) | public String getFollowsFromSpanId() { method setFollowsFromSpanId (line 84) | public void setFollowsFromSpanId(String followsFromSpanId) { method getOperator (line 88) | public String getOperator() { method setOperator (line 92) | public void setOperator(String operator) { method getOpType (line 96) | public String getOpType() { method setOpType (line 100) | public void setOpType(String opType) { method getOpName (line 104) | public String getOpName() { method setOpName (line 108) | public void setOpName(String opName) { method getDescription (line 112) | public String getDescription() { method setDescription (line 116) | public void setDescription(String description) { class Builder (line 120) | public static class Builder { method Builder (line 124) | public Builder() {} method traceId (line 126) | public Builder traceId(String val) { method spanId (line 131) | public Builder spanId(String val) { method parentSpanId (line 136) | public Builder parentSpanId(String val) { method followsFromSpanId (line 141) | public Builder followsFromSpanId(String val) { method operator (line 146) | public Builder operator(String val) { method opType (line 151) | public Builder opType(String val) { method opName (line 156) | public Builder opName(String val) { method description (line 161) | public Builder description(String val) { method happenedTime (line 166) | public Builder happenedTime(Date val) { method build (line 171) | public ApolloAuditLog build() { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/entity/ApolloAuditLogDataInfluence.java class ApolloAuditLogDataInfluence (line 23) | @Entity method ApolloAuditLogDataInfluence (line 45) | public ApolloAuditLogDataInfluence() {} method ApolloAuditLogDataInfluence (line 47) | public ApolloAuditLogDataInfluence(String spanId, String entityName, S... method builder (line 57) | public static Builder builder() { method getSpanId (line 61) | public String getSpanId() { method setSpanId (line 65) | public void setSpanId(String spanId) { method getInfluenceEntityName (line 69) | public String getInfluenceEntityName() { method setInfluenceEntityName (line 73) | public void setInfluenceEntityName(String influenceEntityName) { method getInfluenceEntityId (line 77) | public String getInfluenceEntityId() { method setInfluenceEntityId (line 81) | public void setInfluenceEntityId(String influenceEntityId) { method getFieldName (line 85) | public String getFieldName() { method setFieldName (line 89) | public void setFieldName(String fieldName) { method getFieldOldValue (line 93) | public String getFieldOldValue() { method setFieldOldValue (line 97) | public void setFieldOldValue(String fieldOldValue) { method getFieldNewValue (line 101) | public String getFieldNewValue() { method setFieldNewValue (line 105) | public void setFieldNewValue(String fieldNewValue) { class Builder (line 109) | public static class Builder { method Builder (line 113) | public Builder() {} method spanId (line 115) | public Builder spanId(String val) { method entityId (line 120) | public Builder entityId(String val) { method entityName (line 125) | public Builder entityName(String val) { method fieldName (line 130) | public Builder fieldName(String val) { method oldVal (line 135) | public Builder oldVal(String val) { method newVal (line 140) | public Builder newVal(String val) { method build (line 145) | public ApolloAuditLogDataInfluence build() { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/entity/BaseEntity.java class BaseEntity (line 29) | @MappedSuperclass method getId (line 55) | public long getId() { method setId (line 59) | public void setId(long id) { method isDeleted (line 63) | public boolean isDeleted() { method setDeleted (line 67) | public void setDeleted(boolean deleted) { method getDeletedAt (line 77) | public long getDeletedAt() { method getDataChangeCreatedBy (line 81) | public String getDataChangeCreatedBy() { method setDataChangeCreatedBy (line 85) | public void setDataChangeCreatedBy(String dataChangeCreatedBy) { method getDataChangeCreatedTime (line 89) | public Date getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 93) | public void setDataChangeCreatedTime(Date dataChangeCreatedTime) { method getDataChangeLastModifiedBy (line 97) | public String getDataChangeLastModifiedBy() { method setDataChangeLastModifiedBy (line 101) | public void setDataChangeLastModifiedBy(String dataChangeLastModifiedB... method getDataChangeLastModifiedTime (line 105) | public Date getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 109) | public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedT... method prePersist (line 113) | @PrePersist method preUpdate (line 123) | @PreUpdate method preRemove (line 128) | @PreRemove FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/listener/ApolloAuditLogDataInfluenceEventListener.java class ApolloAuditLogDataInfluenceEventListener (line 24) | public class ApolloAuditLogDataInfluenceEventListener { method ApolloAuditLogDataInfluenceEventListener (line 28) | public ApolloAuditLogDataInfluenceEventListener(ApolloAuditLogApi api) { method handleEvent (line 32) | @EventListener FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/repository/ApolloAuditLogDataInfluenceRepository.java type ApolloAuditLogDataInfluenceRepository (line 24) | public interface ApolloAuditLogDataInfluenceRepository method findBySpanId (line 27) | List findBySpanId(String spanId); method findByInfluenceEntityNameAndInfluenceEntityId (line 29) | List findByInfluenceEntityNameAndInfluenc... method findByInfluenceEntityNameAndInfluenceEntityIdAndFieldName (line 32) | List findByInfluenceEntityNameAndInfluenc... FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/repository/ApolloAuditLogRepository.java type ApolloAuditLogRepository (line 25) | public interface ApolloAuditLogRepository extends JpaRepository findByTraceIdOrderByDataChangeCreatedTimeDesc(Str... method findByOpName (line 29) | List findByOpName(String opName, Pageable page); method findByOpNameAndDataChangeCreatedTimeGreaterThanEqualAndDataChangeCreatedTimeLessThanEqual (line 31) | List findByOpNameAndDataChangeCreatedTimeGreaterThanEq... method findByOpNameContainingOrOpTypeContainingOrOperatorContaining (line 34) | List findByOpNameContainingOrOpTypeContainingOrOperato... FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/service/ApolloAuditLogDataInfluenceService.java class ApolloAuditLogDataInfluenceService (line 29) | public class ApolloAuditLogDataInfluenceService { method ApolloAuditLogDataInfluenceService (line 33) | public ApolloAuditLogDataInfluenceService( method save (line 38) | public ApolloAuditLogDataInfluence save(ApolloAuditLogDataInfluence da... method findBySpanId (line 42) | public List findBySpanId(String spanId) { method findByEntityNameAndEntityIdAndFieldName (line 46) | public List findByEntityNameAndEntityIdAn... method pageSortByTime (line 53) | Pageable pageSortByTime(int page, int size) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/service/ApolloAuditLogService.java class ApolloAuditLogService (line 30) | public class ApolloAuditLogService { method ApolloAuditLogService (line 34) | public ApolloAuditLogService(ApolloAuditLogRepository logRepository) { method save (line 38) | public ApolloAuditLog save(ApolloAuditLog auditLog) { method logSpan (line 42) | public void logSpan(ApolloAuditSpan span) { method findByTraceId (line 52) | public List findByTraceId(String traceId) { method findAll (line 56) | public List findAll(int page, int size) { method findByOpName (line 61) | public List findByOpName(String opName, int page, int ... method findByOpNameAndTime (line 66) | public List findByOpNameAndTime(String opName, Date st... method searchLogByNameOrTypeOrOperator (line 74) | public List searchLogByNameOrTypeOrOperator(String que... method pageSortByTime (line 80) | Pageable pageSortByTime(int page, int size) { FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/spi/ApolloAuditLogQueryApiPreAuthorizer.java type ApolloAuditLogQueryApiPreAuthorizer (line 19) | public interface ApolloAuditLogQueryApiPreAuthorizer { method hasQueryPermission (line 21) | boolean hasQueryPermission(); FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/spi/ApolloAuditOperatorSupplier.java type ApolloAuditOperatorSupplier (line 19) | public interface ApolloAuditOperatorSupplier { method getOperator (line 21) | String getOperator(); FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/spi/defaultimpl/ApolloAuditLogQueryApiDefaultPreAuthorizer.java class ApolloAuditLogQueryApiDefaultPreAuthorizer (line 21) | public class ApolloAuditLogQueryApiDefaultPreAuthorizer method hasQueryPermission (line 24) | @Override FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/spi/defaultimpl/ApolloAuditOperatorDefaultSupplier.java class ApolloAuditOperatorDefaultSupplier (line 26) | public class ApolloAuditOperatorDefaultSupplier implements ApolloAuditOp... method getOperator (line 28) | @Override FILE: apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/util/ApolloAuditUtil.java class ApolloAuditUtil (line 35) | public class ApolloAuditUtil { method generateId (line 37) | public static String generateId() { method getAnnotatedFields (line 41) | public static List getAnnotatedFields(Class toList(Object obj) { method getApolloAuditLogTableName (line 56) | public static String getApolloAuditLogTableName(Class clazz) { method getPersistenceIdFieldByAnnotation (line 62) | public static Field getPersistenceIdFieldByAnnotation(Class clazz) { method logToDTO (line 76) | public static ApolloAuditLogDTO logToDTO(ApolloAuditLog auditLog) { method dataInfluenceToDTO (line 91) | public static ApolloAuditLogDataInfluenceDTO dataInfluenceToDTO( method logListToDTOList (line 105) | public static List logListToDTOList(List dataInfluenceListTo... FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/MockBeanFactory.java class MockBeanFactory (line 27) | public class MockBeanFactory { method mockAuditLogDTO (line 29) | public static ApolloAuditLogDTO mockAuditLogDTO() { method mockAuditLogDTOListByLength (line 33) | public static List mockAuditLogDTOListByLength(int ... method mockAuditLog (line 41) | public static ApolloAuditLog mockAuditLog() { method mockAuditLogListByLength (line 45) | public static List mockAuditLogListByLength(int length) { method mockTraceDetailsDTOListByLength (line 53) | public static List mockTraceDetailsDTOListBy... method mockDataInfluenceDTO (line 63) | public static ApolloAuditLogDataInfluenceDTO mockDataInfluenceDTO() { method mockDataInfluenceDTOListByLength (line 67) | public static List mockDataInfluenceDT... method mockDataInfluence (line 75) | public static ApolloAuditLogDataInfluence mockDataInfluence() { method mockDataInfluenceListByLength (line 79) | public static List mockDataInfluenceListB... method mockDataInfluenceEntity (line 87) | public static MockDataInfluenceEntity mockDataInfluenceEntity() { method mockDataInfluenceEntityListByLength (line 91) | public static List mockDataInfluenceEntityListByLength(int len... FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/MockDataInfluenceEntity.java class MockDataInfluenceEntity (line 23) | @ApolloAuditLogDataInfluenceTable(tableName = "MockTableName") method getId (line 34) | public long getId() { method setId (line 38) | public void setId(long id) { method getMarkedAttribute (line 42) | public String getMarkedAttribute() { method setMarkedAttribute (line 46) | public void setMarkedAttribute(String markedAttribute) { method getUnMarkedAttribute (line 50) | public String getUnMarkedAttribute() { method setUnMarkedAttribute (line 54) | public void setUnMarkedAttribute(String unMarkedAttribute) { method isDeleted (line 58) | public boolean isDeleted() { method setDeleted (line 62) | public void setDeleted(boolean deleted) { FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/aop/ApolloAuditSpanAspectTest.java class ApolloAuditSpanAspectTest (line 48) | @SpringBootTest method testAround (line 58) | @Test method testAuditDataInfluenceArg (line 81) | @Test method testAuditDataInfluenceArgCaseFindMethodReturnNull (line 94) | @Test method testFindMethod (line 106) | @Test method testParseArgAndAppendCaseNullName (line 125) | @Test method testParseArgAndAppendCaseCollectionTypeArg (line 132) | @Test method testParseArgAndAppendCaseNormalTypeArg (line 146) | @Test class MockAuditClass (line 160) | public class MockAuditClass { method mockAuditMethod (line 162) | public void mockAuditMethod( method mockAuditMethod (line 167) | public void mockAuditMethod(Object val2) {} FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/component/ApolloAuditHttpInterceptorTest.java class ApolloAuditHttpInterceptorTest (line 31) | @SpringBootTest method testInterceptor (line 41) | @Test method testInterceptorCaseNoTracer (line 57) | @Test FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/component/ApolloAuditLogApiJpaImplTest.java class ApolloAuditLogApiJpaImplTest (line 52) | @SpringBootTest method beforeEach (line 91) | @BeforeEach method testAppendAuditLog (line 97) | @Test method testAppendDataInfluenceCaseCreateOrUpdate (line 124) | @Test method testAppendDataInfluenceCaseDelete (line 146) | @Test method testAppendDataInfluenceCaseTracerIsNull (line 168) | @Test method testAppendDataInfluenceCaseActiveSpanIsNull (line 175) | @Test method testAppendDataInfluences (line 183) | @Test method testAppendDataInfluencesCaseWrongBeanDefinition (line 192) | @Test method testAppendDataInfluencesCaseIncompleteConditions (line 202) | @Test method testQueryLogs (line 214) | @Test method testQueryLogsByOpNameCaseDateIsNull (line 226) | @Test method testQueryLogsByOpName (line 243) | @Test method testQueryTraceDetails (line 260) | @Test method testQueryDataInfluencesByField (line 282) | @Test FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/component/ApolloAuditScopeManagerTest.java class ApolloAuditScopeManagerTest (line 32) | @SpringBootTest method testActivate (line 39) | @Test FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/context/ApolloAuditTraceContextTest.java class ApolloAuditTraceContextTest (line 38) | @SpringBootTest method beforeEach (line 48) | @BeforeEach method testGetTracerNotInRequestThread (line 55) | @Test method testGetTracerCaseNoTracerExistsInRequestThreads (line 61) | @Test method testGetTracerInRequestThreads (line 71) | @Test method testGetTracerInAnotherThreadButSameRequest (line 84) | @Test method testGetTracerInAnotherRequest (line 100) | @Test FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/context/ApolloAuditTracerTest.java class ApolloAuditTracerTest (line 41) | @SpringBootTest method beforeEach (line 61) | @BeforeEach method testInject (line 67) | @Test method testInjectCaseActiveSpanIsNull (line 86) | @Test method testStartSpanCaseActiveSpanExistsAndNoFollowsFrom (line 103) | @Test method testStartSpanCaseActiveSpanExistsAndHasFollowsFrom (line 130) | @Test method testStartSpanCaseNoActiveSpanExists (line 158) | @Test method testStartActiveSpan (line 181) | @Test method testGetActiveSpanFromContext (line 194) | @Test method testGetActiveSpanFromHttpRequestCaseNotInRequestThread (line 204) | @Test method testGetActiveSpanFromHttpRequestCaseInRequestThread (line 215) | @Test FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/controller/ApolloAuditControllerTest.java class ApolloAuditControllerTest (line 39) | @WebMvcTest method testFindAllAuditLogs (line 54) | @Test method testFindTraceDetails (line 72) | @Test method testFindAllAuditLogsByOpNameAndTime (line 92) | @Test method testFindDataInfluencesByField (line 121) | @Test FILE: apollo-audit/apollo-audit-impl/src/test/java/com/ctrip/framework/apollo/audit/spi/ApolloAuditOperatorSupplierTest.java class ApolloAuditOperatorSupplierTest (line 36) | @SpringBootTest method setUp (line 48) | @BeforeEach method testGetOperatorCaseActiveSpanExist (line 55) | @Test method testGetOperatorCaseActiveSpanNotExist (line 67) | @Test FILE: apollo-audit/apollo-audit-spring-boot-starter/src/main/java/com/ctrip/framework/apollo/audit/configuration/ApolloAuditAutoConfiguration.java class ApolloAuditAutoConfiguration (line 45) | @Configuration method ApolloAuditAutoConfiguration (line 55) | public ApolloAuditAutoConfiguration(ApolloAuditProperties apolloAuditP... method apolloAuditLogDataInfluenceService (line 60) | @Bean method apolloAuditLogService (line 66) | @Bean method apolloAuditLogOperatorSupplier (line 71) | @Bean method apolloAuditTraceContext (line 77) | @Bean method apolloAuditLogApi (line 83) | @Bean method apolloAuditSpanAspect (line 90) | @Bean method apolloAuditHttpInterceptor (line 95) | @Bean method apolloAuditLogQueryApiPreAuthorizer (line 101) | @Bean(name = "apolloAuditLogQueryApiPreAuthorizer") method apolloAuditController (line 107) | @Bean method apolloAuditLogDataInfluenceEventListener (line 113) | @Bean FILE: apollo-audit/apollo-audit-spring-boot-starter/src/main/java/com/ctrip/framework/apollo/audit/configuration/ApolloAuditNoOpAutoConfiguration.java class ApolloAuditNoOpAutoConfiguration (line 35) | @Configuration method ApolloAuditNoOpAutoConfiguration (line 43) | public ApolloAuditNoOpAutoConfiguration(ApolloAuditProperties apolloAu... method apolloAuditLogApi (line 47) | @Bean method apolloAuditLogOperatorSupplier (line 53) | @Bean method apolloAuditTraceContext (line 59) | @Bean method apolloAuditLogHttpInterceptor (line 65) | @Bean method apolloAuditLogQueryApiPreAuthorizer (line 72) | @Bean(name = "apolloAuditLogQueryApiPreAuthorizer") method apolloAuditController (line 78) | @Bean FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/ApolloBizAssemblyConfiguration.java class ApolloBizAssemblyConfiguration (line 26) | @Profile("assembly") method dataSourceProperties (line 30) | @Primary FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/ApolloBizConfig.java class ApolloBizConfig (line 23) | @EnableAutoConfiguration FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/auth/WebSecurityConfig.java class WebSecurityConfig (line 32) | @ConditionalOnMissingProfile({"auth", "assembly"}) method securityFilterChain (line 38) | @Bean method userDetailsService (line 53) | @Bean FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/config/BizConfig.java class BizConfig (line 38) | @Component method BizConfig (line 79) | public BizConfig(final BizDBPropertySource propertySource) { method getRefreshablePropertySources (line 83) | @Override method eurekaServiceUrls (line 88) | public List eurekaServiceUrls() { method grayReleaseRuleScanInterval (line 97) | public int grayReleaseRuleScanInterval() { method longPollingTimeoutInMilli (line 103) | public long longPollingTimeoutInMilli() { method itemKeyLengthLimit (line 111) | public int itemKeyLengthLimit() { method itemValueLengthLimit (line 116) | public int itemValueLengthLimit() { method appIdValueLengthLimitOverride (line 121) | public Map appIdValueLengthLimitOverride() { method namespaceValueLengthLimitOverride (line 127) | public Map namespaceValueLengthLimitOverride() { method isNamespaceNumLimitEnabled (line 133) | public boolean isNamespaceNumLimitEnabled() { method namespaceNumLimit (line 137) | public int namespaceNumLimit() { method namespaceNumLimitWhite (line 142) | public Set namespaceNumLimitWhite() { method isItemNumLimitEnabled (line 146) | public boolean isItemNumLimitEnabled() { method itemNumLimit (line 150) | public int itemNumLimit() { method isNamespaceLockSwitchOff (line 155) | public boolean isNamespaceLockSwitchOff() { method appNamespaceCacheScanInterval (line 159) | public int appNamespaceCacheScanInterval() { method appNamespaceCacheScanIntervalTimeUnit (line 165) | public TimeUnit appNamespaceCacheScanIntervalTimeUnit() { method appNamespaceCacheRebuildInterval (line 169) | public int appNamespaceCacheRebuildInterval() { method appNamespaceCacheRebuildIntervalTimeUnit (line 175) | public TimeUnit appNamespaceCacheRebuildIntervalTimeUnit() { method accessKeyCacheScanInterval (line 179) | public int accessKeyCacheScanInterval() { method accessKeyCacheScanIntervalTimeUnit (line 185) | public TimeUnit accessKeyCacheScanIntervalTimeUnit() { method accessKeyCacheRebuildInterval (line 189) | public int accessKeyCacheRebuildInterval() { method accessKeyCacheRebuildIntervalTimeUnit (line 195) | public TimeUnit accessKeyCacheRebuildIntervalTimeUnit() { method accessKeyAuthTimeDiffTolerance (line 199) | public int accessKeyAuthTimeDiffTolerance() { method releaseHistoryRetentionSize (line 206) | public int releaseHistoryRetentionSize() { method releaseHistoryRetentionSizeOverride (line 212) | public Map releaseHistoryRetentionSizeOverride() { method releaseMessageCacheScanInterval (line 218) | public int releaseMessageCacheScanInterval() { method releaseMessageCacheScanIntervalTimeUnit (line 224) | public TimeUnit releaseMessageCacheScanIntervalTimeUnit() { method releaseMessageScanIntervalInMilli (line 228) | public int releaseMessageScanIntervalInMilli() { method releaseMessageNotificationBatch (line 234) | public int releaseMessageNotificationBatch() { method releaseMessageNotificationBatchIntervalInMilli (line 240) | public int releaseMessageNotificationBatchIntervalInMilli() { method isConfigServiceCacheEnabled (line 247) | public boolean isConfigServiceCacheEnabled() { method isConfigServiceCacheStatsEnabled (line 251) | public boolean isConfigServiceCacheStatsEnabled() { method isConfigServiceCacheKeyIgnoreCase (line 255) | public boolean isConfigServiceCacheKeyIgnoreCase() { method getInstanceConfigAuditMaxSize (line 259) | public int getInstanceConfigAuditMaxSize() { method getInstanceCacheMaxSize (line 265) | public int getInstanceCacheMaxSize() { method getInstanceConfigCacheMaxSize (line 270) | public int getInstanceConfigCacheMaxSize() { method getInstanceConfigAuditTimeThresholdInMilli (line 276) | public long getInstanceConfigAuditTimeThresholdInMilli() { method isConfigServiceIncrementalChangeEnabled (line 284) | public boolean isConfigServiceIncrementalChangeEnabled() { method checkInt (line 288) | int checkInt(int value, int min, int max, int defaultValue) { method isAdminServiceAccessControlEnabled (line 295) | public boolean isAdminServiceAccessControlEnabled() { method getAdminServiceAccessTokens (line 299) | public String getAdminServiceAccessTokens() { method parseOverrideConfig (line 303) | private Map parseOverrideConfig(String configValue, Type ... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/AccessKey.java class AccessKey (line 27) | @Entity method getAppId (line 46) | public String getAppId() { method setAppId (line 50) | public void setAppId(String appId) { method getSecret (line 54) | public String getSecret() { method setSecret (line 58) | public void setSecret(String secret) { method getMode (line 62) | public int getMode() { method setMode (line 66) | public void setMode(int mode) { method isEnabled (line 70) | public boolean isEnabled() { method setEnabled (line 74) | public void setEnabled(boolean enabled) { method toString (line 78) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Audit.java class Audit (line 28) | @Entity type OP (line 35) | public enum OP { method getComment (line 51) | public String getComment() { method getEntityId (line 55) | public Long getEntityId() { method getEntityName (line 59) | public String getEntityName() { method getOpName (line 63) | public String getOpName() { method setComment (line 67) | public void setComment(String comment) { method setEntityId (line 71) | public void setEntityId(Long entityId) { method setEntityName (line 75) | public void setEntityName(String entityName) { method setOpName (line 79) | public void setOpName(String opName) { method toString (line 83) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Cluster.java class Cluster (line 31) | @Entity method getAppId (line 50) | public String getAppId() { method getName (line 54) | public String getName() { method setAppId (line 58) | public void setAppId(String appId) { method setName (line 62) | public void setName(String name) { method getParentClusterId (line 66) | public long getParentClusterId() { method setParentClusterId (line 70) | public void setParentClusterId(long parentClusterId) { method getComment (line 74) | public String getComment() { method setComment (line 78) | public void setComment(String comment) { method toString (line 82) | @Override method compareTo (line 88) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Commit.java class Commit (line 29) | @Entity method getChangeSets (line 52) | public String getChangeSets() { method setChangeSets (line 56) | public void setChangeSets(String changeSets) { method getAppId (line 60) | public String getAppId() { method setAppId (line 64) | public void setAppId(String appId) { method getClusterName (line 68) | public String getClusterName() { method setClusterName (line 72) | public void setClusterName(String clusterName) { method getNamespaceName (line 76) | public String getNamespaceName() { method setNamespaceName (line 80) | public void setNamespaceName(String namespaceName) { method getComment (line 84) | public String getComment() { method setComment (line 88) | public void setComment(String comment) { method toString (line 92) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/GrayReleaseRule.java class GrayReleaseRule (line 28) | @Entity method getAppId (line 56) | public String getAppId() { method setAppId (line 60) | public void setAppId(String appId) { method getClusterName (line 64) | public String getClusterName() { method setClusterName (line 68) | public void setClusterName(String clusterName) { method getNamespaceName (line 72) | public String getNamespaceName() { method setNamespaceName (line 76) | public void setNamespaceName(String namespaceName) { method getBranchName (line 80) | public String getBranchName() { method setBranchName (line 84) | public void setBranchName(String branchName) { method getRules (line 88) | public String getRules() { method setRules (line 92) | public void setRules(String rules) { method getReleaseId (line 96) | public Long getReleaseId() { method setReleaseId (line 100) | public void setReleaseId(Long releaseId) { method getBranchStatus (line 104) | public int getBranchStatus() { method setBranchStatus (line 108) | public void setBranchStatus(int branchStatus) { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Instance.java class Instance (line 34) | @Entity method prePersist (line 60) | @PrePersist method getId (line 70) | public long getId() { method setId (line 74) | public void setId(long id) { method getAppId (line 78) | public String getAppId() { method setAppId (line 82) | public void setAppId(String appId) { method getClusterName (line 86) | public String getClusterName() { method setClusterName (line 90) | public void setClusterName(String clusterName) { method getDataCenter (line 94) | public String getDataCenter() { method setDataCenter (line 98) | public void setDataCenter(String dataCenter) { method getIp (line 102) | public String getIp() { method setIp (line 106) | public void setIp(String ip) { method getDataChangeCreatedTime (line 110) | public Date getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 114) | public void setDataChangeCreatedTime(Date dataChangeCreatedTime) { method getDataChangeLastModifiedTime (line 118) | public Date getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 122) | public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedT... method toString (line 126) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/InstanceConfig.java class InstanceConfig (line 35) | @Entity method prePersist (line 67) | @PrePersist method preUpdate (line 77) | @PreUpdate method getId (line 82) | public long getId() { method setId (line 86) | public void setId(long id) { method getInstanceId (line 90) | public long getInstanceId() { method setInstanceId (line 94) | public void setInstanceId(long instanceId) { method getConfigAppId (line 98) | public String getConfigAppId() { method setConfigAppId (line 102) | public void setConfigAppId(String configAppId) { method getConfigNamespaceName (line 106) | public String getConfigNamespaceName() { method setConfigNamespaceName (line 110) | public void setConfigNamespaceName(String configNamespaceName) { method getReleaseKey (line 114) | public String getReleaseKey() { method setReleaseKey (line 118) | public void setReleaseKey(String releaseKey) { method getDataChangeCreatedTime (line 122) | public Date getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 126) | public void setDataChangeCreatedTime(Date dataChangeCreatedTime) { method getDataChangeLastModifiedTime (line 130) | public Date getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 134) | public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedT... method getConfigClusterName (line 138) | public String getConfigClusterName() { method setConfigClusterName (line 142) | public void setConfigClusterName(String configClusterName) { method getReleaseDeliveryTime (line 146) | public Date getReleaseDeliveryTime() { method setReleaseDeliveryTime (line 150) | public void setReleaseDeliveryTime(Date releaseDeliveryTime) { method toString (line 154) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Item.java class Item (line 29) | @Entity method getComment (line 55) | public String getComment() { method getKey (line 59) | public String getKey() { method getNamespaceId (line 63) | public long getNamespaceId() { method getValue (line 67) | public String getValue() { method setComment (line 71) | public void setComment(String comment) { method setKey (line 75) | public void setKey(String key) { method setNamespaceId (line 79) | public void setNamespaceId(long namespaceId) { method setValue (line 83) | public void setValue(String value) { method getLineNum (line 87) | public Integer getLineNum() { method setLineNum (line 91) | public void setLineNum(Integer lineNum) { method getType (line 95) | public int getType() { method setType (line 99) | public void setType(int type) { method toString (line 103) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/JpaMapFieldJsonConverter.java class JpaMapFieldJsonConverter (line 27) | @Converter(autoApply = true) method convertToDatabaseColumn (line 38) | @Override method convertToEntityAttribute (line 43) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Namespace.java class Namespace (line 28) | @Entity method Namespace (line 44) | public Namespace() { method Namespace (line 48) | public Namespace(String appId, String clusterName, String namespaceNam... method getAppId (line 54) | public String getAppId() { method getClusterName (line 58) | public String getClusterName() { method getNamespaceName (line 62) | public String getNamespaceName() { method setAppId (line 66) | public void setAppId(String appId) { method setClusterName (line 70) | public void setClusterName(String clusterName) { method setNamespaceName (line 74) | public void setNamespaceName(String namespaceName) { method toString (line 78) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/NamespaceLock.java class NamespaceLock (line 27) | @Entity method getNamespaceId (line 35) | public long getNamespaceId() { method setNamespaceId (line 39) | public void setNamespaceId(long namespaceId) { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Privilege.java class Privilege (line 28) | @Entity method getName (line 44) | public String getName() { method getNamespaceId (line 48) | public long getNamespaceId() { method getPrivilType (line 52) | public String getPrivilType() { method setName (line 56) | public void setName(String name) { method setNamespaceId (line 60) | public void setNamespaceId(long namespaceId) { method setPrivilType (line 64) | public void setPrivilType(String privilType) { method toString (line 68) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Release.java class Release (line 32) | @Entity method getReleaseKey (line 63) | public String getReleaseKey() { method getAppId (line 67) | public String getAppId() { method getClusterName (line 71) | public String getClusterName() { method getComment (line 75) | public String getComment() { method getConfigurations (line 79) | public String getConfigurations() { method getNamespaceName (line 83) | public String getNamespaceName() { method getName (line 87) | public String getName() { method setReleaseKey (line 91) | public void setReleaseKey(String releaseKey) { method setAppId (line 95) | public void setAppId(String appId) { method setClusterName (line 99) | public void setClusterName(String clusterName) { method setComment (line 103) | public void setComment(String comment) { method setConfigurations (line 107) | public void setConfigurations(String configurations) { method setNamespaceName (line 111) | public void setNamespaceName(String namespaceName) { method setName (line 115) | public void setName(String name) { method isAbandoned (line 119) | public boolean isAbandoned() { method setAbandoned (line 123) | public void setAbandoned(boolean abandoned) { method toString (line 127) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ReleaseHistory.java class ReleaseHistory (line 31) | @Entity method getAppId (line 61) | public String getAppId() { method setAppId (line 65) | public void setAppId(String appId) { method getClusterName (line 69) | public String getClusterName() { method setClusterName (line 73) | public void setClusterName(String clusterName) { method getNamespaceName (line 77) | public String getNamespaceName() { method setNamespaceName (line 81) | public void setNamespaceName(String namespaceName) { method getBranchName (line 85) | public String getBranchName() { method setBranchName (line 89) | public void setBranchName(String branchName) { method getReleaseId (line 93) | public long getReleaseId() { method setReleaseId (line 97) | public void setReleaseId(long releaseId) { method getPreviousReleaseId (line 101) | public long getPreviousReleaseId() { method setPreviousReleaseId (line 105) | public void setPreviousReleaseId(long previousReleaseId) { method getOperation (line 109) | public int getOperation() { method setOperation (line 113) | public void setOperation(int operation) { method getOperationContext (line 117) | public String getOperationContext() { method setOperationContext (line 121) | public void setOperationContext(String operationContext) { method toString (line 125) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ReleaseMessage.java class ReleaseMessage (line 34) | @Entity method prePersist (line 48) | @PrePersist method ReleaseMessage (line 55) | public ReleaseMessage() {} method ReleaseMessage (line 57) | public ReleaseMessage(String message) { method getId (line 61) | public long getId() { method setId (line 65) | public void setId(long id) { method getMessage (line 69) | public String getMessage() { method setMessage (line 73) | public void setMessage(String message) { method toString (line 77) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ServerConfig.java class ServerConfig (line 31) | @Entity method getKey (line 49) | public String getKey() { method setKey (line 53) | public void setKey(String key) { method getValue (line 57) | public String getValue() { method setValue (line 61) | public void setValue(String value) { method getComment (line 65) | public String getComment() { method setComment (line 69) | public void setComment(String comment) { method getCluster (line 73) | public String getCluster() { method setCluster (line 77) | public void setCluster(String cluster) { method toString (line 81) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ServiceRegistry.java class ServiceRegistry (line 36) | @Entity method prePersist (line 73) | @PrePersist method toString (line 83) | @Override method getId (line 91) | public long getId() { method setId (line 95) | public void setId(long id) { method getServiceName (line 99) | public String getServiceName() { method setServiceName (line 103) | public void setServiceName(String serviceName) { method getUri (line 107) | public String getUri() { method setUri (line 111) | public void setUri(String uri) { method getCluster (line 115) | public String getCluster() { method setCluster (line 119) | public void setCluster(String cluster) { method getMetadata (line 123) | public Map getMetadata() { method setMetadata (line 127) | public void setMetadata(Map metadata) { method getDataChangeCreatedTime (line 131) | public LocalDateTime getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 135) | public void setDataChangeCreatedTime(LocalDateTime dataChangeCreatedTi... method getDataChangeLastModifiedTime (line 139) | public LocalDateTime getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 143) | public void setDataChangeLastModifiedTime(LocalDateTime dataChangeLast... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/eureka/ApolloEurekaClientConfig.java class ApolloEurekaClientConfig (line 32) | @Component method ApolloEurekaClientConfig (line 42) | public ApolloEurekaClientConfig(final BizConfig bizConfig, final Refre... method getEurekaServerServiceUrls (line 50) | @Override method listenApplicationReadyEvent (line 56) | @EventListener method refreshEurekaClient (line 61) | private void refreshEurekaClient() { method equals (line 69) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/grayReleaseRule/GrayReleaseRuleCache.java class GrayReleaseRuleCache (line 26) | public class GrayReleaseRuleCache implements Comparable getRuleItems() { method getBranchName (line 54) | public String getBranchName() { method getBranchStatus (line 58) | public int getBranchStatus() { method getReleaseId (line 62) | public long getReleaseId() { method getLoadVersion (line 66) | public long getLoadVersion() { method setLoadVersion (line 70) | public void setLoadVersion(long loadVersion) { method getNamespaceName (line 74) | public String getNamespaceName() { method matches (line 78) | public boolean matches(String clientAppId, String clientIp, String cli... method compareTo (line 87) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/grayReleaseRule/GrayReleaseRulesHolder.java class GrayReleaseRulesHolder (line 58) | public class GrayReleaseRulesHolder implements ReleaseMessageListener, I... method GrayReleaseRulesHolder (line 76) | public GrayReleaseRulesHolder(final GrayReleaseRuleRepository grayRele... method afterPropertiesSet (line 91) | @Override method handleMessage (line 100) | @Override method periodicScanRules (line 122) | private void periodicScanRules() { method findReleaseIdFromGrayReleaseRule (line 137) | public Long findReleaseIdFromGrayReleaseRule(String clientAppId, Strin... method hasGrayReleaseRule (line 162) | public boolean hasGrayReleaseRule(String clientAppId, String clientIp,... method scanGrayReleaseRules (line 181) | private void scanGrayReleaseRules() { method mergeGrayReleaseRules (line 199) | private void mergeGrayReleaseRules(List grayReleaseRu... method addCache (line 243) | private void addCache(String key, GrayReleaseRuleCache ruleCache) { method removeCache (line 261) | private void removeCache(String key, GrayReleaseRuleCache ruleCache) { method transformRuleToRuleCache (line 277) | private GrayReleaseRuleCache transformRuleToRuleCache(GrayReleaseRule ... method populateDataBaseInterval (line 291) | private void populateDataBaseInterval() { method getDatabaseScanIntervalSecond (line 295) | private int getDatabaseScanIntervalSecond() { method getDatabaseScanTimeUnit (line 299) | private TimeUnit getDatabaseScanTimeUnit() { method assembleGrayReleaseRuleKey (line 303) | private String assembleGrayReleaseRuleKey(String configAppId, String c... method assembleReversedGrayReleaseRuleKey (line 308) | private String assembleReversedGrayReleaseRuleKey(String clientAppId, ... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/message/DatabaseMessageSender.java class DatabaseMessageSender (line 43) | @Component method DatabaseMessageSender (line 53) | public DatabaseMessageSender(final ReleaseMessageRepository releaseMes... method sendMessage (line 60) | @Override method initialize (line 86) | @PostConstruct method cleanMessage (line 104) | private void cleanMessage(Long id) { method stopClean (line 125) | @PreDestroy FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/message/MessageSender.java type MessageSender (line 22) | public interface MessageSender { method sendMessage (line 23) | void sendMessage(String message, String channel); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/message/ReleaseMessageListener.java type ReleaseMessageListener (line 24) | public interface ReleaseMessageListener { method handleMessage (line 25) | void handleMessage(ReleaseMessage message, String channel); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/message/ReleaseMessageScanner.java class ReleaseMessageScanner (line 45) | public class ReleaseMessageScanner implements InitializingBean { method ReleaseMessageScanner (line 58) | public ReleaseMessageScanner(final BizConfig bizConfig, method afterPropertiesSet (line 68) | @Override method addMessageListener (line 93) | public void addMessageListener(ReleaseMessageListener listener) { method scanMessages (line 102) | private void scanMessages() { method scanAndSendMessages (line 114) | private boolean scanAndSendMessages() { method scanMissingMessages (line 132) | private void scanMissingMessages() { method growAndCleanMissingMessages (line 143) | private void growAndCleanMissingMessages() { method recordMissingReleaseMessageIds (line 155) | private void recordMissingReleaseMessageIds(List messa... method loadLargestMessageId (line 171) | private long loadLargestMessageId() { method fireMessageScanned (line 180) | private void fireMessageScanned(Iterable messages) { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/message/Topics.java class Topics (line 22) | public class Topics { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClient.java type DatabaseDiscoveryClient (line 25) | public interface DatabaseDiscoveryClient { method getInstances (line 33) | List getInstances(String serviceName); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImpl.java class DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImpl (line 31) | public class DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImpl method DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImpl (line 38) | public DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImpl(Datab... method containSelf (line 44) | static boolean containSelf(List serviceInstances, Ser... method getInstances (line 64) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClientImpl.java class DatabaseDiscoveryClientImpl (line 28) | public class DatabaseDiscoveryClientImpl implements DatabaseDiscoveryCli... method DatabaseDiscoveryClientImpl (line 35) | public DatabaseDiscoveryClientImpl(ServiceRegistryService serviceRegis... method getInstances (line 45) | @Override method convert (line 60) | static ApolloServiceRegistryProperties convert(ServiceRegistry service... method filterByCluster (line 68) | static List filterByCluster(List lis... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClientMemoryCacheDecoratorImpl.java class DatabaseDiscoveryClientMemoryCacheDecoratorImpl (line 38) | public class DatabaseDiscoveryClientMemoryCacheDecoratorImpl implements ... method DatabaseDiscoveryClientMemoryCacheDecoratorImpl (line 52) | public DatabaseDiscoveryClientMemoryCacheDecoratorImpl(DatabaseDiscove... method init (line 56) | public void init() { method updateCacheTask (line 77) | void updateCacheTask() { method readFromDatabase (line 87) | List readFromDatabase(String serviceName) { method getInstances (line 94) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/DatabaseServiceRegistry.java type DatabaseServiceRegistry (line 22) | public interface DatabaseServiceRegistry { method register (line 27) | void register(ServiceInstance instance); method deregister (line 32) | void deregister(ServiceInstance instance); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/DatabaseServiceRegistryImpl.java class DatabaseServiceRegistryImpl (line 22) | public class DatabaseServiceRegistryImpl implements DatabaseServiceRegis... method DatabaseServiceRegistryImpl (line 26) | public DatabaseServiceRegistryImpl(ServiceRegistryService serviceRegis... method convert (line 30) | static ServiceRegistry convert(ServiceInstance instance) { method register (line 39) | @Override method deregister (line 45) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/ServiceInstance.java type ServiceInstance (line 25) | public interface ServiceInstance { method getServiceName (line 30) | String getServiceName(); method getUri (line 42) | URI getUri(); method getCluster (line 51) | String getCluster(); method getMetadata (line 57) | Map getMetadata(); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/configuration/ApolloServiceDiscoveryAutoConfiguration.java class ApolloServiceDiscoveryAutoConfiguration (line 33) | @Configuration method wrapMemoryCache (line 39) | private static DatabaseDiscoveryClient wrapMemoryCache(DatabaseDiscove... method wrapAlwaysAddSelfInstance (line 46) | private static DatabaseDiscoveryClient wrapAlwaysAddSelfInstance( method databaseDiscoveryClient (line 52) | @Bean method apolloServiceRegistryClearApplicationRunner (line 62) | @Bean FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/configuration/ApolloServiceRegistryAutoConfiguration.java class ApolloServiceRegistryAutoConfiguration (line 32) | @Configuration method registryService (line 37) | @Bean method databaseServiceRegistry (line 43) | @Bean method apolloServiceRegistryHeartbeatApplicationRunner (line 50) | @Bean method apolloServiceRegistryDeregisterApplicationListener (line 57) | @Bean FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/configuration/support/ApolloServiceDiscoveryProperties.java class ApolloServiceDiscoveryProperties (line 26) | @ConfigurationProperties(prefix = ApolloServiceDiscoveryProperties.PREFIX) method getHealthCheckIntervalInSecond (line 45) | public long getHealthCheckIntervalInSecond() { method setHealthCheckIntervalInSecond (line 49) | public void setHealthCheckIntervalInSecond(long healthCheckIntervalInS... method isEnabled (line 53) | public boolean isEnabled() { method setEnabled (line 57) | public void setEnabled(boolean enabled) { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/configuration/support/ApolloServiceRegistryClearApplicationRunner.java class ApolloServiceRegistryClearApplicationRunner (line 35) | public class ApolloServiceRegistryClearApplicationRunner implements Appl... method ApolloServiceRegistryClearApplicationRunner (line 48) | public ApolloServiceRegistryClearApplicationRunner( method clearUnhealthyInstances (line 58) | void clearUnhealthyInstances() { method run (line 71) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/configuration/support/ApolloServiceRegistryDeregisterApplicationListener.java class ApolloServiceRegistryDeregisterApplicationListener (line 28) | public class ApolloServiceRegistryDeregisterApplicationListener method ApolloServiceRegistryDeregisterApplicationListener (line 37) | public ApolloServiceRegistryDeregisterApplicationListener( method onApplicationEvent (line 43) | @Override method deregister (line 48) | private void deregister() { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/configuration/support/ApolloServiceRegistryHeartbeatApplicationRunner.java class ApolloServiceRegistryHeartbeatApplicationRunner (line 32) | public class ApolloServiceRegistryHeartbeatApplicationRunner implements ... method ApolloServiceRegistryHeartbeatApplicationRunner (line 46) | public ApolloServiceRegistryHeartbeatApplicationRunner( method run (line 54) | @Override method heartbeat (line 65) | private void heartbeat() { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/configuration/support/ApolloServiceRegistryProperties.java class ApolloServiceRegistryProperties (line 38) | @ConfigurationProperties(prefix = ApolloServiceRegistryProperties.PREFIX) method postConstruct (line 83) | @PostConstruct method isEnabled (line 99) | public boolean isEnabled() { method setEnabled (line 103) | public void setEnabled(boolean enabled) { method getServiceName (line 107) | @Override method getUri (line 112) | @Override method setUri (line 121) | public void setUri(String uri) { method setServiceName (line 125) | public void setServiceName(String serviceName) { method getCluster (line 129) | @Override method setCluster (line 134) | public void setCluster(String cluster) { method getMetadata (line 138) | @Override method setMetadata (line 143) | public void setMetadata(Map metadata) { method getHeartbeatIntervalInSecond (line 147) | public long getHeartbeatIntervalInSecond() { method setHeartbeatIntervalInSecond (line 151) | public void setHeartbeatIntervalInSecond(long heartbeatIntervalInSecon... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/AccessKeyRepository.java type AccessKeyRepository (line 25) | public interface AccessKeyRepository extends JpaRepository findByAppId(String appId); method findFirst500ByDataChangeLastModifiedTimeGreaterThanOrderByDataChangeLastModifiedTimeAsc (line 33) | List findFirst500ByDataChangeLastModifiedTimeGreaterThanOrd... method findFirst500ByDataChangeLastModifiedTimeGreaterThanEqualAndDataChangeLastModifiedTimeLessThanOrderByDataChangeLastModifiedTimeAsc (line 36) | List findFirst500ByDataChangeLastModifiedTimeGreaterThanEqu... method findByDataChangeLastModifiedTime (line 39) | List findByDataChangeLastModifiedTime(Date date); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/AppNamespaceRepository.java type AppNamespaceRepository (line 29) | public interface AppNamespaceRepository extends JpaRepository findByAppIdAndNameIn(String appId, Set name... method findByNameAndIsPublicTrue (line 35) | AppNamespace findByNameAndIsPublicTrue(String namespaceName); method findByNameInAndIsPublicTrue (line 37) | List findByNameInAndIsPublicTrue(Set namespaceNa... method findByAppIdAndIsPublic (line 39) | List findByAppIdAndIsPublic(String appId, boolean isPubl... method findByAppIdOrderByIdAsc (line 41) | List findByAppIdOrderByIdAsc(String appId); method findFirst500ByIdGreaterThanOrderByIdAsc (line 43) | List findFirst500ByIdGreaterThanOrderByIdAsc(long id); method batchDeleteByAppId (line 45) | @Modifying method delete (line 51) | @Modifying FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/AppRepository.java type AppRepository (line 27) | public interface AppRepository extends JpaRepository { method findByName (line 29) | @Query("SELECT a from App a WHERE a.name LIKE %:name%") method findByAppId (line 32) | App findByAppId(String appId); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/AuditRepository.java type AuditRepository (line 27) | public interface AuditRepository extends JpaRepository { method findByOwner (line 29) | @Query("SELECT a from Audit a WHERE a.dataChangeCreatedBy = :owner") method findAudits (line 32) | @Query("SELECT a from Audit a WHERE a.dataChangeCreatedBy = :owner AND... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/ClusterRepository.java type ClusterRepository (line 26) | public interface ClusterRepository extends JpaRepository { method findByAppIdAndParentClusterId (line 28) | List findByAppIdAndParentClusterId(String appId, Long parentC... method findByAppId (line 30) | List findByAppId(String appId); method findByAppIdAndName (line 32) | Cluster findByAppIdAndName(String appId, String name); method findByParentClusterId (line 34) | List findByParentClusterId(Long parentClusterId); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/CommitRepository.java type CommitRepository (line 29) | public interface CommitRepository extends JpaRepository { method findByAppIdAndClusterNameAndNamespaceNameOrderByIdDesc (line 31) | List findByAppIdAndClusterNameAndNamespaceNameOrderByIdDesc(St... method findByAppIdAndClusterNameAndNamespaceNameAndDataChangeLastModifiedTimeGreaterThanEqualOrderByIdDesc (line 34) | List findByAppIdAndClusterNameAndNamespaceNameAndDataChangeLas... method batchDelete (line 38) | @Modifying method findByAppIdAndClusterNameAndNamespaceNameAndChangeSetsLikeOrderByIdDesc (line 45) | List findByAppIdAndClusterNameAndNamespaceNameAndChangeSetsLik... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/GrayReleaseRuleRepository.java type GrayReleaseRuleRepository (line 26) | public interface GrayReleaseRuleRepository extends JpaRepository findByAppIdAndClusterNameAndNamespaceName(String... method findFirst500ByIdGreaterThanOrderByIdAsc (line 34) | List findFirst500ByIdGreaterThanOrderByIdAsc(Long id); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/InstanceConfigRepository.java type InstanceConfigRepository (line 32) | public interface InstanceConfigRepository extends JpaRepository findByReleaseKeyAndDataChangeLastModifiedTimeAfte... method findByConfigAppIdAndConfigClusterNameAndConfigNamespaceNameAndDataChangeLastModifiedTimeAfter (line 40) | Page findByConfigAppIdAndConfigClusterNameAndConfigNam... method findByConfigAppIdAndConfigClusterNameAndConfigNamespaceNameAndDataChangeLastModifiedTimeAfterAndReleaseKeyNotIn (line 43) | List findByConfigAppIdAndConfigClusterNameAndConfigNam... method batchDelete (line 47) | @Modifying method findInstanceIdsByNamespaceAndInstanceAppId (line 52) | @Query( FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/InstanceRepository.java type InstanceRepository (line 23) | public interface InstanceRepository extends JpaRepository { method findByAppIdAndClusterNameAndDataCenterAndIp (line 24) | Instance findByAppIdAndClusterNameAndDataCenterAndIp(String appId, Str... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/ItemRepository.java type ItemRepository (line 32) | public interface ItemRepository extends JpaRepository { method findByNamespaceIdAndKey (line 34) | Item findByNamespaceIdAndKey(Long namespaceId, String key); method findByNamespaceIdOrderByLineNumAsc (line 36) | List findByNamespaceIdOrderByLineNumAsc(Long namespaceId); method findByNamespaceId (line 38) | List findByNamespaceId(Long namespaceId); method findByNamespaceIdAndDataChangeLastModifiedTimeGreaterThan (line 40) | List findByNamespaceIdAndDataChangeLastModifiedTimeGreaterThan(L... method findByKey (line 42) | Page findByKey(String key, Pageable pageable); method findByNamespaceId (line 44) | Page findByNamespaceId(Long namespaceId, Pageable pageable); method findFirst1ByNamespaceIdOrderByLineNumDesc (line 46) | Item findFirst1ByNamespaceIdOrderByLineNumDesc(Long namespaceId); method findItemsByKeyAndValueLike (line 48) | @Query("SELECT new com.ctrip.framework.apollo.common.dto.ItemInfoDTO(n... method findItemsByKeyLike (line 54) | @Query("SELECT new com.ctrip.framework.apollo.common.dto.ItemInfoDTO(n... method findItemsByValueLike (line 59) | @Query("SELECT new com.ctrip.framework.apollo.common.dto.ItemInfoDTO(n... method deleteByNamespaceId (line 64) | @Modifying method countByNamespaceIdAndFilterKeyEmpty (line 70) | @Query("select count(*) from Item where namespaceId = :namespaceId and... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/NamespaceLockRepository.java type NamespaceLockRepository (line 23) | public interface NamespaceLockRepository extends JpaRepository findByAppIdAndClusterNameOrderByIdAsc(String appId, St... method findByAppIdAndClusterNameAndNamespaceName (line 33) | Namespace findByAppIdAndClusterNameAndNamespaceName(String appId, Stri... method batchDelete (line 36) | @Modifying method findByAppIdAndNamespaceNameOrderByIdAsc (line 42) | List findByAppIdAndNamespaceNameOrderByIdAsc(String appId, ... method findByNamespaceName (line 44) | List findByNamespaceName(String namespaceName, Pageable page); method findByIdIn (line 46) | List findByIdIn(Set namespaceIds); method countByNamespaceNameAndAppIdNot (line 48) | int countByNamespaceNameAndAppIdNot(String namespaceName, String appId); method countByAppIdAndClusterName (line 50) | int countByAppIdAndClusterName(String appId, String clusterName); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/PrivilegeRepository.java type PrivilegeRepository (line 25) | public interface PrivilegeRepository extends JpaRepository findByNamespaceId(long namespaceId); method findByNamespaceIdAndPrivilType (line 29) | List findByNamespaceIdAndPrivilType(long namespaceId, Strin... method findByNamespaceIdAndNameAndPrivilType (line 31) | Privilege findByNamespaceIdAndNameAndPrivilType(long namespaceId, Stri... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/ReleaseHistoryRepository.java type ReleaseHistoryRepository (line 31) | public interface ReleaseHistoryRepository extends JpaRepository findByAppIdAndClusterNameAndNamespaceNameOrderByI... method findByReleaseIdAndOperationOrderByIdDesc (line 35) | Page findByReleaseIdAndOperationOrderByIdDesc(long rel... method findByPreviousReleaseIdAndOperationOrderByIdDesc (line 38) | Page findByPreviousReleaseIdAndOperationOrderByIdDesc(... method findByReleaseIdAndOperationInOrderByIdDesc (line 41) | Page findByReleaseIdAndOperationInOrderByIdDesc(long r... method batchDelete (line 44) | @Modifying method findByAppIdAndClusterNameAndNamespaceNameAndBranchNameOrderByIdDesc (line 51) | Page findByAppIdAndClusterNameAndNamespaceNameAndBranc... method findFirst100ByAppIdAndClusterNameAndNamespaceNameAndBranchNameAndIdLessThanEqualOrderByIdAsc (line 54) | List findFirst100ByAppIdAndClusterNameAndNamespaceName... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/ReleaseMessageRepository.java type ReleaseMessageRepository (line 31) | public interface ReleaseMessageRepository extends JpaRepository findFirst500ByIdGreaterThanOrderByIdAsc(Long id); method findTopByOrderByIdDesc (line 34) | ReleaseMessage findTopByOrderByIdDesc(); method findTopByMessageInOrderByIdDesc (line 36) | ReleaseMessage findTopByMessageInOrderByIdDesc(Collection mess... method findFirst100ByMessageAndIdLessThanOrderByIdAsc (line 38) | List findFirst100ByMessageAndIdLessThanOrderByIdAsc(St... method findLatestReleaseMessagesGroupByMessages (line 40) | @Query("select message, max(id) as id from ReleaseMessage where messag... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/ReleaseRepository.java type ReleaseRepository (line 33) | public interface ReleaseRepository extends JpaRepository { method findFirstByAppIdAndClusterNameAndNamespaceNameAndIsAbandonedFalseOrderByIdDesc (line 35) | Release findFirstByAppIdAndClusterNameAndNamespaceNameAndIsAbandonedFa... method findByIdAndIsAbandonedFalse (line 39) | Release findByIdAndIsAbandonedFalse(long id); method findByReleaseKey (line 41) | Release findByReleaseKey(String releaseKey); method findByAppIdAndClusterNameAndNamespaceNameOrderByIdDesc (line 43) | List findByAppIdAndClusterNameAndNamespaceNameOrderByIdDesc(S... method findByAppIdAndClusterNameAndNamespaceNameAndIsAbandonedFalseOrderByIdDesc (line 46) | List findByAppIdAndClusterNameAndNamespaceNameAndIsAbandonedF... method findByAppIdAndClusterNameAndNamespaceNameAndIsAbandonedFalseAndIdBetweenOrderByIdDesc (line 49) | List findByAppIdAndClusterNameAndNamespaceNameAndIsAbandonedF... method findByReleaseKeyIn (line 52) | List findByReleaseKeyIn(Set releaseKeys); method findByIdIn (line 54) | List findByIdIn(Set releaseIds); method batchDelete (line 56) | @Modifying method findByAppIdAndClusterNameAndNamespaceNameOrderByIdAsc (line 64) | List findByAppIdAndClusterNameAndNamespaceNameOrderByIdAsc(St... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/repository/ServerConfigRepository.java type ServerConfigRepository (line 26) | public interface ServerConfigRepository extends JpaRepository findByServiceNameAndDataChangeLastModifiedTimeGr... method findByServiceNameAndUri (line 29) | ServiceRegistry findByServiceNameAndUri(String serviceName, String uri); method deleteByDataChangeLastModifiedTimeLessThan (line 31) | List deleteByDataChangeLastModifiedTimeLessThan(Local... method deleteByServiceNameAndUri (line 33) | int deleteByServiceNameAndUri(String serviceName, String uri); FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AccessKeyService.java class AccessKeyService (line 30) | @Service method AccessKeyService (line 38) | public AccessKeyService(AccessKeyRepository accessKeyRepository, Audit... method findByAppId (line 43) | public List findByAppId(String appId) { method create (line 47) | @Transactional method update (line 65) | @Transactional method delete (line 84) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AdminService.java class AdminService (line 31) | @Service method AdminService (line 40) | public AdminService(final AppService appService, method createNewApp (line 49) | @Transactional method deleteApp (line 65) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AppNamespaceService.java class AppNamespaceService (line 44) | @Service method AppNamespaceService (line 54) | public AppNamespaceService(final AppNamespaceRepository appNamespaceRe... method isAppNamespaceNameUnique (line 63) | public boolean isAppNamespaceNameUnique(String appId, String namespace... method findPublicNamespaceByName (line 69) | public AppNamespace findPublicNamespaceByName(String namespaceName) { method findByAppId (line 74) | public List findByAppId(String appId) { method findPublicNamespacesByNames (line 78) | public List findPublicNamespacesByNames(Set name... method findPrivateAppNamespace (line 86) | public List findPrivateAppNamespace(String appId) { method findOne (line 90) | public AppNamespace findOne(String appId, String namespaceName) { method findByAppIdAndNamespaces (line 96) | public List findByAppIdAndNamespaces(String appId, Set findAll(Pageable pageable) { method findByName (line 69) | public List findByName(String name) { method findOne (line 73) | public App findOne(String appId) { method save (line 77) | @Transactional method update (line 92) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AuditService.java class AuditService (line 26) | @Service method AuditService (line 31) | public AuditService(final AuditRepository auditRepository) { method findByOwner (line 35) | List findByOwner(String owner) { method find (line 39) | List find(String owner, String entity, String op) { method audit (line 43) | @Transactional method audit (line 53) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/BizDBPropertySource.java class BizDBPropertySource (line 47) | @Component method BizDBPropertySource (line 58) | @Autowired method runSqlScript (line 67) | @PostConstruct method getCurrentDataCenter (line 77) | String getCurrentDataCenter() { method refresh (line 81) | @Override FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ClusterService.java class ClusterService (line 35) | @Service method ClusterService (line 42) | public ClusterService(final ClusterRepository clusterRepository, final... method isClusterNameUnique (line 50) | public boolean isClusterNameUnique(String appId, String clusterName) { method findOne (line 56) | public Cluster findOne(String appId, String name) { method findOne (line 60) | public Cluster findOne(long clusterId) { method findParentClusters (line 64) | public List findParentClusters(String appId) { method saveWithInstanceOfAppNamespaces (line 79) | @Transactional method saveWithoutInstanceOfAppNamespaces (line 90) | @Transactional method delete (line 104) | @Transactional method update (line 121) | @Transactional method createDefaultCluster (line 134) | @Transactional method findChildClusters (line 149) | public List findChildClusters(String appId, String parentClus... method findClusters (line 158) | public List findClusters(String appId) { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/CommitService.java class CommitService (line 28) | @Service method CommitService (line 33) | public CommitService(final CommitRepository commitRepository) { method createCommit (line 37) | public void createCommit(String appId, String clusterName, String name... method find (line 51) | public List find(String appId, String clusterName, String name... method find (line 56) | public List find(String appId, String clusterName, String name... method findByKey (line 63) | public List findByKey(String appId, String clusterName, String... method batchDelete (line 70) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/InstanceService.java class InstanceService (line 43) | @Service method InstanceService (line 48) | public InstanceService(final InstanceRepository instanceRepository, method findInstance (line 54) | public Instance findInstance(String appId, String clusterName, String ... method findInstancesByIds (line 59) | public List findInstancesByIds(Set instanceIds) { method createInstance (line 64) | @Transactional method findInstanceConfig (line 71) | public InstanceConfig findInstanceConfig(long instanceId, String confi... method findActiveInstanceConfigsByReleaseKey (line 77) | public Page findActiveInstanceConfigsByReleaseKey(Stri... method findInstancesByNamespace (line 83) | public Page findInstancesByNamespace(String appId, String cl... method findInstancesByNamespaceAndInstanceAppId (line 99) | public Page findInstancesByNamespaceAndInstanceAppId(String ... method findInstanceConfigsByNamespaceWithReleaseKeysNotIn (line 115) | public List findInstanceConfigsByNamespaceWithReleaseK... method getValidInstanceConfigDate (line 132) | private Date getValidInstanceConfigDate() { method createInstanceConfig (line 139) | @Transactional method updateInstanceConfig (line 146) | @Transactional method batchDeleteInstanceConfig (line 162) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ItemService.java class ItemService (line 41) | @Service method ItemService (line 51) | public ItemService(final ItemRepository itemRepository, method delete (line 61) | @Transactional method batchDelete (line 76) | @Transactional method findOne (line 82) | public Item findOne(String appId, String clusterName, String namespace... method findLastOne (line 88) | public Item findLastOne(String appId, String clusterName, String names... method findLastOne (line 94) | public Item findLastOne(long namespaceId) { method findOne (line 98) | public Item findOne(long itemId) { method findItemsWithoutOrdered (line 102) | public List findItemsWithoutOrdered(Long namespaceId) { method findItemsWithoutOrdered (line 110) | public List findItemsWithoutOrdered(String appId, String cluster... method findItemsWithOrdered (line 119) | public List findItemsWithOrdered(Long namespaceId) { method findItemsWithOrdered (line 127) | public List findItemsWithOrdered(String appId, String clusterNam... method findItemsModifiedAfterDate (line 135) | public List findItemsModifiedAfterDate(long namespaceId, Date da... method findNonEmptyItemCount (line 140) | public int findNonEmptyItemCount(long namespaceId) { method findItemsByKey (line 144) | public Page findItemsByKey(String key, Pageable pageable) { method findItemsByNamespace (line 148) | public Page findItemsByNamespace(String appId, String clusterNam... method getItemInfoBySearch (line 155) | public Page getItemInfoBySearch(String key, String value,... method save (line 167) | @Transactional method saveComment (line 189) | @Transactional method update (line 209) | @Transactional method checkItemValueLength (line 223) | private boolean checkItemValueLength(long namespaceId, String value) { method getGrayNamespaceItemValueLengthLimit (line 239) | private int getGrayNamespaceItemValueLengthLimit(Namespace grayNamespace, method checkItemKeyLength (line 251) | private boolean checkItemKeyLength(String key) { method checkItemType (line 258) | private boolean checkItemType(int type) { method getItemValueLengthLimit (line 265) | private int getItemValueLengthLimit(Namespace namespace) { method findNamespaceByAppIdAndClusterNameAndNamespaceName (line 281) | private Namespace findNamespaceByAppIdAndClusterNameAndNamespaceName(S... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ItemSetService.java class ItemSetService (line 36) | @Service method ItemSetService (line 45) | public ItemSetService(final AuditService auditService, final CommitSer... method updateSet (line 55) | @Transactional method updateSet (line 61) | @Transactional method doDeleteItems (line 112) | private void doDeleteItems(List toDeleteItems, Namespace name... method doUpdateItems (line 125) | private void doUpdateItems(List toUpdateItems, Namespace name... method doCreateItems (line 152) | private void doCreateItems(List toCreateItems, Namespace name... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/NamespaceBranchService.java class NamespaceBranchService (line 38) | @Service method NamespaceBranchService (line 48) | public NamespaceBranchService(final AuditService auditService, method createBranch (line 60) | @Transactional method findBranch (line 84) | public Namespace findBranch(String appId, String parentClusterName, St... method findBranchGrayRules (line 88) | public GrayReleaseRule findBranchGrayRules(String appId, String cluste... method updateBranchGrayRules (line 95) | @Transactional method doUpdateBranchGrayRules (line 102) | private void doUpdateBranchGrayRules(String appId, String clusterName,... method updateRulesReleaseId (line 137) | @Transactional method deleteBranch (line 166) | @Transactional method createChildCluster (line 205) | private Cluster createChildCluster(String appId, Cluster parentCluster... method createNamespaceBranch (line 220) | private Namespace createNamespaceBranch(String appId, String clusterNa... FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/NamespaceLockService.java class NamespaceLockService (line 24) | @Service method NamespaceLockService (line 29) | public NamespaceLockService(final NamespaceLockRepository namespaceLoc... method findLock (line 33) | public NamespaceLock findLock(Long namespaceId) { method tryLock (line 38) | @Transactional method unlock (line 43) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/NamespaceService.java class NamespaceService (line 55) | @Service method NamespaceService (line 74) | public NamespaceService(final ReleaseHistoryService releaseHistoryServ... method findOne (line 98) | public Namespace findOne(Long namespaceId) { method findOne (line 102) | public Namespace findOne(String appId, String clusterName, String name... method findByItem (line 110) | public Page findByItem(String itemKey, Pageable pageable) { method findPublicNamespaceForAssociatedNamespace (line 122) | public Namespace findPublicNamespaceForAssociatedNamespace(String clus... method findPublicAppNamespaceAllNamespaces (line 175) | public List findPublicAppNamespaceAllNamespaces(String name... method filterChildNamespace (line 188) | private List filterChildNamespace(List namespace... method countPublicAppNamespaceAssociatedNamespaces (line 204) | public int countPublicAppNamespaceAssociatedNamespaces(String publicNa... method findNamespaces (line 217) | public List findNamespaces(String appId, String clusterName) { method findByAppIdAndNamespaceName (line 226) | public List findByAppIdAndNamespaceName(String appId, Strin... method findChildNamespace (line 230) | public Namespace findChildNamespace(String appId, String parentCluster... method findChildNamespace (line 254) | public Namespace findChildNamespace(Namespace parentNamespace) { method findParentNamespace (line 263) | public Namespace findParentNamespace(String appId, String clusterName,... method findParentNamespace (line 267) | public Namespace findParentNamespace(Namespace namespace) { method isChildNamespace (line 280) | public boolean isChildNamespace(String appId, String clusterName, Stri... method isChildNamespace (line 284) | public boolean isChildNamespace(Namespace namespace) { method isNamespaceUnique (line 288) | public boolean isNamespaceUnique(String appId, String cluster, String ... method deleteByAppIdAndClusterName (line 296) | @Transactional method deleteNamespace (line 308) | @Transactional method save (line 356) | @Transactional method update (line 382) | @Transactional method instanceOfAppNamespaces (line 395) | @Transactional method namespacePublishInfo (line 413) | public Map namespacePublishInfo(String appId) { method isNamespaceNotPublished (line 440) | private boolean isNamespaceNotPublished(Namespace namespace) { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ReleaseHistoryService.java class ReleaseHistoryService (line 58) | @Service method ReleaseHistoryService (line 75) | public ReleaseHistoryService(final ReleaseHistoryRepository releaseHis... method initialize (line 85) | @PostConstruct method findReleaseHistoriesByNamespace (line 104) | public Page findReleaseHistoriesByNamespace(String app... method findByReleaseIdAndOperation (line 110) | public Page findByReleaseIdAndOperation(long releaseId... method findByPreviousReleaseIdAndOperation (line 116) | public Page findByPreviousReleaseIdAndOperation(long p... method findByReleaseIdAndOperationInOrderByIdDesc (line 122) | public Page findByReleaseIdAndOperationInOrderByIdDesc... method createReleaseHistory (line 128) | @Transactional method batchDelete (line 164) | @Transactional method releaseHistoryRetentionMaxId (line 169) | private Optional releaseHistoryRetentionMaxId(ReleaseHistory rel... method cleanReleaseHistory (line 182) | private void cleanReleaseHistory(ReleaseHistory cleanRelease) { method getReleaseHistoryRetentionLimit (line 218) | private int getReleaseHistoryRetentionLimit(ReleaseHistory releaseHist... method stopClean (line 227) | @PreDestroy FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ReleaseMessageService.java class ReleaseMessageService (line 33) | @Service method ReleaseMessageService (line 37) | public ReleaseMessageService(final ReleaseMessageRepository releaseMes... method findLatestReleaseMessageForMessages (line 41) | public ReleaseMessage findLatestReleaseMessageForMessages(Collection findLatestReleaseMessagesGroupByMessages( FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ReleaseService.java class ReleaseService (line 62) | @Service method ReleaseService (line 84) | public ReleaseService(final ReleaseRepository releaseRepository, final... method findOne (line 98) | public Release findOne(long releaseId) { method findActiveOne (line 103) | public Release findActiveOne(long releaseId) { method findByReleaseIds (line 107) | public List findByReleaseIds(Set releaseIds) { method findByReleaseKeys (line 115) | public List findByReleaseKeys(Set releaseKeys) { method findByReleaseKey (line 119) | public Release findByReleaseKey(String releaseKey) { method findLatestActiveRelease (line 123) | public Release findLatestActiveRelease(Namespace namespace) { method findLatestActiveRelease (line 129) | public Release findLatestActiveRelease(String appId, String clusterNam... method findAllReleases (line 135) | public List findAllReleases(String appId, String clusterName,... method findActiveReleases (line 146) | public List findActiveReleases(String appId, String clusterNa... method findActiveReleasesBetween (line 157) | private List findActiveReleasesBetween(String appId, String c... method mergeBranchChangeSetsAndRelease (line 168) | @Transactional method publish (line 194) | @Transactional method publishBranchNamespace (line 233) | private Release publishBranchNamespace(Namespace parentNamespace, Name... method grayDeletionPublish (line 257) | @Transactional method checkLock (line 275) | private void checkLock(Namespace namespace, boolean isEmergencyPublish... method mergeFromMasterAndPublishBranch (line 284) | private void mergeFromMasterAndPublishBranch(Namespace parentNamespace... method getBranchReleaseKeys (line 319) | private Collection getBranchReleaseKeys(long releaseId) { method publishBranchNamespace (line 344) | private Release publishBranchNamespace(Namespace parentNamespace, Name... method masterRelease (line 352) | private Release masterRelease(Namespace namespace, String releaseName,... method branchRelease (line 367) | private Release branchRelease(Namespace parentNamespace, Namespace chi... method mergeConfiguration (line 402) | private Map mergeConfiguration(Map bas... method getNamespaceItems (line 416) | private Map getNamespaceItems(Namespace namespace) { method createRelease (line 429) | private Release createRelease(Namespace namespace, String name, String... method rollback (line 451) | @Transactional method rollbackTo (line 489) | @Transactional method rollbackChildNamespace (line 532) | private void rollbackChildNamespace(String appId, String clusterName, ... method calculateChildNamespaceToPublishConfiguration (line 575) | private Map calculateChildNamespaceToPublishConfigurat... method calculateBranchModifiedItemsAccordingToRelease (line 590) | private Map calculateBranchModifiedItemsAccordingToRel... method batchDelete (line 628) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ServerConfigService.java class ServerConfigService (line 31) | @Service method ServerConfigService (line 36) | public ServerConfigService(ServerConfigRepository serverConfigReposito... method findAll (line 40) | public List findAll() { method createOrUpdateConfig (line 45) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ServiceRegistryService.java class ServiceRegistryService (line 26) | public class ServiceRegistryService { method ServiceRegistryService (line 30) | public ServiceRegistryService(ServiceRegistryRepository repository) { method saveIfNotExistByServiceNameAndUri (line 34) | public ServiceRegistry saveIfNotExistByServiceNameAndUri(ServiceRegist... method delete (line 51) | @Transactional method findByServiceNameDataChangeLastModifiedTimeGreaterThan (line 57) | public List findByServiceNameDataChangeLastModifiedTi... method deleteTimeBefore (line 63) | @Transactional FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/utils/ConfigChangeContentBuilder.java class ConfigChangeContentBuilder (line 28) | public class ConfigChangeContentBuilder { method createItem (line 36) | public ConfigChangeContentBuilder createItem(Item item) { method updateItem (line 43) | public ConfigChangeContentBuilder updateItem(Item oldItem, Item newIte... method deleteItem (line 51) | public ConfigChangeContentBuilder deleteItem(Item item) { method hasContent (line 58) | public boolean hasContent() { method build (line 62) | public String build() { class ItemPair (line 81) | static class ItemPair { method ItemPair (line 86) | public ItemPair(Item oldItem, Item newItem) { method cloneItem (line 92) | Item cloneItem(Item source) { method convertJsonString (line 100) | public static ConfigChangeContentBuilder convertJsonString(String cont... method getCreateItems (line 104) | public List getCreateItems() { method getUpdateItems (line 108) | public List getUpdateItems() { method getDeleteItems (line 112) | public List getDeleteItems() { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/utils/EntityManagerUtil.java class EntityManagerUtil (line 30) | @Component method closeEntityManager (line 39) | public void closeEntityManager() { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/utils/ReleaseKeyGenerator.java class ReleaseKeyGenerator (line 26) | public class ReleaseKeyGenerator extends UniqueKeyGenerator { method generateReleaseKey (line 35) | public static String generateReleaseKey(Namespace namespace) { FILE: apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/utils/ReleaseMessageKeyGenerator.java class ReleaseMessageKeyGenerator (line 29) | public class ReleaseMessageKeyGenerator { method generate (line 37) | public static String generate(String appId, String cluster, String nam... method messageToList (line 41) | public static List messageToList(String message) { FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/AbstractIntegrationTest.java class AbstractIntegrationTest (line 26) | @RunWith(SpringJUnit4ClassRunner.class) FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/AbstractUnitTest.java class AbstractUnitTest (line 22) | @RunWith(MockitoJUnitRunner.class) FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/BizTestConfiguration.java class BizTestConfiguration (line 25) | @Configuration FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/MockBeanFactory.java class MockBeanFactory (line 25) | public class MockBeanFactory { method mockNamespace (line 27) | public static Namespace mockNamespace(String appId, String clusterName... method mockAppNamespace (line 37) | public static AppNamespace mockAppNamespace(String appId, String name,... method mockServerConfig (line 47) | public static ServerConfig mockServerConfig(String key, String value, ... method mockRelease (line 57) | public static Release mockRelease(long releaseId, String releaseKey, S... method mockItem (line 71) | public static Item mockItem(long id, long namespaceId, String itemKey,... FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/config/BizConfigTest.java class BizConfigTest (line 40) | @RunWith(MockitoJUnitRunner.class) method setUp (line 53) | @Before method testReleaseMessageNotificationBatch (line 60) | @Test method testReleaseMessageNotificationBatchWithDefaultValue (line 69) | @Test method testReleaseMessageNotificationBatchWithInvalidNumber (line 76) | @Test method testReleaseHistoryRetentionSize (line 86) | @Test method testReleaseHistoryRetentionSizeOverride (line 95) | @Test method testAppIdValueLengthLimitOverride (line 117) | @Test method testReleaseMessageNotificationBatchWithNAN (line 159) | @Test method testCheckInt (line 168) | @Test method testIsConfigServiceCacheKeyIgnoreCase (line 186) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/entity/JpaMapFieldJsonConverterTest.java class JpaMapFieldJsonConverterTest (line 31) | class JpaMapFieldJsonConverterTest { method readAllContentOf (line 35) | static String readAllContentOf(String path) throws IOException { method convertToDatabaseColumn_null (line 41) | @Test method convertToDatabaseColumn_empty (line 46) | @Test method convertToDatabaseColumn_oneElement (line 51) | @Test method convertToDatabaseColumn_twoElement (line 60) | @Test method convertToEntityAttribute_null (line 70) | @Test method convertToEntityAttribute_null_oneElement (line 76) | @Test method convertToEntityAttribute_null_twoElement (line 85) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/grayReleaseRule/GrayReleaseRulesHolderTest.java class GrayReleaseRulesHolderTest (line 53) | @RunWith(MockitoJUnitRunner.class) method setUp (line 64) | @Before method testScanGrayReleaseRules (line 70) | @Test method assembleGrayReleaseRule (line 177) | private GrayReleaseRule assembleGrayReleaseRule(String appId, String c... method assembleRuleItem (line 193) | private GrayReleaseRuleItemDTO assembleRuleItem(String clientAppId, Se... method assembleReleaseMessage (line 198) | private ReleaseMessage assembleReleaseMessage(String appId, String clu... FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/message/DatabaseMessageSenderTest.java class DatabaseMessageSenderTest (line 33) | public class DatabaseMessageSenderTest extends AbstractUnitTest { method setUp (line 38) | @Before method testSendMessage (line 43) | @Test method testSendUnsupportedMessage (line 59) | @Test method testSendMessageFailed (line 69) | @Test(expected = RuntimeException.class) FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/message/ReleaseMessageScannerTest.java class ReleaseMessageScannerTest (line 44) | public class ReleaseMessageScannerTest extends AbstractUnitTest { method setUp (line 52) | @Before method testScanMessageAndNotifyMessageListener (line 64) | @Test method testScanMessageWithGapAndNotifyMessageListener (line 100) | @Test method assembleReleaseMessage (line 183) | private ReleaseMessage assembleReleaseMessage(long id, String message) { FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImplTest.java class DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImplTest (line 28) | class DatabaseDiscoveryClientAlwaysAddSelfInstanceDecoratorImplTest { method getInstances_other_service_name (line 30) | @Test method getInstances_contain_self (line 54) | @Test method getInstances_same_service_name_without_self (line 83) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClientImplTest.java class DatabaseDiscoveryClientImplTest (line 34) | class DatabaseDiscoveryClientImplTest { method newServiceRegistry (line 36) | private static ServiceRegistry newServiceRegistry(String serviceName, ... method newServiceRegistry (line 48) | private static ServiceRegistry newServiceRegistry(String serviceName, ... method getInstances_filterByCluster (line 53) | @Test method getInstances_filterByHealthCheck (line 75) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClientMemoryCacheDecoratorImplTest.java class DatabaseDiscoveryClientMemoryCacheDecoratorImplTest (line 28) | class DatabaseDiscoveryClientMemoryCacheDecoratorImplTest { method init (line 30) | @Test method updateCacheTask_empty (line 38) | @Test method updateCacheTask_exception (line 48) | @Test method getInstances_from_cache (line 71) | @Test method getInstances_from_cache_when_database_updated (line 94) | @Test method getInstances_from_cache_when_database_crash (line 142) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryIntegrationTest.java class DatabaseDiscoveryIntegrationTest (line 36) | @TestPropertySource(properties = {"apollo.service.registry.enabled=true", method registerThenDiscoveryThenDelete (line 54) | @Test method registerThenDiscoveryNone (line 81) | @Test method registerTwice (line 94) | @Test method registerTwoInstancesThenDeleteOne (line 110) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryWithoutDecoratorIntegrationTest.java class DatabaseDiscoveryWithoutDecoratorIntegrationTest (line 45) | @TestPropertySource(properties = {"apollo.service.registry.enabled=true", method registerThenDiscoveryThenDelete (line 68) | @Test method registerThenDiscoveryNone (line 95) | @Test method registerTwice (line 108) | @Test method registerTwoInstancesThenDeleteOne (line 124) | @Test class ApolloServiceDiscoveryWithoutDecoratorAutoConfiguration (line 155) | @Configuration method databaseDiscoveryClient (line 162) | @Bean FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/ServiceInstanceFactory.java class ServiceInstanceFactory (line 21) | public class ServiceInstanceFactory { method newServiceInstance (line 22) | static ServiceInstance newServiceInstance(String serviceName, String u... FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/configuration/ApolloServiceRegistryAutoConfigurationNotEnabledTest.java class ApolloServiceRegistryAutoConfigurationNotEnabledTest (line 38) | @SpringBootTest method assertNoSuchBean (line 47) | private void assertNoSuchBean(Class requiredType) { method ensureNoSuchBeans (line 52) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/registry/configuration/support/ApolloServiceRegistryClearApplicationRunnerIntegrationTest.java class ApolloServiceRegistryClearApplicationRunnerIntegrationTest (line 33) | @TestPropertySource(properties = {"apollo.service.registry.enabled=true", method clearUnhealthyInstances (line 47) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/AccessKeyRepositoryTest.java class AccessKeyRepositoryTest (line 35) | public class AccessKeyRepositoryTest extends AbstractIntegrationTest { method testSave (line 40) | @Test method testFindByAppId (line 55) | @Test method testFindFirst500ByDataChangeLastModifiedTimeGreaterThanOrderByDataChangeLastModifiedTime (line 68) | @Test method testFindFirst500ByDataChangeLastModifiedTimeGreaterThanEqualAndDataChangeLastModifiedTimeLessThanOrderByDataChangeLastModifiedTime (line 87) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/AppNamespaceRepositoryTest.java class AppNamespaceRepositoryTest (line 28) | public class AppNamespaceRepositoryTest extends AbstractIntegrationTest { method testFindByNameAndIsPublicTrue (line 33) | @Test method testFindByNameAndNoPublicNamespace (line 40) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/AppRepositoryTest.java class AppRepositoryTest (line 26) | public class AppRepositoryTest extends AbstractIntegrationTest { method testCreate (line 31) | @Test method testRemove (line 51) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/InstanceConfigRepositoryTest.java class InstanceConfigRepositoryTest (line 37) | public class InstanceConfigRepositoryTest extends AbstractIntegrationTest { method shouldPaginated (line 43) | @Rollback FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/ReleaseHistoryRepositoryTest.java class ReleaseHistoryRepositoryTest (line 36) | public class ReleaseHistoryRepositoryTest extends AbstractIntegrationTest { method testFindReleaseHistoryRetentionMaxId (line 41) | @Test method testFindFirst100ByAppIdAndClusterNameAndNamespaceNameAndBranchNameAndIdLessThanEqualOrderByIdAsc (line 68) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/AccessKeyServiceTest.java class AccessKeyServiceTest (line 30) | public class AccessKeyServiceTest extends AbstractIntegrationTest { method testCreate (line 35) | @Test method testCreateWithException (line 46) | @Test(expected = BadRequestException.class) method assembleAccessKey (line 58) | private AccessKey assembleAccessKey(String appId, String secret) { FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/AdminServiceTest.java class AdminServiceTest (line 33) | public class AdminServiceTest extends AbstractIntegrationTest { method testCreateNewApp (line 53) | @Test method testCreateDuplicateApp (line 81) | @Test(expected = ServiceException.class) method testDeleteApp (line 99) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/AdminServiceTransactionTest.java class AdminServiceTransactionTest (line 37) | public class AdminServiceTransactionTest extends AbstractIntegrationTest { method verifyInitialDatabaseState (line 54) | @BeforeTransaction method setUpTestDataWithinTransaction (line 65) | @Before method modifyDatabaseWithinTransaction (line 73) | @Test method tearDownWithinTransaction (line 89) | @After method verifyFinalDatabaseState (line 97) | @AfterTransaction FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/BizDBPropertySourceTest.java class BizDBPropertySourceTest (line 44) | public class BizDBPropertySourceTest extends AbstractUnitTest { method initTestData (line 64) | @Before method clear (line 93) | @After method testGetClusterConfig (line 98) | @Test method testGetDcConfig (line 106) | @Test method testGetDefaultConfig (line 113) | @Test method testGetNull (line 121) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ClusterServiceTest.java class ClusterServiceTest (line 28) | public class ClusterServiceTest extends AbstractIntegrationTest { method testCreateDuplicateCluster (line 36) | @Test(expected = ServiceException.class) FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/InstanceServiceTest.java class InstanceServiceTest (line 46) | public class InstanceServiceTest extends AbstractIntegrationTest { method testCreateAndFindInstance (line 50) | @Test method testFindInstancesByIds (line 71) | @Test method testCreateAndFindInstanceConfig (line 93) | @Test method testFindActiveInstanceConfigs (line 128) | @Test method testFindInstancesByNamespace (line 156) | @Test method testFindInstancesByNamespaceAndInstanceAppId (line 187) | @Test method testFindInstanceConfigsByNamespaceWithReleaseKeysNotIn (line 223) | @Test method prepareInstanceConfigForInstance (line 253) | private InstanceConfig prepareInstanceConfigForInstance(long instanceI... method assembleInstance (line 264) | private Instance assembleInstance(String appId, String clusterName, St... method assembleInstanceConfig (line 275) | private InstanceConfig assembleInstanceConfig(long instanceId, String ... FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ItemServiceTest.java class ItemServiceTest (line 38) | public class ItemServiceTest extends AbstractIntegrationTest { method setUp (line 55) | @Before method testSaveItem (line 60) | @Test method testSaveItemWithNamespaceValueLengthLimitOverride (line 78) | @Test method testSaveItemWithAppIdValueLengthLimitOverride (line 102) | @Test method testUpdateItem (line 127) | @Test method testSearchItem (line 141) | @Test method createItem (line 170) | private Item createItem(long namespaceId, String key, String value, in... FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ItemSetServiceTest.java class ItemSetServiceTest (line 34) | public class ItemSetServiceTest extends AbstractIntegrationTest { method testUpdateSetWithoutItemNumLimit (line 47) | @Test method testUpdateSetWithItemNumLimit (line 75) | @Test method testUpdateSetWithItemNumLimit2 (line 108) | @Test method buildNormalItem (line 140) | private ItemDTO buildNormalItem(Long id, Long namespaceId, String key,... FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/NamespaceBranchServiceTest.java class NamespaceBranchServiceTest (line 41) | public class NamespaceBranchServiceTest extends AbstractIntegrationTest { method testFindBranch (line 56) | @Test method testUpdateBranchGrayRulesWithUpdateOnce (line 67) | @Test method testUpdateBranchGrayRulesWithUpdateTwice (line 97) | @Test method containRules (line 140) | private boolean containRules(String context, String rules) { method testUpdateRulesReleaseIdWithOldRuleNotExist (line 166) | @Test method testUpdateRulesReleaseIdWithOldRuleExist (line 182) | @Test method testDeleteBranch (line 207) | @Test method instanceGrayReleaseRule (line 243) | private GrayReleaseRule instanceGrayReleaseRule() { FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/NamespacePublishInfoTest.java class NamespacePublishInfoTest (line 40) | public class NamespacePublishInfoTest extends AbstractUnitTest { method testNamespaceNotEverPublishedButHasItems (line 56) | @Test method testNamespaceEverPublishedAndNotModifiedAfter (line 74) | @Test method testNamespaceEverPublishedAndModifiedAfter (line 96) | @Test method createCluster (line 118) | private Cluster createCluster(String clusterName) { method createNamespace (line 128) | private Namespace createNamespace(String clusterName, String namespace... method createItem (line 139) | private Item createItem(long namespaceId, String key, String value) { method createRelease (line 149) | private Release createRelease(String configuration) { FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/NamespaceServiceIntegrationTest.java class NamespaceServiceIntegrationTest (line 54) | public class NamespaceServiceIntegrationTest extends AbstractIntegration... method testDeleteNamespace (line 87) | @Test method testGetCommitsByModifiedTime (line 124) | @Test method testNamespaceNumLimit (line 152) | @Test method testNamespaceNumLimitFalse (line 183) | @Test method testNamespaceNumLimitWhite (line 207) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/NamespaceServiceTest.java class NamespaceServiceTest (line 41) | public class NamespaceServiceTest extends AbstractUnitTest { method testFindPublicAppNamespaceWithWrongNamespace (line 55) | @Test(expected = BadRequestException.class) method testFindPublicAppNamespace (line 64) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ReleaseCreationTest.java class ReleaseCreationTest (line 39) | public class ReleaseCreationTest extends AbstractIntegrationTest { method testPublishNormalNamespace (line 55) | @Test method testPublishMasterNamespaceAndBranchHasNotItems (line 99) | @Test method testPublishMasterNamespaceAndBranchHasItems (line 176) | @Test method testModifyMasterNamespaceItemsAndBranchAlsoModify (line 250) | @Test method testPublishBranchAtFirstTime (line 322) | @Test method testPublishBranch (line 395) | @Test method testRollback (line 469) | @Test method instanceNamespace (line 522) | private Namespace instanceNamespace(long id, String clusterName) { method parseConfiguration (line 531) | private Map parseConfiguration(String configuration) { FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ReleaseHistoryServiceTest.java class ReleaseHistoryServiceTest (line 56) | @RunWith(SpringJUnit4ClassRunner.class) method setUp (line 79) | @Before method testCleanReleaseHistory (line 89) | @Test method testCleanReleaseHistoryTransactionalRollBack (line 128) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ReleaseServiceTest.java class ReleaseServiceTest (line 48) | public class ReleaseServiceTest extends AbstractUnitTest { method init (line 70) | @Before method testNamespaceNotExist (line 89) | @Test(expected = BadRequestException.class) method testHasNoRelease (line 97) | @Test(expected = BadRequestException.class) method testRollback (line 110) | @Test method testRollbackTo (line 128) | @Test method testFindRelease (line 159) | @Test method testLoadConfigWithConfigNotFound (line 189) | @Test method testFindByReleaseIds (line 209) | @Test method testFindByReleaseKeys (line 225) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ServerConfigServiceTest.java class ServerConfigServiceTest (line 32) | public class ServerConfigServiceTest extends AbstractIntegrationTest { method findAll (line 37) | @Test method createOrUpdateConfig (line 44) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/utils/ConfigChangeContentBuilderTest.java class ConfigChangeContentBuilderTest (line 33) | public class ConfigChangeContentBuilderTest { method initConfig (line 42) | @Before method testHasContent (line 58) | @Test method testHasContentFalseCheck (line 67) | @Test method testConvertJsonString (line 75) | @Test FILE: apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/utils/ReleaseKeyGeneratorTest.java class ReleaseKeyGeneratorTest (line 38) | public class ReleaseKeyGeneratorTest { method testGenerateReleaseKey (line 40) | @Test method testMessageToList (line 70) | @Test method generateReleaseKeysTask (line 86) | private Runnable generateReleaseKeysTask(Namespace namespace, Set convert(String repositoryDir, String srcDir... method createConfiguration (line 62) | private static Configuration createConfiguration(String srcDir) { method convertMysqlDefaultList (line 73) | private static void convertMysqlDefaultList(List template... method convertMysqlDatabaseNotSpecifiedList (line 89) | private static void convertMysqlDatabaseNotSpecifiedList(List templateLis... FILE: apollo-build-sql-converter/src/main/java/com/ctrip/framework/apollo/build/sql/converter/ApolloSqlConverterUtil.java class ApolloSqlConverterUtil (line 46) | public class ApolloSqlConverterUtil { method getRepositoryDir (line 60) | public static String getRepositoryDir() { method ensureDirectories (line 81) | public static void ensureDirectories(String targetFilePath) { method process (line 91) | public static String process(SqlTemplate sqlTemplate, SqlTemplateConte... method replacePrefix (line 102) | public static String replacePrefix(String origin, String prefix, Strin... method replacePath (line 109) | public static String replacePath(String origin, String src, String tar... method getGists (line 116) | public static SqlTemplateGist getGists(String repositoryDir) { method getGist (line 126) | private static String getGist(String gistPath) { method getSqlList (line 150) | public static List getSqlList(String dir, Set ignoreDi... method getSqlList (line 163) | public static List getSqlList(String dir) { method list (line 167) | public static List list(Path dir) { method listSorted (line 179) | public static List listSorted(Path dir, Comparator compara... method listSorted (line 186) | public static List listSorted(Path dir) { method deleteDir (line 190) | public static void deleteDir(Path dir) { method deleteDirInternal (line 198) | private static void deleteDirInternal(Path dir) throws IOException { method deltaSqlComparator (line 216) | public static Comparator deltaSqlComparator() { method getDeltaSqlList (line 245) | private static List getDeltaSqlList(String dir, Set ig... method toTemplates (line 273) | public static List toTemplates(List srcSqlList, S... method toStatements (line 289) | public static List toStatements(String rawText) { method commentLine (line 319) | private static void commentLine(String line, AtomicReference... FILE: apollo-build-sql-converter/src/main/java/com/ctrip/framework/apollo/build/sql/converter/SqlStatement.java class SqlStatement (line 23) | public class SqlStatement { method SqlStatement (line 31) | SqlStatement(Builder builder) { method builder (line 37) | public static Builder builder() { method toBuilder (line 41) | public Builder toBuilder() { method getRawText (line 49) | public String getRawText() { method getSingleLineText (line 53) | public String getSingleLineText() { method getTextLines (line 57) | public List getTextLines() { method toString (line 61) | @Override class Builder (line 68) | public static final class Builder { method Builder (line 74) | Builder() {} method rawText (line 76) | public Builder rawText(String rawText) { method singleLineText (line 81) | public Builder singleLineText(String singleLineText) { method textLines (line 86) | public Builder textLines(List textLines) { method build (line 93) | public SqlStatement build() { FILE: apollo-build-sql-converter/src/main/java/com/ctrip/framework/apollo/build/sql/converter/SqlTemplate.java class SqlTemplate (line 21) | public class SqlTemplate { method SqlTemplate (line 27) | public SqlTemplate(String srcPath, Template template) { method getSrcPath (line 32) | public String getSrcPath() { method getTemplate (line 36) | public Template getTemplate() { FILE: apollo-build-sql-converter/src/main/java/com/ctrip/framework/apollo/build/sql/converter/SqlTemplateContext.java class SqlTemplateContext (line 21) | public class SqlTemplateContext { method SqlTemplateContext (line 28) | SqlTemplateContext(Builder builder) { method builder (line 32) | public static Builder builder() { method toBuilder (line 36) | public Builder toBuilder() { method getGists (line 42) | public SqlTemplateGist getGists() { method toString (line 46) | @Override class Builder (line 53) | public static final class Builder { method Builder (line 57) | Builder() {} method gists (line 59) | public Builder gists(SqlTemplateGist gists) { method build (line 64) | public SqlTemplateContext build() { FILE: apollo-build-sql-converter/src/main/java/com/ctrip/framework/apollo/build/sql/converter/SqlTemplateGist.java class SqlTemplateGist (line 21) | public class SqlTemplateGist { method SqlTemplateGist (line 31) | SqlTemplateGist(Builder builder) { method builder (line 38) | public static Builder builder() { method toBuilder (line 42) | public Builder toBuilder() { method getAutoGeneratedDeclaration (line 51) | public String getAutoGeneratedDeclaration() { method getH2Function (line 55) | public String getH2Function() { method getSetupDatabase (line 59) | public String getSetupDatabase() { method getUseDatabase (line 63) | public String getUseDatabase() { method toString (line 67) | @Override class Builder (line 77) | public static final class Builder { method Builder (line 84) | Builder() {} method autoGeneratedDeclaration (line 86) | public Builder autoGeneratedDeclaration(String autoGeneratedDeclarat... method h2Function (line 91) | public Builder h2Function(String h2Function) { method setupDatabase (line 96) | public Builder setupDatabase(String setupDatabase) { method useDatabase (line 101) | public Builder useDatabase(String useDatabase) { method build (line 106) | public SqlTemplateGist build() { FILE: apollo-build-sql-converter/src/test/java/com/ctrip/framework/apollo/build/sql/converter/ApolloSqlConverterAutoGeneratedTest.java class ApolloSqlConverterAutoGeneratedTest (line 34) | class ApolloSqlConverterAutoGeneratedTest { method checkAutoGenerated (line 42) | @Test method checkSqlList (line 61) | private void checkSqlList(List srcSqlList, String srcDir, Stri... method checkMysqlDefaultList (line 75) | private void checkMysqlDefaultList(List srcSqlList, String src... method getIgnoreDirs (line 109) | private Set getIgnoreDirs(String repositoryTargetDir) { method findRedundantSqlList (line 123) | private List findRedundantSqlList(String checkerTargetDir, Lis... method findMissingSqlList (line 131) | private List findMissingSqlList(String checkerTargetDir, List<... method findMissing (line 139) | private Map findMissing(String sourceDir, List... method doCheck (line 152) | private void doCheck(String checkerTargetSql, String repositoryTargetS... method checkMysqlDatabaseNotSpecifiedList (line 192) | private void checkMysqlDatabaseNotSpecifiedList(List srcSqlLis... method checkH2DefaultList (line 206) | private void checkH2DefaultList(List srcSqlList, String srcDir... FILE: apollo-build-sql-converter/src/test/java/com/ctrip/framework/apollo/build/sql/converter/ApolloSqlConverterH2Test.java class ApolloSqlConverterH2Test (line 30) | class ApolloSqlConverterH2Test { method checkH2 (line 32) | @Test method checkSort (line 81) | private void checkSort(List testSrcSqlList) { method getIndex (line 97) | private int getIndex(List srcSqlList, String fileName) { method checkConfigDatabase (line 107) | private void checkConfigDatabase(String h2Path, List checkerSq... method checkPortalDatabase (line 134) | private void checkPortalDatabase(String h2Path, List checkerSq... FILE: apollo-build-sql-converter/src/test/java/com/ctrip/framework/apollo/build/sql/converter/TestH2Function.java class TestH2Function (line 19) | public class TestH2Function { method unixTimestamp (line 21) | public static long unixTimestamp(java.sql.Timestamp timestamp) { FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v000-v010/apolloconfigdb-v000-v010-base.sql type `App` (line 34) | CREATE TABLE `App` ( type `AppNamespace` (line 60) | CREATE TABLE `AppNamespace` ( type `Audit` (line 84) | CREATE TABLE `Audit` ( type `Cluster` (line 106) | CREATE TABLE `Cluster` ( type `Commit` (line 128) | CREATE TABLE `Commit` ( type `GrayReleaseRule` (line 152) | CREATE TABLE `GrayReleaseRule` ( type `Instance` (line 177) | CREATE TABLE `Instance` ( type `InstanceConfig` (line 198) | CREATE TABLE `InstanceConfig` ( type `Item` (line 222) | CREATE TABLE `Item` ( type `Namespace` (line 246) | CREATE TABLE `Namespace` ( type `NamespaceLock` (line 268) | CREATE TABLE `NamespaceLock` ( type `Privilege` (line 288) | CREATE TABLE `Privilege` ( type `Release` (line 310) | CREATE TABLE `Release` ( type `ReleaseHistory` (line 338) | CREATE TABLE `ReleaseHistory` ( type `ReleaseMessage` (line 365) | CREATE TABLE `ReleaseMessage` ( type `ServerConfig` (line 381) | CREATE TABLE `ServerConfig` ( FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v000-v010/apolloportaldb-v000-v010-base.sql type `App` (line 34) | CREATE TABLE `App` ( type `AppNamespace` (line 60) | CREATE TABLE `AppNamespace` ( type `Consumer` (line 84) | CREATE TABLE `Consumer` ( type `ConsumerAudit` (line 109) | CREATE TABLE `ConsumerAudit` ( type `ConsumerRole` (line 128) | CREATE TABLE `ConsumerRole` ( type `ConsumerToken` (line 150) | CREATE TABLE `ConsumerToken` ( type `Favorite` (line 170) | CREATE TABLE `Favorite` ( type `Permission` (line 191) | CREATE TABLE `Permission` ( type `Role` (line 212) | CREATE TABLE `Role` ( type `RolePermission` (line 232) | CREATE TABLE `RolePermission` ( type `ServerConfig` (line 254) | CREATE TABLE `ServerConfig` ( type `UserRole` (line 276) | CREATE TABLE `UserRole` ( FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v060-v062/apolloconfigdb-v060-v062.sql type `IX_NAME` (line 23) | CREATE INDEX `IX_NAME` ON App (`Name`(191)) FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v060-v062/apolloportaldb-v060-v062.sql type `IX_NAME` (line 23) | CREATE INDEX `IX_NAME` ON App (`Name`(191)) FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v080-v090/apolloportaldb-v080-v090.sql type `Users` (line 22) | CREATE TABLE `Users` ( type `Authorities` (line 31) | CREATE TABLE `Authorities` ( FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v151-v160/apolloconfigdb-v151-v160.sql type `AccessKey` (line 22) | CREATE TABLE `AccessKey` ( FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v180-v190/apolloportaldb-v180-v190.sql type SPRING_SESSION (line 79) | CREATE TABLE SPRING_SESSION ( type SPRING_SESSION_IX1 (line 90) | CREATE UNIQUE INDEX SPRING_SESSION_IX1 ON SPRING_SESSION (SESSION_ID) type SPRING_SESSION_IX2 (line 91) | CREATE INDEX SPRING_SESSION_IX2 ON SPRING_SESSION (EXPIRY_TIME) type SPRING_SESSION_IX3 (line 92) | CREATE INDEX SPRING_SESSION_IX3 ON SPRING_SESSION (PRINCIPAL_NAME) type SPRING_SESSION_ATTRIBUTES (line 94) | CREATE TABLE SPRING_SESSION_ATTRIBUTES ( FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v200-v210/apolloconfigdb-v200-v210.sql type IX_PreviousReleaseId (line 23) | CREATE INDEX IX_PreviousReleaseId ON ReleaseHistory(PreviousReleaseId) type `ServiceRegistry` (line 28) | CREATE TABLE `ServiceRegistry` ( FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v210-v220/apolloconfigdb-v210-v220.sql type `AuditLog` (line 51) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 77) | CREATE TABLE `AuditLogDataInfluence` ( FILE: apollo-build-sql-converter/src/test/resources/META-INF/sql/h2-test/delta/v210-v220/apolloportaldb-v210-v220.sql type `AuditLog` (line 37) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 63) | CREATE TABLE `AuditLogDataInfluence` ( FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/ApolloCommonConfig.java class ApolloCommonConfig (line 27) | @EnableAutoConfiguration method requestRejectedHandler (line 36) | @Bean FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/aop/RepositoryAspect.java class RepositoryAspect (line 28) | @Aspect method anyRepositoryMethod (line 32) | @Pointcut("execution(public * org.springframework.data.repository.Repo... method invokeWithCatTransaction (line 35) | @Around("anyRepositoryMethod()") FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/condition/OnProfileCondition.java class OnProfileCondition (line 33) | public class OnProfileCondition implements Condition { method matches (line 34) | @Override method retrieveAnnotatedProfiles (line 47) | private Set retrieveAnnotatedProfiles(AnnotatedTypeMetadata me... FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java class RefreshableConfig (line 40) | public abstract class RefreshableConfig implements DisposableBean { method getRefreshablePropertySources (line 60) | protected abstract List getRefreshablePrope... method setup (line 62) | @PostConstruct method destroy (line 90) | @Override method getIntProperty (line 97) | public int getIntProperty(String key, int defaultValue) { method getBooleanProperty (line 107) | public boolean getBooleanProperty(String key, boolean defaultValue) { method getArrayProperty (line 117) | public String[] getArrayProperty(String key, String[] defaultValue) { method getValue (line 127) | public String getValue(String key, String defaultValue) { method getValue (line 136) | public String getValue(String key) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshablePropertySource.java class RefreshablePropertySource (line 23) | public abstract class RefreshablePropertySource extends MapPropertySource { method RefreshablePropertySource (line 26) | public RefreshablePropertySource(String name, Map sour... method getProperty (line 30) | @Override method refresh (line 38) | protected abstract void refresh(); FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/AccessKeyMode.java type AccessKeyMode (line 19) | public interface AccessKeyMode { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/ApolloServer.java class ApolloServer (line 22) | public class ApolloServer { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/GsonType.java type GsonType (line 28) | public interface GsonType { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/NamespaceBranchStatus.java type NamespaceBranchStatus (line 19) | public interface NamespaceBranchStatus { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/ReleaseOperation.java type ReleaseOperation (line 22) | public interface ReleaseOperation { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/constants/ReleaseOperationContext.java type ReleaseOperationContext (line 22) | public interface ReleaseOperationContext { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/controller/ApolloInfoController.java class ApolloInfoController (line 24) | @RestController method getNet (line 28) | @RequestMapping("net") method getServer (line 33) | @RequestMapping("server") method getVersion (line 38) | @RequestMapping("version") FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/controller/CharacterEncodingFilterConfiguration.java class CharacterEncodingFilterConfiguration (line 26) | @Configuration method encodingFilter (line 29) | @Bean FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/controller/GlobalDefaultExceptionHandler.java class GlobalDefaultExceptionHandler (line 55) | @ControllerAdvice method exception (line 64) | @ExceptionHandler(Throwable.class) method badRequest (line 69) | @ExceptionHandler({HttpRequestMethodNotSupportedException.class, HttpM... method restTemplateException (line 75) | @ExceptionHandler(HttpStatusCodeException.class) method accessDeny (line 81) | @ExceptionHandler(AccessDeniedException.class) method badRequest (line 88) | @ExceptionHandler({AbstractApolloHttpException.class}) method handleMethodArgumentNotValidException (line 94) | @ExceptionHandler(MethodArgumentNotValidException.class) method handleConstraintViolationException (line 106) | @ExceptionHandler(ConstraintViolationException.class) method handleError (line 112) | private ResponseEntity> handleError(HttpServletReq... method handleError (line 117) | private ResponseEntity> handleError(HttpServletReq... method printLog (line 153) | private void printLog(String message, Throwable ex, Level logLevel) { method getMessageWithRootCause (line 175) | private String getMessageWithRootCause(Throwable ex) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/controller/HttpMessageConverterConfiguration.java class HttpMessageConverterConfiguration (line 41) | @Configuration method messageConverters (line 43) | @Bean FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/controller/WebMvcConfig.java class WebMvcConfig (line 31) | @Configuration method addArgumentResolvers (line 35) | @Override method configureContentNegotiation (line 44) | @Override method customize (line 49) | @Override method addResourceHandlers (line 56) | @Override method addCacheControl (line 68) | private void addCacheControl(ResourceHandlerRegistry registry, String ... FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/datasource/ApolloDataSourceScriptDatabaseInitializer.java class ApolloDataSourceScriptDatabaseInitializer (line 30) | public class ApolloDataSourceScriptDatabaseInitializer extends DataSourc... method ApolloDataSourceScriptDatabaseInitializer (line 35) | public ApolloDataSourceScriptDatabaseInitializer(DataSource dataSource, method getJdbcUrl (line 55) | private String getJdbcUrl(DataSource dataSource) { method isEnabled (line 66) | private boolean isEnabled(DatabaseInitializationSettings settings) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/datasource/ApolloDataSourceScriptDatabaseInitializerFactory.java class ApolloDataSourceScriptDatabaseInitializerFactory (line 36) | public class ApolloDataSourceScriptDatabaseInitializerFactory { method create (line 38) | public static ApolloDataSourceScriptDatabaseInitializer create(DataSou... method determineDataSource (line 45) | private static DataSource determineDataSource(DataSource dataSource, method getSettings (line 57) | private static DatabaseInitializationSettings getSettings(DataSource d... method resolveLocations (line 81) | private static List resolveLocations(Collection locati... method convertRepositoryLocations (line 101) | private static Collection convertRepositoryLocations(Collectio... method findSuffix (line 118) | private static String findSuffix(DataSource dataSource) { method findRepositoryDirectory (line 133) | private static String findRepositoryDirectory() { method convertRepositoryLocation (line 156) | private static String convertRepositoryLocation(String location, Strin... method scriptLocations (line 168) | private static List scriptLocations(List locations, St... FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/datasource/ApolloSqlInitializationProperties.java class ApolloSqlInitializationProperties (line 23) | public class ApolloSqlInitializationProperties { method getSchemaLocations (line 71) | public List getSchemaLocations() { method setSchemaLocations (line 75) | public void setSchemaLocations(List schemaLocations) { method getDataLocations (line 79) | public List getDataLocations() { method setDataLocations (line 83) | public void setDataLocations(List dataLocations) { method getPlatform (line 87) | public String getPlatform() { method setPlatform (line 91) | public void setPlatform(String platform) { method getUsername (line 95) | public String getUsername() { method setUsername (line 99) | public void setUsername(String username) { method getPassword (line 103) | public String getPassword() { method setPassword (line 107) | public void setPassword(String password) { method isContinueOnError (line 111) | public boolean isContinueOnError() { method setContinueOnError (line 115) | public void setContinueOnError(boolean continueOnError) { method getSeparator (line 119) | public String getSeparator() { method setSeparator (line 123) | public void setSeparator(String separator) { method getEncoding (line 127) | public Charset getEncoding() { method setEncoding (line 131) | public void setEncoding(Charset encoding) { method getMode (line 135) | public DatabaseInitializationMode getMode() { method setMode (line 139) | public void setMode(DatabaseInitializationMode mode) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/AccessKeyDTO.java class AccessKeyDTO (line 19) | public class AccessKeyDTO extends BaseDTO { method getId (line 31) | public Long getId() { method setId (line 35) | public void setId(Long id) { method getSecret (line 39) | public String getSecret() { method setSecret (line 43) | public void setSecret(String secret) { method getAppId (line 47) | public String getAppId() { method setAppId (line 51) | public void setAppId(String appId) { method getMode (line 55) | public Integer getMode() { method setMode (line 59) | public void setMode(Integer mode) { method getEnabled (line 63) | public Boolean getEnabled() { method setEnabled (line 67) | public void setEnabled(Boolean enabled) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/AppDTO.java class AppDTO (line 22) | public class AppDTO extends BaseDTO { method getId (line 42) | public long getId() { method setId (line 46) | public void setId(long id) { method getName (line 50) | public String getName() { method setName (line 54) | public void setName(String name) { method getAppId (line 58) | public String getAppId() { method setAppId (line 62) | public void setAppId(String appId) { method getOrgId (line 66) | public String getOrgId() { method setOrgId (line 70) | public void setOrgId(String orgId) { method getOrgName (line 74) | public String getOrgName() { method setOrgName (line 78) | public void setOrgName(String orgName) { method getOwnerName (line 82) | public String getOwnerName() { method setOwnerName (line 86) | public void setOwnerName(String ownerName) { method getOwnerDisplayName (line 90) | public String getOwnerDisplayName() { method setOwnerDisplayName (line 94) | public void setOwnerDisplayName(String ownerDisplayName) { method getOwnerEmail (line 98) | public String getOwnerEmail() { method setOwnerEmail (line 102) | public void setOwnerEmail(String ownerEmail) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/AppNamespaceDTO.java class AppNamespaceDTO (line 20) | public class AppNamespaceDTO extends BaseDTO { method getId (line 33) | public long getId() { method setId (line 37) | public void setId(long id) { method getName (line 41) | public String getName() { method setName (line 45) | public void setName(String name) { method getAppId (line 49) | public String getAppId() { method setAppId (line 53) | public void setAppId(String appId) { method getFormat (line 57) | public String getFormat() { method setFormat (line 61) | public void setFormat(String format) { method isPublic (line 65) | public boolean isPublic() { method setPublic (line 69) | public void setPublic(boolean aPublic) { method getComment (line 73) | public String getComment() { method setComment (line 77) | public void setComment(String comment) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/BaseDTO.java class BaseDTO (line 22) | public class BaseDTO { method getDataChangeCreatedBy (line 36) | public String getDataChangeCreatedBy() { method setDataChangeCreatedBy (line 40) | public void setDataChangeCreatedBy(String dataChangeCreatedBy) { method getDataChangeLastModifiedBy (line 44) | public String getDataChangeLastModifiedBy() { method setDataChangeLastModifiedBy (line 48) | public void setDataChangeLastModifiedBy(String dataChangeLastModifiedB... method getDataChangeCreatedByDisplayName (line 52) | public String getDataChangeCreatedByDisplayName() { method setDataChangeCreatedByDisplayName (line 56) | public void setDataChangeCreatedByDisplayName(String dataChangeCreated... method getDataChangeLastModifiedByDisplayName (line 60) | public String getDataChangeLastModifiedByDisplayName() { method setDataChangeLastModifiedByDisplayName (line 64) | public void setDataChangeLastModifiedByDisplayName(String dataChangeLa... method getDataChangeCreatedTime (line 68) | public Date getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 72) | public void setDataChangeCreatedTime(Date dataChangeCreatedTime) { method getDataChangeLastModifiedTime (line 76) | public Date getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 80) | public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedT... FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ClusterDTO.java class ClusterDTO (line 23) | public class ClusterDTO extends BaseDTO { method getId (line 39) | public long getId() { method setId (line 43) | public void setId(long id) { method getName (line 47) | public String getName() { method setName (line 51) | public void setName(String name) { method getAppId (line 55) | public String getAppId() { method setAppId (line 59) | public void setAppId(String appId) { method getParentClusterId (line 63) | public long getParentClusterId() { method setParentClusterId (line 67) | public void setParentClusterId(long parentClusterId) { method getComment (line 71) | public String getComment() { method setComment (line 75) | public void setComment(String comment) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/CommitDTO.java class CommitDTO (line 19) | public class CommitDTO extends BaseDTO { method getChangeSets (line 31) | public String getChangeSets() { method setChangeSets (line 35) | public void setChangeSets(String changeSets) { method getAppId (line 39) | public String getAppId() { method setAppId (line 43) | public void setAppId(String appId) { method getClusterName (line 47) | public String getClusterName() { method setClusterName (line 51) | public void setClusterName(String clusterName) { method getNamespaceName (line 55) | public String getNamespaceName() { method setNamespaceName (line 59) | public void setNamespaceName(String namespaceName) { method getComment (line 63) | public String getComment() { method setComment (line 67) | public void setComment(String comment) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/GrayReleaseRuleDTO.java class GrayReleaseRuleDTO (line 24) | public class GrayReleaseRuleDTO extends BaseDTO { method GrayReleaseRuleDTO (line 38) | public GrayReleaseRuleDTO(String appId, String clusterName, String nam... method getAppId (line 47) | public String getAppId() { method getClusterName (line 51) | public String getClusterName() { method getNamespaceName (line 55) | public String getNamespaceName() { method getBranchName (line 59) | public String getBranchName() { method getRuleItems (line 63) | public Set getRuleItems() { method setRuleItems (line 67) | public void setRuleItems(Set ruleItems) { method addRuleItem (line 71) | public void addRuleItem(GrayReleaseRuleItemDTO ruleItem) { method getReleaseId (line 75) | public Long getReleaseId() { method setReleaseId (line 79) | public void setReleaseId(Long releaseId) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/GrayReleaseRuleItemDTO.java class GrayReleaseRuleItemDTO (line 28) | public class GrayReleaseRuleItemDTO { method GrayReleaseRuleItemDTO (line 37) | public GrayReleaseRuleItemDTO() { method GrayReleaseRuleItemDTO (line 41) | public GrayReleaseRuleItemDTO(String clientAppId) { method GrayReleaseRuleItemDTO (line 45) | public GrayReleaseRuleItemDTO(String clientAppId, Set clientIp... method getClientAppId (line 52) | public String getClientAppId() { method getClientIpList (line 56) | public Set getClientIpList() { method getClientLabelList (line 60) | public Set getClientLabelList() { method matches (line 64) | public boolean matches(String clientAppId, String clientIp, String cli... method appIdMatches (line 69) | private boolean appIdMatches(String clientAppId) { method ipMatches (line 73) | private boolean ipMatches(String clientIp) { method labelMatches (line 77) | private boolean labelMatches(String clientLabel) { method toString (line 81) | @Override FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/InstanceConfigDTO.java class InstanceConfigDTO (line 24) | public class InstanceConfigDTO { method getRelease (line 29) | public ReleaseDTO getRelease() { method setRelease (line 33) | public void setRelease(ReleaseDTO release) { method getDataChangeLastModifiedTime (line 37) | public Date getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 41) | public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedT... method getReleaseDeliveryTime (line 45) | public Date getReleaseDeliveryTime() { method setReleaseDeliveryTime (line 49) | public void setReleaseDeliveryTime(Date releaseDeliveryTime) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/InstanceDTO.java class InstanceDTO (line 25) | public class InstanceDTO { method getId (line 40) | public long getId() { method setId (line 44) | public void setId(long id) { method getAppId (line 48) | public String getAppId() { method setAppId (line 52) | public void setAppId(String appId) { method getClusterName (line 56) | public String getClusterName() { method setClusterName (line 60) | public void setClusterName(String clusterName) { method getDataCenter (line 64) | public String getDataCenter() { method setDataCenter (line 68) | public void setDataCenter(String dataCenter) { method getIp (line 72) | public String getIp() { method setIp (line 76) | public void setIp(String ip) { method getConfigs (line 80) | public List getConfigs() { method setConfigs (line 84) | public void setConfigs(List configs) { method getDataChangeCreatedTime (line 88) | public Date getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 92) | public void setDataChangeCreatedTime(Date dataChangeCreatedTime) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ItemChangeSets.java class ItemChangeSets (line 25) | public class ItemChangeSets extends BaseDTO { method addCreateItem (line 31) | public void addCreateItem(ItemDTO item) { method addUpdateItem (line 35) | public void addUpdateItem(ItemDTO item) { method addDeleteItem (line 39) | public void addDeleteItem(ItemDTO item) { method isEmpty (line 43) | public boolean isEmpty() { method getCreateItems (line 47) | public List getCreateItems() { method getUpdateItems (line 51) | public List getUpdateItems() { method getDeleteItems (line 55) | public List getDeleteItems() { method setCreateItems (line 59) | public void setCreateItems(List createItems) { method setUpdateItems (line 63) | public void setUpdateItems(List updateItems) { method setDeleteItems (line 67) | public void setDeleteItems(List deleteItems) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ItemDTO.java class ItemDTO (line 20) | public class ItemDTO extends BaseDTO { method ItemDTO (line 36) | public ItemDTO() { method ItemDTO (line 40) | public ItemDTO(String key, String value, String comment, int lineNum) { method getId (line 47) | public long getId() { method setId (line 51) | public void setId(long id) { method getComment (line 55) | public String getComment() { method getKey (line 59) | public String getKey() { method getNamespaceId (line 63) | public long getNamespaceId() { method getValue (line 67) | public String getValue() { method setComment (line 71) | public void setComment(String comment) { method setKey (line 75) | public void setKey(String key) { method setNamespaceId (line 79) | public void setNamespaceId(long namespaceId) { method setValue (line 83) | public void setValue(String value) { method getLineNum (line 87) | public int getLineNum() { method setLineNum (line 91) | public void setLineNum(int lineNum) { method getType (line 95) | public int getType() { method setType (line 99) | public void setType(int type) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ItemInfoDTO.java class ItemInfoDTO (line 20) | public class ItemInfoDTO extends BaseDTO { method ItemInfoDTO (line 27) | public ItemInfoDTO() {} method ItemInfoDTO (line 29) | public ItemInfoDTO(String appId, String clusterName, String namespaceN... method getAppId (line 38) | public String getAppId() { method setAppId (line 42) | public void setAppId(String appId) { method getClusterName (line 46) | public String getClusterName() { method setClusterName (line 50) | public void setClusterName(String clusterName) { method getNamespaceName (line 54) | public String getNamespaceName() { method setNamespaceName (line 58) | public void setNamespaceName(String namespaceName) { method getKey (line 62) | public String getKey() { method setKey (line 66) | public void setKey(String key) { method getValue (line 70) | public String getValue() { method setValue (line 74) | public void setValue(String value) { method toString (line 78) | @Override FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/NamespaceDTO.java class NamespaceDTO (line 22) | public class NamespaceDTO extends BaseDTO { method getId (line 33) | public long getId() { method setId (line 37) | public void setId(long id) { method getAppId (line 41) | public String getAppId() { method getClusterName (line 45) | public String getClusterName() { method getNamespaceName (line 49) | public String getNamespaceName() { method setAppId (line 53) | public void setAppId(String appId) { method setClusterName (line 57) | public void setClusterName(String clusterName) { method setNamespaceName (line 61) | public void setNamespaceName(String namespaceName) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/NamespaceLockDTO.java class NamespaceLockDTO (line 19) | public class NamespaceLockDTO extends BaseDTO { method getNamespaceId (line 23) | public long getNamespaceId() { method setNamespaceId (line 27) | public void setNamespaceId(long namespaceId) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/PageDTO.java class PageDTO (line 27) | public class PageDTO { method PageDTO (line 33) | public PageDTO(List content, Pageable pageable, long total) { method getTotal (line 40) | public long getTotal() { method getContent (line 44) | public List getContent() { method getPage (line 48) | public int getPage() { method getSize (line 52) | public int getSize() { method hasContent (line 56) | public boolean hasContent() { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ReleaseDTO.java class ReleaseDTO (line 19) | public class ReleaseDTO extends BaseDTO { method getId (line 38) | public long getId() { method setId (line 42) | public void setId(long id) { method getReleaseKey (line 46) | public String getReleaseKey() { method setReleaseKey (line 50) | public void setReleaseKey(String releaseKey) { method getAppId (line 54) | public String getAppId() { method getClusterName (line 58) | public String getClusterName() { method getComment (line 62) | public String getComment() { method getConfigurations (line 66) | public String getConfigurations() { method getName (line 70) | public String getName() { method getNamespaceName (line 74) | public String getNamespaceName() { method setAppId (line 78) | public void setAppId(String appId) { method setClusterName (line 82) | public void setClusterName(String clusterName) { method setComment (line 86) | public void setComment(String comment) { method setConfigurations (line 90) | public void setConfigurations(String configurations) { method setName (line 94) | public void setName(String name) { method setNamespaceName (line 98) | public void setNamespaceName(String namespaceName) { method isAbandoned (line 102) | public boolean isAbandoned() { method setAbandoned (line 106) | public void setAbandoned(boolean abandoned) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ReleaseHistoryDTO.java class ReleaseHistoryDTO (line 22) | public class ReleaseHistoryDTO extends BaseDTO { method ReleaseHistoryDTO (line 42) | public ReleaseHistoryDTO() {} method getId (line 44) | public long getId() { method setId (line 48) | public void setId(long id) { method getAppId (line 52) | public String getAppId() { method setAppId (line 56) | public void setAppId(String appId) { method getClusterName (line 60) | public String getClusterName() { method setClusterName (line 64) | public void setClusterName(String clusterName) { method getNamespaceName (line 68) | public String getNamespaceName() { method setNamespaceName (line 72) | public void setNamespaceName(String namespaceName) { method getBranchName (line 76) | public String getBranchName() { method setBranchName (line 80) | public void setBranchName(String branchName) { method getReleaseId (line 84) | public long getReleaseId() { method setReleaseId (line 88) | public void setReleaseId(long releaseId) { method getPreviousReleaseId (line 92) | public long getPreviousReleaseId() { method setPreviousReleaseId (line 96) | public void setPreviousReleaseId(long previousReleaseId) { method getOperation (line 100) | public int getOperation() { method setOperation (line 104) | public void setOperation(int operation) { method getOperationContext (line 108) | public Map getOperationContext() { method setOperationContext (line 112) | public void setOperationContext(Map operationContext) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/App.java class App (line 31) | @Entity method getAppId (line 65) | public String getAppId() { method getName (line 69) | public String getName() { method getOrgId (line 73) | public String getOrgId() { method getOrgName (line 77) | public String getOrgName() { method getOwnerEmail (line 81) | public String getOwnerEmail() { method getOwnerName (line 85) | public String getOwnerName() { method setAppId (line 89) | public void setAppId(String appId) { method setName (line 93) | public void setName(String name) { method setOrgId (line 97) | public void setOrgId(String orgId) { method setOrgName (line 101) | public void setOrgName(String orgName) { method setOwnerEmail (line 105) | public void setOwnerEmail(String ownerEmail) { method setOwnerName (line 109) | public void setOwnerName(String ownerName) { method toString (line 113) | @Override class Builder (line 120) | public static class Builder { method Builder (line 122) | public Builder() {} method name (line 126) | public Builder name(String name) { method appId (line 131) | public Builder appId(String appId) { method orgId (line 136) | public Builder orgId(String orgId) { method orgName (line 141) | public Builder orgName(String orgName) { method ownerName (line 146) | public Builder ownerName(String ownerName) { method ownerEmail (line 151) | public Builder ownerEmail(String ownerEmail) { method build (line 156) | public App build() { method builder (line 162) | public static Builder builder() { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/AppNamespace.java class AppNamespace (line 34) | @Entity method getAppId (line 66) | public String getAppId() { method getComment (line 70) | public String getComment() { method getName (line 74) | public String getName() { method setAppId (line 78) | public void setAppId(String appId) { method setComment (line 82) | public void setComment(String comment) { method setName (line 86) | public void setName(String name) { method isPublic (line 90) | public boolean isPublic() { method setPublic (line 94) | public void setPublic(boolean aPublic) { method formatAsEnum (line 98) | public ConfigFileFormat formatAsEnum() { method getFormat (line 102) | public String getFormat() { method setFormat (line 106) | public void setFormat(String format) { method toString (line 110) | @Override FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/BaseEntity.java class BaseEntity (line 37) | @MappedSuperclass method getId (line 63) | public long getId() { method setId (line 67) | public void setId(long id) { method isDeleted (line 71) | public boolean isDeleted() { method setDeleted (line 75) | public void setDeleted(boolean deleted) { method getDeletedAt (line 85) | public long getDeletedAt() { method getDataChangeCreatedBy (line 89) | public String getDataChangeCreatedBy() { method setDataChangeCreatedBy (line 93) | public void setDataChangeCreatedBy(String dataChangeCreatedBy) { method getDataChangeCreatedTime (line 97) | public Date getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 101) | public void setDataChangeCreatedTime(Date dataChangeCreatedTime) { method getDataChangeLastModifiedBy (line 105) | public String getDataChangeLastModifiedBy() { method setDataChangeLastModifiedBy (line 109) | public void setDataChangeLastModifiedBy(String dataChangeLastModifiedB... method getDataChangeLastModifiedTime (line 113) | public Date getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 117) | public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedT... method prePersist (line 121) | @PrePersist method preUpdate (line 131) | @PreUpdate method preRemove (line 136) | @PreRemove method toStringHelper (line 141) | protected ToStringHelper toStringHelper() { method toString (line 149) | @Override method domainEvents (line 154) | @DomainEvents FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/EntityPair.java class EntityPair (line 19) | public class EntityPair { method EntityPair (line 24) | public EntityPair(E firstEntity, E secondEntity) { method getFirstEntity (line 29) | public E getFirstEntity() { method setFirstEntity (line 33) | public void setFirstEntity(E firstEntity) { method getSecondEntity (line 37) | public E getSecondEntity() { method setSecondEntity (line 41) | public void setSecondEntity(E secondEntity) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/AbstractApolloHttpException.java class AbstractApolloHttpException (line 22) | public abstract class AbstractApolloHttpException extends RuntimeExcepti... method AbstractApolloHttpException (line 35) | public AbstractApolloHttpException(String msgTpl, Object... args) { method AbstractApolloHttpException (line 39) | public AbstractApolloHttpException(String msg, Exception e) { method setHttpStatus (line 43) | protected void setHttpStatus(HttpStatus httpStatus) { method getHttpStatus (line 47) | public HttpStatus getHttpStatus() { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/BadRequestException.java class BadRequestException (line 22) | public class BadRequestException extends AbstractApolloHttpException { method BadRequestException (line 27) | public BadRequestException(String msgtpl, Object... args) { method ownerNameIsBlank (line 32) | public static BadRequestException ownerNameIsBlank() { method orgIdIsBlank (line 36) | public static BadRequestException orgIdIsBlank() { method rateLimitIsInvalid (line 40) | public static BadRequestException rateLimitIsInvalid() { method itemAlreadyExists (line 44) | public static BadRequestException itemAlreadyExists(String itemKey) { method itemNotExists (line 48) | public static BadRequestException itemNotExists(long itemId) { method namespaceNotExists (line 52) | public static BadRequestException namespaceNotExists() { method namespaceNotExists (line 56) | public static BadRequestException namespaceNotExists(String appId, Str... method namespaceAlreadyExists (line 63) | public static BadRequestException namespaceAlreadyExists(String namesp... method appNamespaceNotExists (line 67) | public static BadRequestException appNamespaceNotExists(String appId, ... method appNamespaceAlreadyExists (line 72) | public static BadRequestException appNamespaceAlreadyExists(String app... method invalidNamespaceFormat (line 77) | public static BadRequestException invalidNamespaceFormat(String format) { method invalidNotificationsFormat (line 81) | public static BadRequestException invalidNotificationsFormat(String fo... method invalidClusterNameFormat (line 85) | public static BadRequestException invalidClusterNameFormat(String form... method invalidRoleTypeFormat (line 89) | public static BadRequestException invalidRoleTypeFormat(String format) { method invalidEnvFormat (line 93) | public static BadRequestException invalidEnvFormat(String format) { method namespaceNotMatch (line 97) | public static BadRequestException namespaceNotMatch() { method appNotExists (line 101) | public static BadRequestException appNotExists(String appId) { method appAlreadyExists (line 105) | public static BadRequestException appAlreadyExists(String appId) { method appIdIsBlank (line 109) | public static BadRequestException appIdIsBlank() { method appNameIsBlank (line 113) | public static BadRequestException appNameIsBlank() { method clusterNotExists (line 117) | public static BadRequestException clusterNotExists(String clusterName) { method clusterAlreadyExists (line 121) | public static BadRequestException clusterAlreadyExists(String clusterN... method userNotExists (line 125) | public static BadRequestException userNotExists(String userName) { method userAlreadyExists (line 129) | public static BadRequestException userAlreadyExists(String userName) { method userAlreadyAuthorized (line 133) | public static BadRequestException userAlreadyAuthorized(String userNam... method accessKeyNotExists (line 137) | public static BadRequestException accessKeyNotExists() { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/BeanUtilsException.java class BeanUtilsException (line 19) | public class BeanUtilsException extends RuntimeException { method BeanUtilsException (line 21) | public BeanUtilsException(Throwable e) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/NotFoundException.java class NotFoundException (line 21) | public class NotFoundException extends AbstractApolloHttpException { method NotFoundException (line 26) | public NotFoundException(String msgTpl, Object... args) { method itemNotFound (line 31) | public static NotFoundException itemNotFound(long itemId) { method itemNotFound (line 35) | public static NotFoundException itemNotFound(String itemKey) { method itemNotFound (line 39) | public static NotFoundException itemNotFound(String appId, String clus... method itemNotFound (line 46) | public static NotFoundException itemNotFound(String appId, String clus... method namespaceNotFound (line 53) | public static NotFoundException namespaceNotFound(String appId, String... method namespaceNotFound (line 59) | public static NotFoundException namespaceNotFound(long namespaceId) { method releaseNotFound (line 63) | public static NotFoundException releaseNotFound(Object releaseId) { method clusterNotFound (line 67) | public static NotFoundException clusterNotFound(String appId, String c... method appNotFound (line 72) | public static NotFoundException appNotFound(String appId) { method roleNotFound (line 76) | public static NotFoundException roleNotFound(String roleName) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/ServiceException.java class ServiceException (line 21) | public class ServiceException extends AbstractApolloHttpException { method ServiceException (line 26) | public ServiceException(String msgtpl, Object... args) { method ServiceException (line 31) | public ServiceException(String str, Exception e) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/http/MultiResponseEntity.java class MultiResponseEntity (line 27) | public class MultiResponseEntity { method MultiResponseEntity (line 33) | private MultiResponseEntity(HttpStatus httpCode) { method instance (line 37) | public static MultiResponseEntity instance(HttpStatus statusCod... method ok (line 41) | public static MultiResponseEntity ok() { method addResponseEntity (line 45) | public void addResponseEntity(RichResponseEntity responseEntity) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/http/RichResponseEntity.java class RichResponseEntity (line 21) | public class RichResponseEntity { method ok (line 27) | public static RichResponseEntity ok(T body) { method error (line 35) | public static RichResponseEntity error(HttpStatus httpCode, Obj... method getCode (line 42) | public int getCode() { method getMessage (line 46) | public Object getMessage() { method getBody (line 50) | public T getBody() { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/http/SearchResponseEntity.java class SearchResponseEntity (line 21) | public class SearchResponseEntity { method ok (line 28) | public static SearchResponseEntity ok(T body) { method okWithMessage (line 37) | public static SearchResponseEntity okWithMessage(T body, Object... method error (line 46) | public static SearchResponseEntity error(HttpStatus httpCode, O... method getCode (line 53) | public int getCode() { method getMessage (line 57) | public Object getMessage() { method getBody (line 61) | public T getBody() { method isHasMoreData (line 65) | public boolean isHasMoreData() { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/jpa/H2Function.java class H2Function (line 22) | public class H2Function { method unixTimestamp (line 24) | public static long unixTimestamp(java.sql.Timestamp timestamp) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/jpa/SqlFunctionsMetadataBuilderContributor.java class SqlFunctionsMetadataBuilderContributor (line 27) | public class SqlFunctionsMetadataBuilderContributor implements MetadataB... method contribute (line 29) | @Override FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/BeanUtils.java class BeanUtils (line 37) | public class BeanUtils { method batchTransform (line 45) | public static List batchTransform(final Class clazz, List... method transform (line 65) | public static T transform(Class clazz, Object src) { method getNullPropertyNames (line 79) | private static String[] getNullPropertyNames(Object source) { method mapByKey (line 104) | @SuppressWarnings("unchecked") method aggByKeyToList (line 134) | @SuppressWarnings("unchecked") method toPropertySet (line 166) | @SuppressWarnings("unchecked") method deepFindField (line 189) | private static Field deepFindField(Class clazz, String key) { method getProperty (line 207) | public static Object getProperty(Object obj, String fieldName) { method setProperty (line 223) | public static void setProperty(Object obj, String fieldName, Object va... method copyProperties (line 240) | public static void copyProperties(Object source, Object target, String... method copyEntityProperties (line 250) | public static void copyEntityProperties(Object source, Object target) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/ExceptionUtils.java class ExceptionUtils (line 28) | public final class ExceptionUtils { method toString (line 34) | public static String toString(HttpStatusCodeException e) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/GrayReleaseRuleItemTransformer.java class GrayReleaseRuleItemTransformer (line 30) | public class GrayReleaseRuleItemTransformer { method batchTransformFromJSON (line 35) | public static Set batchTransformFromJSON(Strin... method batchTransformToJSON (line 39) | public static String batchTransformToJSON(Set ... FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/InputValidator.java class InputValidator (line 26) | public class InputValidator { method isValidClusterNamespace (line 38) | public static boolean isValidClusterNamespace(String name) { method isValidAppNamespace (line 45) | public static boolean isValidAppNamespace(String name) { FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/RequestPrecondition.java class RequestPrecondition (line 24) | public class RequestPrecondition { method checkArgumentsNotEmpty (line 30) | public static void checkArgumentsNotEmpty(String... args) { method checkModel (line 34) | public static void checkModel(boolean valid) { method checkArguments (line 38) | public static void checkArguments(boolean expression, Object errorMess... FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/UniqueKeyGenerator.java class UniqueKeyGenerator (line 29) | public class UniqueKeyGenerator { method generate (line 36) | public static String generate(Object... args) { method toByteArray (line 48) | protected static byte[] toByteArray(int keyHashCode, int machineIdenti... FILE: apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/WebUtils.java class WebUtils (line 27) | public final class WebUtils { method WebUtils (line 32) | private WebUtils() {} method tryToGetClientIp (line 34) | public static String tryToGetClientIp(HttpServletRequest request) { FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/conditional/ConditionalOnProfileTest.java class ConditionalOnProfileTest (line 37) | @RunWith(SpringJUnit4ClassRunner.class) method test (line 51) | @Test class TestConfiguration (line 60) | @Configuration class SomeConfiguration (line 63) | @Configuration class AnotherConfiguration (line 71) | @Configuration class YetAnotherConfiguration (line 80) | @Configuration class CombinedConfiguration (line 88) | @Configuration class AnotherCombinedConfiguration (line 97) | @Configuration FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/dto/ItemInfoDTOTest.java class ItemInfoDTOTest (line 25) | public class ItemInfoDTOTest { method setUp (line 29) | @Before method testGetAppId_ShouldReturnCorrectAppId (line 35) | @Test method testGetClusterName_ShouldReturnCorrectClusterName (line 40) | @Test method testGetNamespaceName_ShouldReturnCorrectNamespaceName (line 45) | @Test method testGetKey_ShouldReturnCorrectKey (line 50) | @Test method testGetValue_ShouldReturnCorrectValue (line 55) | @Test method testToString_ShouldReturnExpectedString (line 60) | @Test FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/exception/BadRequestExceptionTest.java class BadRequestExceptionTest (line 27) | public class BadRequestExceptionTest { method testItemAlreadyExists (line 33) | @Test method testItemNotExists (line 39) | @Test method testNamespaceNotExists (line 45) | @Test method testNamespaceAlreadyExists (line 57) | @Test method testAppNamespaceNotExists (line 65) | @Test method testAppNamespaceAlreadyExists (line 73) | @Test method testInvalidNamespaceFormat (line 81) | @Test method testInvalidNotificationsFormat (line 88) | @Test method testInvalidClusterNameFormat (line 95) | @Test method testInvalidRoleTypeFormat (line 102) | @Test method testInvalidEnvFormat (line 108) | @Test method testNamespaceNotMatch (line 114) | @Test method testAppNotExists (line 121) | @Test method testAppAlreadyExists (line 127) | @Test method testClusterNotExists (line 133) | @Test method testClusterAlreadyExists (line 139) | @Test method testUserNotExists (line 146) | @Test method testUserAlreadyExists (line 152) | @Test method testUserAlreadyAuthorized (line 158) | @Test method testAccessKeyNotExists (line 164) | @Test FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/exception/NotFoundExceptionTest.java class NotFoundExceptionTest (line 23) | public class NotFoundExceptionTest { method testConstructor (line 29) | @Test method testAppNotFoundException (line 40) | @Test method testClusterNotFoundException (line 46) | @Test method testNamespaceNotFoundException (line 52) | @Test method testReleaseNotFoundException (line 63) | @Test method testItemNotFoundException (line 69) | @Test method roleNotFound (line 86) | @Test FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/http/SearchResponseEntityTest.java class SearchResponseEntityTest (line 27) | @RunWith(MockitoJUnitRunner.class) method testOk_WithValidBody_ShouldReturnOkResponse (line 30) | @Test method testOkWithMessage_WithValidBodyAndMessage_ShouldReturnOkResponseWithMessage (line 41) | @Test method testError_WithValidCodeAndMessage_ShouldReturnErrorResponse (line 53) | @Test FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/utils/BeanUtilsTest.java class BeanUtilsTest (line 30) | @RunWith(MockitoJUnitRunner.class) method setUp (line 38) | @Before method testBatchTransformListNotEmpty (line 44) | @Test method testBatchTransformListIsEmpty (line 50) | @Test method testBatchTransformBeanUtilsException (line 55) | @Test(expected = BeanUtilsException.class) method testBatchTransformSrcIsNull (line 61) | @Test method testMapByKeyEmptyList (line 67) | @Test class KeyClass (line 72) | class KeyClass { method testMapByKeyNotEmptyList (line 76) | @Test method testMapByKeyNotEmptyListThrowsEx (line 82) | @Test(expected = BeanUtilsException.class) method testAggByKeyToListEmpty (line 88) | @Test method testAggByKeyToListNotEmpty (line 93) | @Test method testAggByKeyToListNotEmptyThrowsEx (line 99) | @Test(expected = BeanUtilsException.class) method testToPropertySetEmpty (line 105) | @Test method testToPropertySetNotEmpty (line 110) | @Test method testToPropertySetNotEmptyThrowsEx (line 116) | @Test(expected = BeanUtilsException.class) method testGetAndsetProperty (line 122) | @Test FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/utils/InputValidatorTest.java class InputValidatorTest (line 23) | public class InputValidatorTest { method testValidClusterName (line 25) | @Test method testValidAppNamespaceName (line 35) | @Test method checkClusterName (line 49) | private void checkClusterName(String name, boolean valid) { method checkAppNamespaceName (line 53) | private void checkAppNamespaceName(String name, boolean valid) { FILE: apollo-common/src/test/java/com/ctrip/framework/apollo/common/utils/WebUtilsTest.java class WebUtilsTest (line 30) | @RunWith(MockitoJUnitRunner.class) method testTryToGetClientIp (line 33) | @Test FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ConfigServerEurekaServerConfigure.java class ConfigServerEurekaServerConfigure (line 38) | @Configuration class EurekaServerSecurityConfigurer (line 44) | @Order(99) method eurekaServerSecurityFilterChain (line 57) | @Bean method toDelegatingPassword (line 77) | private String toDelegatingPassword(String configuredPassword) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ConfigServiceApplication.java class ConfigServiceApplication (line 39) | @EnableAspectJAutoProxy method main (line 49) | public static void main(String[] args) throws Exception { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ConfigServiceAssemblyConfiguration.java class ConfigServiceAssemblyConfiguration (line 28) | @Profile("assembly") method apolloSqlInitializationProperties (line 32) | @ConfigurationProperties(prefix = "spring.sql.config-init") method apolloDataSourceScriptDatabaseInitializer (line 38) | @Bean FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ConfigServiceAutoConfiguration.java class ConfigServiceAutoConfiguration (line 46) | @Configuration method ConfigServiceAutoConfiguration (line 55) | public ConfigServiceAutoConfiguration(final BizConfig bizConfig, method grayReleaseRulesHolder (line 66) | @Bean method configService (line 71) | @Bean method incrementalSyncService (line 81) | @Bean method passwordEncoder (line 86) | @Bean method clientAuthenticationFilter (line 91) | @Bean method releaseMessageScanner (line 105) | @Bean FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ConfigServiceHealthIndicator.java class ConfigServiceHealthIndicator (line 25) | @Component method ConfigServiceHealthIndicator (line 30) | public ConfigServiceHealthIndicator(final AppService appService) { method health (line 34) | @Override method check (line 40) | private void check() { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/ServletInitializer.java class ServletInitializer (line 27) | public class ServletInitializer extends SpringBootServletInitializer { method configure (line 29) | @Override FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/ConfigController.java class ConfigController (line 63) | @RestController method ConfigController (line 80) | public ConfigController(final ConfigService configService, method queryConfig (line 94) | @GetMapping(value = "/{appId}/{clusterName}/{namespace:.+}") method namespaceBelongsToAppId (line 217) | private boolean namespaceBelongsToAppId(String appId, String namespace... method findPublicConfig (line 238) | private Release findPublicConfig(String clientAppId, String clientIp, ... method mergeReleaseConfigurations (line 258) | Map mergeReleaseConfigurations(List releases) { method assembleKey (line 266) | private String assembleKey(String appId, String cluster, String namesp... method auditReleases (line 274) | private void auditReleases(String appId, String cluster, String dataCe... method transformMessages (line 286) | ApolloNotificationMessages transformMessages(String messagesAsString) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/ConfigFileController.java class ConfigFileController (line 64) | @RestController method ConfigFileController (line 88) | public ConfigFileController(final ConfigController configController, method queryConfigAsProperties (line 122) | @GetMapping(value = "/{appId}/{clusterName}/{namespace:.+}") method queryConfigAsJson (line 140) | @GetMapping(value = "/json/{appId}/{clusterName}/{namespace:.+}") method queryConfigAsRaw (line 158) | @GetMapping(value = "/raw/{appId}/{clusterName}/{namespace:.+}") method queryConfig (line 193) | String queryConfig(ConfigFileOutputFormat outputFormat, String appId, ... method loadConfig (line 257) | private String loadConfig(ConfigFileOutputFormat outputFormat, String ... method getRawConfigContent (line 286) | private String getRawConfigContent(ApolloConfig apolloConfig) throws I... method assembleCacheKey (line 296) | String assembleCacheKey(ConfigFileOutputFormat outputFormat, String ap... method determineNamespaceFormat (line 306) | ConfigFileFormat determineNamespaceFormat(String namespaceName) { method handleMessage (line 317) | @Override type ConfigFileOutputFormat (line 339) | enum ConfigFileOutputFormat { method ConfigFileOutputFormat (line 344) | ConfigFileOutputFormat(String value) { method getValue (line 348) | public String getValue() { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/NotificationController.java class NotificationController (line 52) | @Deprecated method NotificationController (line 68) | public NotificationController(final WatchKeysUtil watchKeysUtil, method pollNotification (line 88) | @GetMapping method handleMessage (line 143) | @Override method logWatchedKeys (line 174) | private void logWatchedKeys(Set watchedKeys, String eventName) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/NotificationControllerV2.java class NotificationControllerV2 (line 66) | @RestController method NotificationControllerV2 (line 85) | public NotificationControllerV2(final WatchKeysUtil watchKeysUtil, method pollNotification (line 99) | @GetMapping method filterNotifications (line 196) | private Map filterNotifications(Stri... method getApolloConfigNotifications (line 224) | private List getApolloConfigNotifications(Se... method handleMessage (line 257) | @Override method logWatchedKeys (line 326) | private void logWatchedKeys(Set watchedKeys, String eventName) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/filter/ClientAuthenticationFilter.java class ClientAuthenticationFilter (line 44) | public class ClientAuthenticationFilter implements Filter { method ClientAuthenticationFilter (line 51) | public ClientAuthenticationFilter(BizConfig bizConfig, AccessKeyUtil a... method init (line 56) | @Override method doFilter (line 61) | @Override method doCheck (line 95) | private boolean doCheck(HttpServletRequest req, HttpServletResponse re... method destroy (line 133) | @Override method checkTimestamp (line 138) | private boolean checkTimestamp(String timestamp) { method checkAuthorization (line 151) | private boolean checkAuthorization(String authorization, List ... method preCheckInvalidLogging (line 171) | protected void preCheckInvalidLogging(String message) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/AccessKeyServiceWithCache.java class AccessKeyServiceWithCache (line 53) | @Service method AccessKeyServiceWithCache (line 71) | public AccessKeyServiceWithCache(final AccessKeyRepository accessKeyRe... method initialize (line 79) | private void initialize() { method getAvailableSecrets (line 90) | public List getAvailableSecrets(String appId) { method getObservableSecrets (line 94) | public List getObservableSecrets(String appId) { method getSecrets (line 98) | public List getSecrets(String appId, Predicate filt... method afterPropertiesSet (line 108) | @Override method destroy (line 120) | @Override method scanNewAndUpdatedAccessKeys (line 127) | private void scanNewAndUpdatedAccessKeys() { method rebuildAccessKeyCache (line 141) | private void rebuildAccessKeyCache() { method loadNewAndUpdatedAccessKeys (line 155) | private void loadNewAndUpdatedAccessKeys() { method mergeAccessKeys (line 194) | private void mergeAccessKeys(List accessKeys) { method deleteAccessKeyCache (line 209) | private void deleteAccessKeyCache() { method handleDeletedAccessKeys (line 230) | private void handleDeletedAccessKeys(Set deletedIds) { method populateDataBaseInterval (line 245) | private void populateDataBaseInterval() { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/AppNamespaceServiceWithCache.java class AppNamespaceServiceWithCache (line 50) | @Service method AppNamespaceServiceWithCache (line 74) | public AppNamespaceServiceWithCache(final AppNamespaceRepository appNa... method initialize (line 81) | private void initialize() { method findByAppIdAndNamespace (line 90) | public AppNamespace findByAppIdAndNamespace(String appId, String names... method findByAppIdAndNamespaces (line 96) | public List findByAppIdAndNamespaces(String appId, Set findPublicNamespacesByNames(Set name... method afterPropertiesSet (line 132) | @Override method destroy (line 153) | @Override method scanNewAppNamespaces (line 160) | private void scanNewAppNamespaces() { method loadNewAppNamespaces (line 175) | private void loadNewAppNamespaces() { method mergeAppNamespaces (line 192) | private void mergeAppNamespaces(List appNamespaces) { method updateAndDeleteCache (line 203) | private void updateAndDeleteCache() { method handleUpdatedAppNamespaces (line 225) | private Set handleUpdatedAppNamespaces(Iterable ap... method handleDeletedAppNamespaces (line 260) | private void handleDeletedAppNamespaces(Set deletedIds) { method assembleAppNamespaceKey (line 288) | private String assembleAppNamespaceKey(AppNamespace appNamespace) { method populateDataBaseInterval (line 292) | private void populateDataBaseInterval() { method reset (line 300) | private void reset() throws Exception { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/ReleaseMessageServiceWithCache.java class ReleaseMessageServiceWithCache (line 49) | @Service method ReleaseMessageServiceWithCache (line 67) | public ReleaseMessageServiceWithCache(final ReleaseMessageRepository r... method initialize (line 74) | private void initialize() { method findLatestReleaseMessageForMessages (line 81) | public ReleaseMessage findLatestReleaseMessageForMessages(Set ... method findLatestReleaseMessagesGroupByMessages (line 99) | public List findLatestReleaseMessagesGroupByMessages(S... method handleMessage (line 115) | @Override method afterPropertiesSet (line 136) | @Override method destroy (line 165) | @Override method mergeReleaseMessage (line 173) | private synchronized void mergeReleaseMessage(ReleaseMessage releaseMe... method loadReleaseMessages (line 181) | private void loadReleaseMessages(long startId) { method populateDataBaseInterval (line 198) | private void populateDataBaseInterval() { method reset (line 204) | private void reset() throws Exception { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/AbstractConfigService.java class AbstractConfigService (line 31) | public abstract class AbstractConfigService implements ConfigService { method AbstractConfigService (line 35) | protected AbstractConfigService(final GrayReleaseRulesHolder grayRelea... method loadConfig (line 39) | @Override method findRelease (line 79) | private Release findRelease(String clientAppId, String clientIp, Strin... method findActiveOne (line 102) | protected abstract Release findActiveOne(long id, ApolloNotificationMe... method findLatestActiveRelease (line 107) | protected abstract Release findLatestActiveRelease(String configAppId,... FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/ConfigService.java type ConfigService (line 28) | public interface ConfigService extends ReleaseMessageListener { method loadConfig (line 43) | Release loadConfig(String clientAppId, String clientIp, String clientL... method findReleasesByReleaseKeys (line 52) | Map findReleasesByReleaseKeys(Set releaseKeys); FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/ConfigServiceWithCache.java class ConfigServiceWithCache (line 61) | public class ConfigServiceWithCache extends AbstractConfigService { method ConfigServiceWithCache (line 85) | public ConfigServiceWithCache(final ReleaseService releaseService, method initialize (line 97) | @PostConstruct method findActiveOne (line 104) | @Override method findLatestActiveRelease (line 110) | @Override method invalidate (line 135) | private void invalidate(String key) { method handleMessage (line 140) | @Override method findReleasesByReleaseKeys (line 162) | @Override method buildConfigCache (line 198) | private void buildConfigCache() { method buildReleaseKeyCache (line 248) | private void buildReleaseKeyCache() { method buildConfigIdCache (line 281) | private void buildConfigIdCache() { class ConfigCacheEntry (line 312) | private static class ConfigCacheEntry { method ConfigCacheEntry (line 316) | public ConfigCacheEntry(long notificationId, Release release) { method getNotificationId (line 321) | public long getNotificationId() { method getRelease (line 325) | public Release getRelease() { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/DefaultConfigService.java class DefaultConfigService (line 35) | public class DefaultConfigService extends AbstractConfigService { method DefaultConfigService (line 40) | public DefaultConfigService(final ReleaseService releaseService, method findActiveOne (line 47) | @Override method findLatestActiveRelease (line 52) | @Override method handleMessage (line 58) | @Override method findReleasesByReleaseKeys (line 63) | @Override FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/DefaultIncrementalSyncService.java class DefaultIncrementalSyncService (line 31) | public class DefaultIncrementalSyncService implements IncrementalSyncSer... method DefaultIncrementalSyncService (line 35) | public DefaultIncrementalSyncService() { method getConfigurationChanges (line 40) | @Override method calcConfigurationChanges (line 59) | private List calcConfigurationChanges( class ReleaseKeyPair (line 101) | public static class ReleaseKeyPair { method ReleaseKeyPair (line 106) | public ReleaseKeyPair(String clientSideReleaseKey, String latestMerg... method equals (line 111) | @Override method hashCode (line 124) | @Override FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/IncrementalSyncService.java type IncrementalSyncService (line 23) | public interface IncrementalSyncService { method getConfigurationChanges (line 25) | List getConfigurationChanges(String latestMergedR... FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/AccessKeyUtil.java class AccessKeyUtil (line 30) | @Component method AccessKeyUtil (line 41) | public AccessKeyUtil(AccessKeyServiceWithCache accessKeyServiceWithCac... method findAvailableSecret (line 45) | public List findAvailableSecret(String appId) { method findObservableSecrets (line 49) | public List findObservableSecrets(String appId) { method extractAppIdFromRequest (line 53) | public String extractAppIdFromRequest(HttpServletRequest request) { method buildSignature (line 70) | public String buildSignature(String path, String query, String timesta... FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtil.java class InstanceConfigAuditUtil (line 52) | @Service method InstanceConfigAuditUtil (line 66) | public InstanceConfigAuditUtil(final InstanceService instanceService, ... method audit (line 80) | public boolean audit(String appId, String clusterName, String dataCent... method doAudit (line 86) | void doAudit(InstanceConfigAuditModel auditModel) { method offerTimeAndLastModifiedTimeCloseEnough (line 145) | private boolean offerTimeAndLastModifiedTimeCloseEnough(Date offerTime... method prepareInstanceId (line 150) | private long prepareInstanceId(InstanceConfigAuditModel auditModel) { method afterPropertiesSet (line 172) | @Override method buildInstanceCache (line 186) | private void buildInstanceCache() { method buildInstanceConfigReleaseKeyCache (line 198) | private void buildInstanceConfigReleaseKeyCache() { method assembleInstanceKey (line 212) | private String assembleInstanceKey(String appId, String cluster, Strin... method assembleInstanceConfigKey (line 220) | private String assembleInstanceConfigKey(long instanceId, String confi... class InstanceConfigAuditModel (line 225) | public static class InstanceConfigAuditModel { method InstanceConfigAuditModel (line 236) | public InstanceConfigAuditModel(String appId, String clusterName, St... method getAppId (line 250) | public String getAppId() { method getClusterName (line 254) | public String getClusterName() { method getDataCenter (line 258) | public String getDataCenter() { method getIp (line 262) | public String getIp() { method getConfigAppId (line 266) | public String getConfigAppId() { method getConfigNamespace (line 270) | public String getConfigNamespace() { method getReleaseKey (line 274) | public String getReleaseKey() { method getConfigClusterName (line 278) | public String getConfigClusterName() { method getOfferTime (line 282) | public Date getOfferTime() { method equals (line 286) | @Override method hashCode (line 303) | @Override FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/NamespaceUtil.java class NamespaceUtil (line 26) | @Component method NamespaceUtil (line 31) | public NamespaceUtil(final AppNamespaceServiceWithCache appNamespaceSe... method filterNamespaceName (line 35) | public String filterNamespaceName(String namespaceName) { method normalizeNamespace (line 44) | public String normalizeNamespace(String appId, String namespaceName) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/WatchKeysUtil.java class WatchKeysUtil (line 39) | @Component method WatchKeysUtil (line 43) | public WatchKeysUtil(final AppNamespaceServiceWithCache appNamespaceSe... method assembleAllWatchKeys (line 50) | public Set assembleAllWatchKeys(String appId, String clusterNa... method assembleAllWatchKeys (line 62) | public Multimap assembleAllWatchKeys(String appId, Str... method findPublicConfigWatchKeys (line 82) | private Multimap findPublicConfigWatchKeys(String appl... method assembleWatchKeys (line 102) | private Set assembleWatchKeys(String appId, String clusterName... method assembleWatchKeys (line 125) | private Multimap assembleWatchKeys(String appId, Strin... method namespacesBelongToAppId (line 137) | private Set namespacesBelongToAppId(String appId, Set ... FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMapWrapper.java class CaseInsensitiveMapWrapper (line 24) | public class CaseInsensitiveMapWrapper { method CaseInsensitiveMapWrapper (line 27) | public CaseInsensitiveMapWrapper(Map delegate) { method get (line 31) | public T get(String key) { method put (line 35) | public T put(String key, T value) { method remove (line 39) | public T remove(String key) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMultimapWrapper.java class CaseInsensitiveMultimapWrapper (line 42) | public class CaseInsensitiveMultimapWrapper { method CaseInsensitiveMultimapWrapper (line 46) | public CaseInsensitiveMultimapWrapper(Map> delegate, method normalizeKey (line 52) | private static String normalizeKey(String key) { method put (line 56) | public boolean put(String key, V value) { method remove (line 68) | public boolean remove(String key, V value) { method get (line 77) | public Set get(String key) { method containsKey (line 82) | public boolean containsKey(String key) { method size (line 93) | public int size() { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/DeferredResultWrapper.java class DeferredResultWrapper (line 35) | public class DeferredResultWrapper implements Comparable notifications) { method getResult (line 85) | public DeferredResult>> ... method compareTo (line 89) | @Override FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/ApolloMetaServiceConfig.java class ApolloMetaServiceConfig (line 26) | @EnableAutoConfiguration method allowUrlEncodedSlashHttpFirewall (line 30) | @Bean FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/controller/HomePageController.java class HomePageController (line 32) | @Profile({"kubernetes", "nacos-discovery", "consul-discovery", "zookeepe... method HomePageController (line 38) | public HomePageController(DiscoveryService discoveryService) { method listAllServices (line 42) | @GetMapping("/") FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/controller/ServiceController.java class ServiceController (line 28) | @RestController method ServiceController (line 34) | public ServiceController(final DiscoveryService discoveryService) { method getMetaService (line 41) | @Deprecated method getConfigService (line 47) | @RequestMapping("/config") method getAdminService (line 54) | @RequestMapping("/admin") FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/DatabaseDiscoveryService.java class DatabaseDiscoveryService (line 30) | @Service method DatabaseDiscoveryService (line 36) | public DatabaseDiscoveryService(DatabaseDiscoveryClient discoveryClien... method getServiceInstances (line 40) | @Override method convert (line 46) | static List convert(List list) { method convert (line 55) | static ServiceDTO convert(ServiceInstance serviceInstance) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/DefaultDiscoveryService.java class DefaultDiscoveryService (line 35) | @Service method DefaultDiscoveryService (line 42) | public DefaultDiscoveryService(final EurekaClient eurekaClient) { method getServiceInstances (line 46) | @Override FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/DiscoveryService.java type DiscoveryService (line 22) | public interface DiscoveryService { method getServiceInstances (line 29) | List getServiceInstances(String serviceId); FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/KubernetesDiscoveryService.java class KubernetesDiscoveryService (line 40) | @Service method KubernetesDiscoveryService (line 50) | public KubernetesDiscoveryService(final BizConfig bizConfig) { method getServiceInstances (line 54) | @Override method assembleServiceDTO (line 64) | private List assembleServiceDTO(String serviceId, String d... FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/NacosDiscoveryService.java class NacosDiscoveryService (line 37) | @Service method setNamingService (line 45) | @NacosInjected method getServiceInstances (line 50) | @Override method toServiceDTO (line 66) | private ServiceDTO toServiceDTO(Instance instance, String appName) { FILE: apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/SpringCloudInnerDiscoveryService.java class SpringCloudInnerDiscoveryService (line 33) | @Service method SpringCloudInnerDiscoveryService (line 39) | public SpringCloudInnerDiscoveryService(DiscoveryClient discoveryClien... method getServiceInstances (line 44) | @Override method toServiceDTO (line 57) | private ServiceDTO toServiceDTO(ServiceInstance instance, String appNa... FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/ConfigServiceTestConfiguration.java class ConfigServiceTestConfiguration (line 28) | @Configuration FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/LocalConfigServiceApplication.java class LocalConfigServiceApplication (line 23) | @SpringBootApplication method main (line 26) | public static void main(String[] args) { FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/GracefulShutdownConfigurationTest.java class GracefulShutdownConfigurationTest (line 44) | @RunWith(SpringJUnit4ClassRunner.class) method testGracefulShutdownIsConfigured (line 55) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/ConfigControllerTest.java class ConfigControllerTest (line 59) | @RunWith(MockitoJUnitRunner.class) method setUp (line 99) | @Before method testQueryConfig (line 132) | @Test method testQueryConfigFile (line 159) | @Test method testQueryConfigFileWithPrivateNamespace (line 186) | @Test method testQueryConfigWithReleaseNotFound (line 216) | @Test method testQueryConfigWithApolloConfigNotModified (line 233) | @Test method testQueryConfigWithAppOwnNamespace (line 252) | @Test method testQueryConfigWithPubicNamespaceAndNoAppOverride (line 283) | @Test method testQueryConfigFileWithPublicNamespaceAndNoAppOverride (line 320) | @Test method testQueryConfigWithPublicNamespaceAndAppOverride (line 356) | @Test method testMergeConfigurations (line 403) | @Test method testTransformConfigurationToMapFailed (line 430) | @Test(expected = JsonSyntaxException.class) method testQueryConfigForNoAppIdPlaceHolder (line 439) | @Test method testQueryConfigForNoAppIdPlaceHolderWithPublicNamespace (line 456) | @Test method testTransformMessages (line 488) | @Test method testTransformInvalidMessages (line 505) | @Test method assemblePublicAppNamespace (line 512) | private AppNamespace assemblePublicAppNamespace(String appId, String n... method assembleAppNamespace (line 516) | private AppNamespace assembleAppNamespace(String appId, String namespa... method testQueryConfigWithIncrementalSync (line 524) | @Test method testQueryConfigWithIncrementalSyncNotFound (line 564) | @Test method testQueryConfigWithIncrementalSyncPublicNamespaceAndAppOverride (line 591) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/ConfigFileControllerTest.java class ConfigFileControllerTest (line 58) | @RunWith(MockitoJUnitRunner.class) method setUp (line 84) | @Before method testQueryConfigAsProperties (line 107) | @Test method testQueryConfigAsJson (line 157) | @Test method testQueryConfigAsRaw (line 184) | @Test method testQueryConfigWithGrayRelease (line 212) | @Test method testHandleMessage (line 246) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/NotificationControllerTest.java class NotificationControllerTest (line 50) | @RunWith(MockitoJUnitRunner.class) method setUp (line 70) | @Before method testPollNotificationWithDefaultNamespace (line 89) | @Test method testPollNotificationWithDefaultNamespaceAsFile (line 110) | @Test method testPollNotificationWithSomeNamespaceAsFile (line 134) | @Test method testPollNotificationWithDefaultNamespaceWithNotificationIdOutDated (line 157) | @Test method testPollNotificationWithDefaultNamespaceAndHandleMessage (line 185) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/NotificationControllerV2Test.java class NotificationControllerV2Test (line 59) | @RunWith(MockitoJUnitRunner.class) method setUp (line 85) | @Before method testPollNotificationWithDefaultNamespace (line 114) | @Test method testPollNotificationWithDefaultNamespaceAsFile (line 137) | @Test method testPollNotificationWithMultipleNamespaces (line 164) | @Test method testPollNotificationWithMultipleNamespaceWithNotificationIdOutDated (line 208) | @Test method testPollNotificationWithMultipleNamespacesAndHandleMessage (line 260) | @Test method testPollNotificationWithHandleMessageInBatch (line 303) | @Test method testPollNotificationWithIncorrectCase (line 343) | @Test method transformApolloConfigNotificationsToString (line 392) | private String transformApolloConfigNotificationsToString(String names... method transformApolloConfigNotificationsToString (line 398) | private String transformApolloConfigNotificationsToString(String names... method transformApolloConfigNotificationsToString (line 406) | private String transformApolloConfigNotificationsToString(String names... method assembleApolloConfigNotification (line 416) | private ApolloConfigNotification assembleApolloConfigNotification(Stri... method assembleMultiMap (line 421) | private Multimap assembleMultiMap(String key, Iterable... method assertWatchKeys (line 427) | private void assertWatchKeys(Multimap watchKeysMap, FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/controller/TestWebSecurityConfig.java class TestWebSecurityConfig (line 26) | @Configuration method testSecurityFilterChain (line 30) | @Bean FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/filter/ClientAuthenticationFilterTest.java class ClientAuthenticationFilterTest (line 46) | @RunWith(MockitoJUnitRunner.class) method setUp (line 62) | @Before method testInvalidAppId (line 67) | @Test method testRequestTimeTooSkewed (line 77) | @Test method testRequestTimeOneMinFasterThenCurrentTime (line 93) | @Test method testUnauthorized (line 109) | @Test method testAuthorizedSuccessfully (line 130) | @Test method testPreCheckInvalid (line 150) | @Test method testPreCheckSuccessfully (line 172) | @Test method verifySuccessAndDoFilter (line 194) | private void verifySuccessAndDoFilter() throws Exception { FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/AbstractBaseIntegrationTest.java class AbstractBaseIntegrationTest (line 63) | @RunWith(SpringJUnit4ClassRunner.class) method postConstruct (line 78) | @PostConstruct method getHostUrl (line 88) | protected String getHostUrl() { class TestConfiguration (line 92) | @Configuration method bizConfig (line 95) | @Bean method sendReleaseMessage (line 101) | protected void sendReleaseMessage(String message) { method buildRelease (line 106) | public Release buildRelease(String name, String comment, Namespace nam... method periodicSendMessage (line 124) | protected void periodicSendMessage(ExecutorService executorService, St... class TestBizConfig (line 144) | private static class TestBizConfig extends BizConfig { method TestBizConfig (line 145) | public TestBizConfig(final BizDBPropertySource propertySource) { method appNamespaceCacheScanInterval (line 149) | @Override method appNamespaceCacheScanIntervalTimeUnit (line 155) | @Override method assembleKey (line 161) | protected String assembleKey(String appId, String cluster, String name... class BaseUrlUriTemplateHandler (line 165) | private static class BaseUrlUriTemplateHandler implements UriTemplateH... method BaseUrlUriTemplateHandler (line 171) | private BaseUrlUriTemplateHandler(UriTemplateHandler delegate) { method expand (line 175) | @Override method expand (line 186) | @Override FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/ConfigControllerIntegrationTest.java class ConfigControllerIntegrationTest (line 43) | public class ConfigControllerIntegrationTest extends AbstractBaseIntegra... method setUp (line 57) | @Before method testQueryConfigWithDefaultClusterAndDefaultNamespaceOK (line 72) | @Test method testQueryConfigWithDefaultClusterAndDefaultNamespaceAndIncorrectCase (line 89) | @Test method testQueryGrayConfigWithDefaultClusterAndDefaultNamespaceOK (line 107) | @Test method testQueryGrayConfigWithDefaultClusterAndDefaultNamespaceAndIncorrectCase (line 134) | @Test method testQueryConfigFileWithDefaultClusterAndDefaultNamespaceOK (line 162) | @Test method testQueryConfigWithNamespaceOK (line 179) | @Test method testQueryConfigFileWithNamespaceOK (line 195) | @Test method testQueryConfigError (line 212) | @Test method testQueryConfigNotModified (line 228) | @Test method testQueryPublicGrayConfigWithNoOverride (line 242) | @Test method testQueryPublicConfigWithDataCenterFoundAndNoOverride (line 270) | @Test method testQueryPublicConfigWithDataCenterFoundAndOverride (line 289) | @Test method testQueryPublicConfigWithIncorrectCaseAndDataCenterFoundAndOverride (line 313) | @Test method testQueryPublicConfigWithDataCenterNotFoundAndNoOverride (line 335) | @Test method testQueryPublicConfigWithDataCenterNotFoundAndOverride (line 356) | @Test method testQueryPublicGrayConfigWithOverride (line 381) | @Test method testQueryPublicGrayConfigWithIncorrectCaseAndOverride (line 413) | @Test method testQueryPrivateConfigFileWithPublicNamespaceExists (line 445) | @Test method testQueryConfigForNoAppIdPlaceHolderWithPrivateNamespace (line 465) | @Test method testQueryPublicConfigForNoAppIdPlaceHolder (line 481) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/ConfigFileControllerIntegrationTest.java class ConfigFileControllerIntegrationTest (line 51) | public class ConfigFileControllerIntegrationTest extends AbstractBaseInt... method setUp (line 70) | @Before method testQueryConfigAsProperties (line 87) | @Test method testQueryConfigAsPropertiesWithGrayRelease (line 103) | @Test method testQueryPublicConfigAsProperties (line 140) | @Test method testQueryConfigAsJson (line 159) | @Test method testQueryConfigAsJsonWithIncorrectCase (line 175) | @Test method testQueryPublicConfigAsJson (line 191) | @Test method testQueryPublicConfigAsJsonWithIncorrectCase (line 210) | @Test method testQueryPublicConfigAsJsonWithGrayRelease (line 230) | @Test method testQueryPublicConfigAsJsonWithGrayReleaseAndIncorrectCase (line 271) | @Test method testConfigChanged (line 312) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/NotificationControllerIntegrationTest.java class NotificationControllerIntegrationTest (line 43) | public class NotificationControllerIntegrationTest extends AbstractBaseI... method setUp (line 55) | @Before method testPollNotificationWithDefaultNamespace (line 66) | @Test(timeout = 5000L) method testPollNotificationWithDefaultNamespaceAsFile (line 86) | @Test(timeout = 5000L) method testPollNotificationWithPrivateNamespaceAsFile (line 107) | @Test(timeout = 5000L) method testPollNotificationWithDefaultNamespaceWithNotificationIdNull (line 130) | @Test(timeout = 5000L) method testPollNotificationWithDefaultNamespaceWithNotificationIdOutDated (line 146) | @Test(timeout = 5000L) method testPollNotificationWthPublicNamespaceAndNoDataCenter (line 167) | @Test(timeout = 5000L) method testPollNotificationWthPublicNamespaceAndDataCenter (line 191) | @Test(timeout = 5000L) method testPollNotificationWthPublicNamespaceAsFile (line 217) | @Test(timeout = 5000L) method testPollNotificationWithPublicNamespaceWithNotificationIdOutDated (line 243) | @Test(timeout = 5000L) FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/NotificationControllerV2IntegrationTest.java class NotificationControllerV2IntegrationTest (line 51) | public class NotificationControllerV2IntegrationTest extends AbstractBas... method setUp (line 65) | @Before method testPollNotificationWithDefaultNamespace (line 76) | @Test(timeout = 5000L) method testPollNotificationWithDefaultNamespaceAsFile (line 104) | @Test(timeout = 5000L) method testPollNotificationWithMultipleNamespaces (line 132) | @Test method testPollNotificationWithMultipleNamespacesAndIncorrectCase (line 162) | @Test method testPollNotificationWithPrivateNamespaceAsFile (line 195) | @Test(timeout = 5000L) method testPollNotificationWithDefaultNamespaceWithNotificationIdOutDated (line 227) | @Test(timeout = 5000L) method testPollNotificationWthPublicNamespaceAndNoDataCenter (line 258) | @Test(timeout = 5000L) method testPollNotificationWthPublicNamespaceAndDataCenter (line 290) | @Test(timeout = 5000L) method testPollNotificationWthMultipleNamespacesAndMultipleNamespacesChanged (line 324) | @Test(timeout = 10000L) method testPollNotificationWthPublicNamespaceAsFile (line 360) | @Test(timeout = 5000L) method testPollNotificationWithPublicNamespaceWithNotificationIdOutDated (line 394) | @Test(timeout = 5000L) method testPollNotificationWithMultiplePublicNamespaceWithIncorrectCaseWithNotificationIdOutDated (line 426) | @Test(timeout = 5000L) method testPollNotificationWithMultiplePublicNamespaceWithIncorrectCase2WithNotificationIdOutDated (line 462) | @Test(timeout = 5000L) method testPollNotificationWithMultiplePublicNamespaceWithIncorrectCase3WithNotificationIdOutDated (line 498) | @Test(timeout = 5000L) method testPollNotificationWithMultiplePublicNamespaceWithIncorrectCase4WithNotificationIdOutDated (line 534) | @Test(timeout = 5000L) method testPollNotificationWithMultipleNamespacesAndNotificationIdsOutDated (line 570) | @Test(timeout = 5000L) method testPollNotificationWithMultipleNamespacesAndNotificationIdsOutDatedAndIncorrectCase (line 624) | @Test(timeout = 5000L) method transformApolloConfigNotificationsToString (line 683) | private String transformApolloConfigNotificationsToString(String names... method transformApolloConfigNotificationsToString (line 689) | private String transformApolloConfigNotificationsToString(String names... method transformApolloConfigNotificationsToString (line 697) | private String transformApolloConfigNotificationsToString(String names... method assembleApolloConfigNotification (line 707) | private ApolloConfigNotification assembleApolloConfigNotification(Stri... FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/AccessKeyServiceWithCacheTest.java class AccessKeyServiceWithCacheTest (line 40) | @RunWith(MockitoJUnitRunner.Silent.class) method setUp (line 51) | @Before method testGetAvailableSecrets (line 67) | @Test method assembleAccessKey (line 94) | public AccessKey assembleAccessKey(Long id, String appId, String secre... method reachabilityFence (line 113) | private static void reachabilityFence(Object ref) { FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/AppNamespaceServiceWithCacheTest.java class AppNamespaceServiceWithCacheTest (line 47) | @RunWith(MockitoJUnitRunner.Silent.class) method setUp (line 61) | @Before method testAppNamespace (line 79) | @Test method check (line 292) | private void check(List someList, List ano... method newDateWithDelta (line 298) | private Date newDateWithDelta(Date date, int deltaInSeconds) { method assembleAppNamespace (line 306) | private AppNamespace assembleAppNamespace(long id, String appId, Strin... method doubleCheckForAppNamespaceCache (line 319) | @Test method invokePrivateMethod (line 358) | private void invokePrivateMethod(String methodName) throws Exception { FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/ReleaseMessageServiceWithCacheTest.java class ReleaseMessageServiceWithCacheTest (line 45) | @RunWith(MockitoJUnitRunner.class) method setUp (line 60) | @Before method testWhenNoReleaseMessages (line 72) | @Test method testWhenHasReleaseMsgAndHasRepeatMsg (line 88) | @Test method testWhenReleaseMsgSizeBiggerThan500 (line 122) | @Test method testNewReleaseMessagesBeforeHandleMessage (line 158) | @Test method testNewReleasesWithHandleMessage (line 198) | @Test method assembleReleaseMsg (line 235) | private ReleaseMessage assembleReleaseMsg(long id, String msgContent) { FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/config/ConfigServiceWithCacheAndCacheKeyIgnoreCaseTest.java class ConfigServiceWithCacheAndCacheKeyIgnoreCaseTest (line 49) | @RunWith(MockitoJUnitRunner.class) method setUp (line 77) | @Before method testFindActiveOne (line 97) | @Test method testFindActiveOneWithSameIdMultipleTimes (line 108) | @Test method testFindActiveOneWithMultipleIdMultipleTimes (line 124) | @Test method testFindActiveOneWithReleaseNotFoundMultipleTimes (line 147) | @Test method testFindLatestActiveRelease (line 160) | @Test method testFindLatestActiveReleaseWithReleaseNotFound (line 194) | @Test method testFindLatestActiveReleaseWithDirtyRelease (line 229) | @Test method testFindLatestActiveReleaseWithReleaseMessageNotification (line 274) | @Test method testFindLatestActiveReleaseWithIrrelevantMessages (line 328) | @Test method matchesCaseInsensitive (line 362) | private String matchesCaseInsensitive(final String regex) { FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/config/ConfigServiceWithCacheTest.java class ConfigServiceWithCacheTest (line 51) | @RunWith(MockitoJUnitRunner.class) method setUp (line 77) | @Before method testFindActiveOne (line 94) | @Test method testFindReleasesByReleaseKeys (line 106) | @Test method testFindActiveOneWithSameIdMultipleTimes (line 125) | @Test method testFindReleasesByReleaseKeysWithSameIdMultipleTimes (line 141) | @Test method testFindActiveOneWithMultipleIdMultipleTimes (line 167) | @Test method testFindReleasesByReleaseKeysNotFoundMultipleTimes (line 190) | @Test method testFindActiveOneWithReleaseNotFoundMultipleTimes (line 204) | @Test method testFindLatestActiveRelease (line 217) | @Test method testFindLatestActiveReleaseWithReleaseNotFound (line 244) | @Test method testFindLatestActiveReleaseWithDirtyRelease (line 268) | @Test method testFindLatestActiveReleaseWithReleaseMessageNotification (line 307) | @Test method testFindLatestActiveReleaseWithIrrelevantMessages (line 347) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/config/DefaultConfigServiceTest.java class DefaultConfigServiceTest (line 41) | @RunWith(MockitoJUnitRunner.class) method setUp (line 62) | @Before method testLoadConfig (line 79) | @Test method testLoadConfigWithGrayRelease (line 93) | @Test method testLoadConfigWithReleaseNotFound (line 114) | @Test method testLoadConfigWithDefaultClusterWithDataCenterRelease (line 126) | @Test method testLoadConfigWithDefaultClusterWithNoDataCenterRelease (line 140) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/service/config/DefaultIncrementalSyncServiceTest.java class DefaultIncrementalSyncServiceTest (line 43) | @RunWith(MockitoJUnitRunner.class) method setUp (line 59) | @Before method getConfigurationChangeCache (line 85) | @SuppressWarnings("unchecked") method testConfigurationChangeCacheHit (line 97) | @Test method testConfigurationChangeCacheMiss (line 116) | @Test method testConfigurationChangeCacheWithNullValues (line 128) | @Test method testChangeConfigurationsWithAdd (line 142) | @Test method testChangeConfigurationsWithLatestConfigIsNULL (line 162) | @Test method testChangeConfigurationsWithHistoryConfigIsNULL (line 178) | @Test method testChangeConfigurationsWithUpdate (line 195) | @Test method testChangeConfigurationsWithDelete (line 214) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/util/AccessKeyUtilTest.java class AccessKeyUtilTest (line 36) | @RunWith(MockitoJUnitRunner.class) method setUp (line 46) | @Before method testFindAvailableSecret (line 51) | @Test method testExtractAppIdFromRequest1 (line 64) | @Test method testExtractAppIdFromRequest2 (line 73) | @Test method testExtractAppIdFromRequest3 (line 82) | @Test method testExtractAppIdFromRequest4 (line 91) | @Test method buildSignature (line 101) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtilTest.java class InstanceConfigAuditUtilTest (line 40) | @RunWith(MockitoJUnitRunner.class) method setUp (line 63) | @Before method testAudit (line 88) | @Test method testDoAudit (line 99) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/util/NamespaceUtilTest.java class NamespaceUtilTest (line 33) | @RunWith(MockitoJUnitRunner.class) method setUp (line 40) | @Before method testFilterNamespaceName (line 45) | @Test method testFilterNamespaceNameUnchanged (line 52) | @Test method testFilterNamespaceNameWithMultiplePropertiesSuffix (line 59) | @Test method testFilterNamespaceNameWithRandomCase (line 66) | @Test method testFilterNamespaceNameWithRandomCaseUnchanged (line 73) | @Test method testNormalizeNamespaceWithPrivateNamespace (line 80) | @Test method testNormalizeNamespaceWithPublicNamespace (line 99) | @Test method testNormalizeNamespaceFailed (line 120) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/util/WatchKeysUtilTest.java class WatchKeysUtilTest (line 42) | @RunWith(MockitoJUnitRunner.class) method setUp (line 62) | @Before method testAssembleAllWatchKeysWithOneNamespaceAndDefaultCluster (line 95) | @Test method testAssembleAllWatchKeysWithOneNamespaceAndSomeDC (line 106) | @Test method testAssembleAllWatchKeysWithOneNamespaceAndSomeDCAndSomeCluster (line 117) | @Test method testAssembleAllWatchKeysWithMultipleNamespaces (line 128) | @Test method testAssembleAllWatchKeysWithPrivateAndPublicNamespaces (line 140) | @Test method testAssembleWatchKeysForNoAppIdPlaceHolder (line 157) | @Test method testAssembleWatchKeysForNoAppIdPlaceHolderAndPublicNamespace (line 166) | @Test method assertWatchKeys (line 180) | private void assertWatchKeys(String appId, Set clusters, Strin... FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMapWrapperTest.java class CaseInsensitiveMapWrapperTest (line 36) | @RunWith(MockitoJUnitRunner.class) method setUp (line 42) | @Before method testGet (line 47) | @Test method testPut (line 59) | @Test method testRemove (line 72) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMultimapWrapperTest.java class CaseInsensitiveMultimapWrapperTest (line 33) | public class CaseInsensitiveMultimapWrapperTest { method setUp (line 37) | @Before method testPutAndGet (line 43) | @Test method testRemove (line 62) | @Test method testContainsKey (line 75) | @Test method testSize (line 86) | @Test method testGetEmpty (line 98) | @Test method testConcurrencyRaceCondition (line 103) | @Test method testGetReturnsUnmodifiableView (line 157) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/controller/HomePageControllerTest.java class HomePageControllerTest (line 34) | @RunWith(MockitoJUnitRunner.class) method setUp (line 42) | @Before method testListAllServices (line 47) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/controller/ServiceControllerTest.java class ServiceControllerTest (line 32) | @RunWith(MockitoJUnitRunner.class) method setUp (line 43) | @Before method testGetMetaService (line 48) | @Test method testGetConfigService (line 53) | @Test method testGetAdminService (line 64) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/service/ConsulDiscoveryServiceTest.java class ConsulDiscoveryServiceTest (line 40) | @RunWith(MockitoJUnitRunner.class) method setUp (line 50) | @Before method testGetServiceInstancesWithNullInstances (line 56) | @Test method testGetServiceInstances (line 63) | @Test method mockServiceInstance (line 81) | private ServiceInstance mockServiceInstance(String instanceId, String ... FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/service/DefaultDiscoveryServiceTest.java class DefaultDiscoveryServiceTest (line 37) | @RunWith(MockitoJUnitRunner.class) method setUp (line 50) | @Before method testGetServiceInstancesWithNullInstances (line 57) | @Test method testGetServiceInstancesWithEmptyInstances (line 64) | @Test method testGetServiceInstances (line 72) | @Test method check (line 94) | private void check(InstanceInfo serviceInstance, ServiceDTO serviceDTO) { method mockServiceInstance (line 100) | private InstanceInfo mockServiceInstance(String serviceId, String inst... FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/service/KubernetesDiscoveryServiceTest.java class KubernetesDiscoveryServiceTest (line 34) | @RunWith(MockitoJUnitRunner.class) method setUp (line 45) | @Before method testGetServiceInstancesWithInvalidServiceId (line 50) | @Test method testGetServiceInstancesWithNullConfig (line 57) | @Test method testGetConfigServiceInstances (line 68) | @Test method testGetAdminServiceInstances (line 85) | @Test FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/service/NacosDiscoveryServiceTest.java class NacosDiscoveryServiceTest (line 40) | @RunWith(MockitoJUnitRunner.class) method setUp (line 51) | @Before method testGetServiceInstancesWithEmptyInstances (line 58) | @Test method testGetServiceInstancesWithInvalidServiceId (line 64) | @Test method testGetServiceInstances (line 69) | @Test method mockServiceInstance (line 87) | private Instance mockServiceInstance(String instanceId, String ip, int... FILE: apollo-configservice/src/test/java/com/ctrip/framework/apollo/metaservice/service/ZookeeperDiscoveryServiceTest.java class ZookeeperDiscoveryServiceTest (line 37) | @RunWith(MockitoJUnitRunner.class) method setUp (line 47) | @Before method testGetServiceInstancesWithEmptyInstances (line 53) | @Test method testGetServiceInstances (line 59) | @Test method mockServiceInstance (line 77) | private ServiceInstance mockServiceInstance(String instanceId, String ... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/PortalOpenApiConfig.java class PortalOpenApiConfig (line 27) | @EnableAutoConfiguration class PortalWebMvcConfig (line 32) | @Component method customize (line 34) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/auth/ConsumerPermissionValidator.java class ConsumerPermissionValidator (line 32) | @Component("consumerPermissionValidator") method ConsumerPermissionValidator (line 39) | public ConsumerPermissionValidator(final ConsumerRolePermissionService... method hasModifyNamespacePermission (line 45) | @Override method hasReleaseNamespacePermission (line 54) | @Override method hasCreateAppNamespacePermission (line 63) | @Override method isSuperAdmin (line 68) | @Override method shouldHideConfigToCurrentUser (line 74) | @Override method hasCreateApplicationPermission (line 80) | @Override method hasCreateApplicationPermission (line 87) | @Override method hasManageAppMasterPermission (line 92) | @Override method hasPermissions (line 97) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/entity/Consumer.java class Consumer (line 28) | @Entity method getAppId (line 53) | public String getAppId() { method getName (line 57) | public String getName() { method getOrgId (line 61) | public String getOrgId() { method getOrgName (line 65) | public String getOrgName() { method getOwnerEmail (line 69) | public String getOwnerEmail() { method getOwnerName (line 73) | public String getOwnerName() { method setAppId (line 77) | public void setAppId(String appId) { method setName (line 81) | public void setName(String name) { method setOrgId (line 85) | public void setOrgId(String orgId) { method setOrgName (line 89) | public void setOrgName(String orgName) { method setOwnerEmail (line 93) | public void setOwnerEmail(String ownerEmail) { method setOwnerName (line 97) | public void setOwnerName(String ownerName) { method toString (line 101) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/entity/ConsumerAudit.java class ConsumerAudit (line 34) | @Entity method prePersist (line 57) | @PrePersist method getId (line 67) | public long getId() { method setId (line 71) | public void setId(long id) { method getConsumerId (line 75) | public long getConsumerId() { method setConsumerId (line 79) | public void setConsumerId(long consumerId) { method getUri (line 83) | public String getUri() { method setUri (line 87) | public void setUri(String uri) { method getMethod (line 91) | public String getMethod() { method setMethod (line 95) | public void setMethod(String method) { method getDataChangeCreatedTime (line 99) | public Date getDataChangeCreatedTime() { method setDataChangeCreatedTime (line 103) | public void setDataChangeCreatedTime(Date dataChangeCreatedTime) { method getDataChangeLastModifiedTime (line 107) | public Date getDataChangeLastModifiedTime() { method setDataChangeLastModifiedTime (line 111) | public void setDataChangeLastModifiedTime(Date dataChangeLastModifiedT... method toString (line 115) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/entity/ConsumerRole.java class ConsumerRole (line 31) | @Entity method getConsumerId (line 43) | public long getConsumerId() { method setConsumerId (line 47) | public void setConsumerId(long consumerId) { method getRoleId (line 51) | public long getRoleId() { method setRoleId (line 55) | public void setRoleId(long roleId) { method toString (line 59) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/entity/ConsumerToken.java class ConsumerToken (line 34) | @Entity method getConsumerId (line 53) | public long getConsumerId() { method setConsumerId (line 57) | public void setConsumerId(long consumerId) { method getToken (line 61) | public String getToken() { method setToken (line 65) | public void setToken(String token) { method getRateLimit (line 69) | public Integer getRateLimit() { method setRateLimit (line 73) | public void setRateLimit(Integer rateLimit) { method getExpires (line 77) | public Date getExpires() { method setExpires (line 81) | public void setExpires(Date expires) { method toString (line 85) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/filter/ConsumerAuthenticationFilter.java class ConsumerAuthenticationFilter (line 44) | public class ConsumerAuthenticationFilter implements Filter { method ConsumerAuthenticationFilter (line 62) | public ConsumerAuthenticationFilter(ConsumerAuthUtil consumerAuthUtil, method init (line 68) | @Override method doFilter (line 73) | @Override method destroy (line 116) | @Override method getOrCreateRateLimiterPair (line 121) | private ImmutablePair getOrCreateRateLimiterPair(St... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/repository/ConsumerAuditRepository.java type ConsumerAuditRepository (line 26) | public interface ConsumerAuditRepository extends JpaRepository { method findByAppId (line 28) | Consumer findByAppId(String appId); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/repository/ConsumerRoleRepository.java type ConsumerRoleRepository (line 31) | public interface ConsumerRoleRepository extends JpaRepository findByConsumerId(long consumerId); method findByRoleId (line 42) | List findByRoleId(long roleId); method findByConsumerIdAndRoleId (line 44) | ConsumerRole findByConsumerIdAndRoleId(long consumerId, long roleId); method batchDeleteByRoleIds (line 46) | @Modifying FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/repository/ConsumerTokenRepository.java type ConsumerTokenRepository (line 29) | public interface ConsumerTokenRepository extends JpaRepository findByConsumerIdIn(List consumerIds); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/AppOpenApiService.java type AppOpenApiService (line 28) | public interface AppOpenApiService { method createApp (line 30) | void createApp(@NonNull OpenCreateAppDTO req); method getEnvClusterInfo (line 32) | List getEnvClusterInfo(String appId); method getAllApps (line 34) | List getAllApps(); method getAppsInfo (line 36) | List getAppsInfo(List appIds); method getAuthorizedApps (line 38) | List getAuthorizedApps(); method updateApp (line 40) | void updateApp(OpenAppDTO openAppDTO); method getAppsBySelf (line 42) | List getAppsBySelf(Set appIds, Integer page, Integ... method createAppInEnv (line 44) | void createAppInEnv(String env, OpenAppDTO app, String operator); method deleteApp (line 46) | OpenAppDTO deleteApp(String appId); method findMissEnvs (line 48) | MultiResponseEntity findMissEnvs(String appId); method getAppNavTree (line 50) | MultiResponseEntity getAppNavTree(String appId); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ClusterOpenApiService.java type ClusterOpenApiService (line 21) | public interface ClusterOpenApiService { method getCluster (line 23) | OpenClusterDTO getCluster(String appId, String env, String clusterName); method createCluster (line 25) | OpenClusterDTO createCluster(String env, OpenClusterDTO openClusterDTO); method deleteCluster (line 27) | void deleteCluster(String env, String appId, String clusterName); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/EnvOpenApiService.java type EnvOpenApiService (line 21) | public interface EnvOpenApiService { method getEnvs (line 23) | List getEnvs(); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/OrganizationOpenApiService.java type OrganizationOpenApiService (line 22) | public interface OrganizationOpenApiService { method getOrganizations (line 24) | List getOrganizations(); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerAppOpenApiService.java class ServerAppOpenApiService (line 57) | @Service method ServerAppOpenApiService (line 67) | public ServerAppOpenApiService(PortalSettings portalSettings, ClusterS... method convert (line 77) | private App convert(OpenAppDTO dto) { method createApp (line 85) | @Override method getEnvClusterInfo (line 95) | @Override method getAllApps (line 115) | @Override method getAppsInfo (line 121) | @Override method getAuthorizedApps (line 130) | @Override method updateApp (line 139) | @Override method getAppsBySelf (line 151) | @Override method createAppInEnv (line 170) | @Override method deleteApp (line 193) | @Override method findMissEnvs (line 205) | public MultiResponseEntity findMissEnvs(String appId) { method getAppNavTree (line 232) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerClusterOpenApiService.java class ServerClusterOpenApiService (line 29) | @Service method ServerClusterOpenApiService (line 34) | public ServerClusterOpenApiService(ClusterService clusterService) { method getCluster (line 38) | @Override method createCluster (line 44) | @Override method deleteCluster (line 51) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerEnvOpenApiService.java class ServerEnvOpenApiService (line 25) | @Service method ServerEnvOpenApiService (line 30) | public ServerEnvOpenApiService(PortalSettings portalSettings) { method getEnvs (line 34) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerInstanceOpenApiService.java class ServerInstanceOpenApiService (line 24) | @Service method ServerInstanceOpenApiService (line 29) | public ServerInstanceOpenApiService(InstanceService instanceService) { method getInstanceCountByNamespace (line 33) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerItemOpenApiService.java class ServerItemOpenApiService (line 34) | @Service method ServerItemOpenApiService (line 39) | public ServerItemOpenApiService(ItemService itemService) { method getItem (line 43) | @Override method createItem (line 51) | @Override method updateItem (line 69) | @Override method createOrUpdateItem (line 83) | @Override method removeItem (line 100) | @Override method findItemsByNamespace (line 108) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerNamespaceOpenApiService.java class ServerNamespaceOpenApiService (line 40) | @Service method ServerNamespaceOpenApiService (line 48) | public ServerNamespaceOpenApiService(AppNamespaceService appNamespaceS... method getNamespace (line 57) | @Override method getNamespaces (line 68) | @Override method createAppNamespace (line 75) | @Override method getNamespaceLock (line 86) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerOrganizationOpenApiService.java class ServerOrganizationOpenApiService (line 25) | @Service method ServerOrganizationOpenApiService (line 30) | public ServerOrganizationOpenApiService(PortalConfig portalConfig) { method getOrganizations (line 34) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerReleaseOpenApiService.java class ServerReleaseOpenApiService (line 33) | @Service method ServerReleaseOpenApiService (line 37) | public ServerReleaseOpenApiService(ReleaseService releaseService) { method publishNamespace (line 41) | @Override method getLatestActiveRelease (line 55) | @Override method rollbackRelease (line 67) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerRolePermissionService.java class ConsumerRolePermissionService (line 36) | @Service method ConsumerRolePermissionService (line 42) | public ConsumerRolePermissionService(final PermissionRepository permis... method consumerHasPermission (line 53) | public boolean consumerHasPermission(long consumerId, String permissio... method hasAnyPermission (line 81) | public boolean hasAnyPermission(long consumerId, List perm... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java class ConsumerService (line 65) | @Service method ConsumerService (line 82) | public ConsumerService(final UserInfoHolder userInfoHolder, method createConsumer (line 101) | public Consumer createConsumer(Consumer consumer) { method generateAndSaveConsumerToken (line 123) | public ConsumerToken generateAndSaveConsumerToken(Consumer consumer, I... method getConsumerTokenByAppId (line 133) | public ConsumerToken getConsumerTokenByAppId(String appId) { method getConsumerTokenByToken (line 142) | public ConsumerToken getConsumerTokenByToken(String token) { method getConsumerIdByToken (line 149) | public Long getConsumerIdByToken(String token) { method getConsumerByConsumerId (line 154) | public Consumer getConsumerByConsumerId(long consumerId) { method assignNamespaceRoleToConsumer (line 158) | @Transactional method assignNamespaceRoleToConsumer (line 164) | @Transactional method convert (line 208) | private ConsumerInfo convert(Consumer consumer, String token, boolean ... method getConsumerInfoByAppId (line 225) | public ConsumerInfo getConsumerInfoByAppId(String appId) { method isAllowCreateApplication (line 238) | private boolean isAllowCreateApplication(Long consumerId) { method getRateLimit (line 242) | private Integer getRateLimit(Long consumerId) { method isAllowCreateApplication (line 250) | private List isAllowCreateApplication(List consumerIdLi... method getRateLimit (line 271) | private List getRateLimit(List consumerIds) { method getCreateAppRole (line 281) | private Role getCreateAppRole() { method assignCreateApplicationRoleToConsumer (line 285) | public ConsumerRole assignCreateApplicationRoleToConsumer(String token) { method assignAppRoleToConsumer (line 308) | @Transactional method assignAppRoleToConsumer (line 314) | @Transactional method createConsumerAudits (line 339) | @Transactional method createConsumerToken (line 344) | @Transactional method generateConsumerToken (line 350) | private ConsumerToken generateConsumerToken(Consumer consumer, Integer... method generateAndEnrichToken (line 373) | void generateAndEnrichToken(Consumer consumer, ConsumerToken consumerT... method generateToken (line 384) | @SuppressWarnings("UnstableApiUsage") method createConsumerRole (line 391) | ConsumerRole createConsumerRole(Long consumerId, Long roleId, String o... method findAppIdsAuthorizedByConsumerId (line 402) | public Set findAppIdsAuthorizedByConsumerId(long consumerId) { method findConsumerRolesByConsumerId (line 410) | private List findConsumerRolesByConsumerId(long consumer... method findAppIdsByRoleIds (line 414) | private Set findAppIdsByRoleIds(List roleIds) { method findAllConsumer (line 430) | List findAllConsumer(Pageable page) { method findConsumerInfoList (line 434) | public List findConsumerInfoList(Pageable page) { method deleteConsumer (line 454) | @Transactional FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/util/ConsumerAuditUtil.java class ConsumerAuditUtil (line 41) | @Service method ConsumerAuditUtil (line 57) | public ConsumerAuditUtil(final ConsumerService consumerService) { method audit (line 64) | public boolean audit(HttpServletRequest request, long consumerId) { method afterPropertiesSet (line 86) | @Override method stopAudit (line 103) | public void stopAudit() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/util/ConsumerAuthUtil.java class ConsumerAuthUtil (line 30) | @Service method ConsumerAuthUtil (line 35) | public ConsumerAuthUtil(final ConsumerService consumerService) { method getConsumerId (line 39) | public Long getConsumerId(String token) { method getConsumerToken (line 43) | public ConsumerToken getConsumerToken(String token) { method storeConsumerId (line 47) | public void storeConsumerId(HttpServletRequest request, Long consumerI... method retrieveConsumerId (line 51) | public long retrieveConsumerId(HttpServletRequest request) { method retrieveConsumerIdFromCtx (line 62) | public long retrieveConsumerIdFromCtx() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/util/OpenApiBeanUtils.java class OpenApiBeanUtils (line 54) | public class OpenApiBeanUtils { method transformFromItemDTO (line 59) | public static OpenItemDTO transformFromItemDTO(ItemDTO item) { method transformToItemDTO (line 64) | public static ItemDTO transformToItemDTO(OpenItemDTO openItemDTO) { method transformToOpenAppNamespaceDTO (line 69) | public static OpenAppNamespaceDTO transformToOpenAppNamespaceDTO(AppNa... method transformToAppNamespace (line 74) | public static AppNamespace transformToAppNamespace(OpenAppNamespaceDTO... method transformFromReleaseDTO (line 79) | public static OpenReleaseDTO transformFromReleaseDTO(ReleaseDTO releas... method transformFromNamespaceBO (line 90) | public static OpenNamespaceDTO transformFromNamespaceBO(NamespaceBO na... method batchTransformFromNamespaceBOs (line 113) | public static List batchTransformFromNamespaceBOs( method transformFromNamespaceLockDTO (line 123) | public static OpenNamespaceLockDTO transformFromNamespaceLockDTO(Strin... method transformFromGrayReleaseRuleDTO (line 139) | public static OpenGrayReleaseRuleDTO transformFromGrayReleaseRuleDTO( method transformToGrayReleaseRuleDTO (line 146) | public static GrayReleaseRuleDTO transformToGrayReleaseRuleDTO( method transformFromApps (line 172) | public static List transformFromApps(final List apps) { method transformFromApp (line 179) | public static OpenAppDTO transformFromApp(final App app) { method transformFromClusterDTO (line 185) | public static OpenClusterDTO transformFromClusterDTO(ClusterDTO Cluste... method transformToClusterDTO (line 190) | public static ClusterDTO transformToClusterDTO(OpenClusterDTO openClus... method transformFromOrganization (line 195) | public static OpenOrganizationDto transformFromOrganization(final Orga... method transformFromOrganizations (line 200) | public static List transformFromOrganizations( FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/util/OpenApiModelConverters.java class OpenApiModelConverters (line 78) | public final class OpenApiModelConverters { method OpenApiModelConverters (line 83) | private OpenApiModelConverters() {} method fromItemDTO (line 87) | public static OpenItemDTO fromItemDTO(ItemDTO item) { method toItemDTO (line 93) | public static ItemDTO toItemDTO(OpenItemDTO openItemDTO) { method toItemDTOs (line 99) | public static List toItemDTOs(List openItemDTOs) { method fromItemDTOs (line 108) | public static List fromItemDTOs(List items) { method fromAppNamespace (line 118) | public static OpenAppNamespaceDTO fromAppNamespace(AppNamespace appNam... method toAppNamespace (line 124) | public static AppNamespace toAppNamespace(OpenAppNamespaceDTO openAppN... method fromApps (line 130) | public static List fromApps(final List apps) { method fromApp (line 138) | public static OpenAppDTO fromApp(final App app) { method fromReleaseDTO (line 146) | public static OpenReleaseDTO fromReleaseDTO(ReleaseDTO release) { method fromReleaseBO (line 155) | public static OpenReleaseBO fromReleaseBO(final ReleaseBO releaseBO) { method fromReleaseBOs (line 174) | public static List fromReleaseBOs(final List... method fromNamespaceBO (line 185) | public static OpenNamespaceDTO fromNamespaceBO(NamespaceBO namespaceBO) { method fromNamespaceBOs (line 203) | public static List fromNamespaceBOs(List toNamespaceTextModels( method toNamespaceIdentifier (line 249) | public static NamespaceIdentifier toNamespaceIdentifier( method toNamespaceIdentifiers (line 261) | public static List toNamespaceIdentifiers( method fromNamespaceIdentifier (line 271) | public static OpenNamespaceIdentifier fromNamespaceIdentifier( method toNamespaceSyncModel (line 283) | public static NamespaceSyncModel toNamespaceSyncModel( method toNamespaceSyncModels (line 299) | public static List toNamespaceSyncModels( method fromGrayReleaseRuleDTO (line 311) | public static OpenGrayReleaseRuleDTO fromGrayReleaseRuleDTO( method toGrayReleaseRuleDTO (line 318) | public static GrayReleaseRuleDTO toGrayReleaseRuleDTO( method fromClusterDTO (line 349) | public static OpenClusterDTO fromClusterDTO(ClusterDTO cluster) { method toClusterDTO (line 355) | public static ClusterDTO toClusterDTO(OpenClusterDTO openClusterDTO) { method fromOrganization (line 363) | public static OpenOrganizationDto fromOrganization(final Organization ... method fromOrganizations (line 369) | public static List fromOrganizations( method fromInstanceDTO (line 381) | public static OpenInstanceDTO fromInstanceDTO(final InstanceDTO instan... method fromInstanceDTOs (line 387) | public static List fromInstanceDTOs(final List fromEnvClusterInfos( method fromItemChangeSets (line 416) | public static OpenItemChangeSets fromItemChangeSets(final ItemChangeSe... method fromItemDiffs (line 432) | public static OpenItemDiffs fromItemDiffs(final ItemDiffs itemDiffs) { method fromItemDiffsList (line 446) | public static List fromItemDiffsList(final List findNamespaceByCluster(String appId, Env e... method findByItem (line 96) | public PageDTO findByItem(Env env, String itemKey, int... method loadNamespace (line 103) | public NamespaceDTO loadNamespace(String appId, Env env, String clus... method findPublicNamespaceForAssociatedNamespace (line 109) | public NamespaceDTO findPublicNamespaceForAssociatedNamespace(Env en... method createNamespace (line 116) | @ApolloAuditLog(type = OpType.RPC, name = "Namespace.createInRemote") method createAppNamespace (line 122) | @ApolloAuditLog(type = OpType.RPC, name = "AppNamespace.createInRemo... method createMissingAppNamespace (line 128) | @ApolloAuditLog(type = OpType.RPC, name = "AppNamespace.createMissin... method getAppNamespaces (line 134) | public List getAppNamespaces(String appId, Env env) { method deleteNamespace (line 140) | @ApolloAuditLog(type = OpType.RPC, name = "Namespace.deleteInRemote") method getNamespacePublishInfo (line 148) | public Map getNamespacePublishInfo(Env env, String ... method getPublicAppNamespaceAllNamespaces (line 153) | public List getPublicAppNamespaceAllNamespaces(Env env, method countPublicAppNamespaceAssociatedNamespaces (line 161) | public int countPublicAppNamespaceAssociatedNamespaces(Env env, Stri... method deleteAppNamespace (line 169) | @ApolloAuditLog(type = OpType.RPC, name = "AppNamespace.deleteInRemo... class ItemAPI (line 176) | @Service method findItems (line 185) | public List findItems(String appId, Env env, String cluster... method findDeletedItems (line 193) | public List findDeletedItems(String appId, Env env, String ... method getPerEnvItemInfoBySearch (line 201) | public PageDTO getPerEnvItemInfoBySearch(Env env, Strin... method loadItem (line 209) | public ItemDTO loadItem(Env env, String appId, String clusterName, S... method loadItemByEncodeKey (line 216) | public ItemDTO loadItemByEncodeKey(Env env, String appId, String clu... method loadItemById (line 224) | public ItemDTO loadItemById(Env env, long itemId) { method updateItemsByChangeSet (line 228) | public void updateItemsByChangeSet(String appId, Env env, String clu... method updateItem (line 235) | public void updateItem(String appId, Env env, String clusterName, St... method createItem (line 243) | public ItemDTO createItem(String appId, Env env, String clusterName,... method createCommentItem (line 250) | public ItemDTO createCommentItem(String appId, Env env, String clust... method deleteItem (line 257) | public void deleteItem(Env env, long itemId, String operator) { method findItemsByNamespace (line 262) | public PageDTO findItemsByNamespace(String appId, Env e... class ClusterAPI (line 271) | @Service method findClustersByApp (line 274) | public List findClustersByApp(String appId, Env env) { method loadCluster (line 280) | public ClusterDTO loadCluster(String appId, Env env, String clusterN... method isClusterUnique (line 285) | public boolean isClusterUnique(String appId, Env env, String cluster... method create (line 291) | @ApolloAuditLog(type = OpType.RPC, name = "Cluster.createInRemote") method delete (line 297) | @ApolloAuditLog(type = OpType.RPC, name = "Cluster.deleteInRemote") class AccessKeyAPI (line 304) | @Service method create (line 307) | @ApolloAuditLog(type = OpType.RPC, name = "AccessKey.createInRemote") method findByAppId (line 313) | public List findByAppId(Env env, String appId) { method delete (line 319) | @ApolloAuditLog(type = OpType.RPC, name = "AccessKey.deleteInRemote") method enable (line 325) | @ApolloAuditLog(type = OpType.RPC, name = "AccessKey.enableInRemote") method disable (line 331) | @ApolloAuditLog(type = OpType.RPC, name = "AccessKey.disableInRemote") class ReleaseAPI (line 338) | @Service method loadRelease (line 343) | public ReleaseDTO loadRelease(Env env, long releaseId) { method findReleaseByIds (line 347) | public List findReleaseByIds(Env env, Set releaseI... method findAllReleases (line 358) | public List findAllReleases(String appId, Env env, Strin... method findActiveReleases (line 366) | public List findActiveReleases(String appId, Env env, St... method loadLatestRelease (line 374) | public ReleaseDTO loadLatestRelease(String appId, Env env, String cl... method createRelease (line 381) | public ReleaseDTO createRelease(String appId, Env env, String cluste... method createGrayDeletionRelease (line 397) | public ReleaseDTO createGrayDeletionRelease(String appId, Env env, S... method updateAndPublish (line 415) | public ReleaseDTO updateAndPublish(String appId, Env env, String clu... method rollback (line 428) | public void rollback(Env env, long releaseId, String operator) { method rollbackTo (line 433) | public void rollbackTo(Env env, long releaseId, long toReleaseId, St... class CommitAPI (line 440) | @Service method find (line 443) | public List find(String appId, Env env, String clusterNam... method findByKey (line 453) | public List findByKey(String appId, Env env, String clust... class NamespaceLockAPI (line 464) | @Service method getNamespaceLockOwner (line 467) | public NamespaceLockDTO getNamespaceLockOwner(String appId, Env env,... class InstanceAPI (line 476) | @Service method getByRelease (line 483) | public PageDTO getByRelease(Env env, long releaseId, in... method getByReleasesNotIn (line 491) | public List getByReleasesNotIn(String appId, Env env, S... method getByNamespace (line 501) | public PageDTO getByNamespace(String appId, Env env, St... method getInstanceCountByNamespace (line 511) | public int getInstanceCountByNamespace(String appId, Env env, String... class NamespaceBranchAPI (line 523) | @Service method createBranch (line 526) | @ApolloAuditLog(type = OpType.RPC, name = "NamespaceBranch.createInR... method findBranch (line 534) | public NamespaceDTO findBranch(String appId, Env env, String cluster... method findBranchGrayRules (line 541) | public GrayReleaseRuleDTO findBranchGrayRules(String appId, Env env,... method updateBranchGrayRules (line 549) | @ApolloAuditLog(type = OpType.RPC, name = "NamespaceBranch.updateInR... method deleteBranch (line 558) | @ApolloAuditLog(type = OpType.RPC, name = "NamespaceBranch.deleteInR... class ReleaseHistoryAPI (line 567) | @Service method findReleaseHistoriesByNamespace (line 574) | public PageDTO findReleaseHistoriesByNamespace(St... method findByReleaseIdAndOperation (line 581) | public PageDTO findByReleaseIdAndOperation(Env en... method findByPreviousReleaseIdAndOperation (line 588) | public PageDTO findByPreviousReleaseIdAndOperatio... class ServerConfigAPI (line 596) | @Service method findAllConfigDBConfig (line 598) | public List findAllConfigDBConfig(Env env) { method createOrUpdateConfigDBConfig (line 603) | @ApolloAuditLog(type = OpType.RPC, name = "ServerConfig.createOrUpda... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/audit/ApolloAuditLogQueryApiPortalPreAuthorizer.java class ApolloAuditLogQueryApiPortalPreAuthorizer (line 24) | @Component("apolloAuditLogQueryApiPreAuthorizer") method ApolloAuditLogQueryApiPortalPreAuthorizer (line 30) | public ApolloAuditLogQueryApiPortalPreAuthorizer( method hasQueryPermission (line 35) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/audit/ApolloAuditOperatorPortalSupplier.java class ApolloAuditOperatorPortalSupplier (line 25) | @Component method ApolloAuditOperatorPortalSupplier (line 31) | public ApolloAuditOperatorPortalSupplier(ObjectProvider requiredPer... method normalizeEnv (line 113) | protected String normalizeEnv(String env) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/AdminServiceAddressLocator.java class AdminServiceAddressLocator (line 43) | @Component method AdminServiceAddressLocator (line 60) | public AdminServiceAddressLocator(final HttpMessageConverters httpMess... method init (line 69) | @PostConstruct method getServiceList (line 83) | public List getServiceList(Env env) { class RefreshAdminServerAddressTask (line 94) | private class RefreshAdminServerAddressTask implements Runnable { method run (line 96) | @Override method refreshServerAddressCache (line 115) | private boolean refreshServerAddressCache(Env env) { method getAdminServerAddress (line 138) | private ServiceDTO[] getAdminServerAddress(Env env) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/ConfigReleaseWebhookNotifier.java class ConfigReleaseWebhookNotifier (line 37) | @Component method ConfigReleaseWebhookNotifier (line 46) | public ConfigReleaseWebhookNotifier(RestTemplateFactory restTemplateFa... method init (line 50) | @PostConstruct method notify (line 56) | public void notify(String[] webHookUrls, Env env, ReleaseHistoryBO rel... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/ItemsComparator.java class ItemsComparator (line 32) | @Component method compareIgnoreBlankAndCommentItem (line 36) | public ItemChangeSets compareIgnoreBlankAndCommentItem(long baseNamesp... method filterBlankAndCommentItem (line 75) | private List filterBlankAndCommentItem(List items) { method copyItem (line 92) | private ItemDTO copyItem(ItemDTO sourceItem) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PermissionValidator.java type PermissionValidator (line 21) | public interface PermissionValidator { method hasModifyNamespacePermission (line 23) | boolean hasModifyNamespacePermission(String appId, String env, String ... method hasReleaseNamespacePermission (line 26) | boolean hasReleaseNamespacePermission(String appId, String env, String... method hasDeleteNamespacePermission (line 29) | default boolean hasDeleteNamespacePermission(String appId) { method hasOperateNamespacePermission (line 33) | default boolean hasOperateNamespacePermission(String appId, String env... method hasAssignRolePermission (line 39) | boolean hasAssignRolePermission(String appId); method hasCreateNamespacePermission (line 41) | boolean hasCreateNamespacePermission(String appId); method hasCreateAppNamespacePermission (line 43) | boolean hasCreateAppNamespacePermission(String appId, AppNamespace app... method hasCreateClusterPermission (line 45) | boolean hasCreateClusterPermission(String appId); method isAppAdmin (line 47) | default boolean isAppAdmin(String appId) { method isSuperAdmin (line 51) | boolean isSuperAdmin(); method shouldHideConfigToCurrentUser (line 53) | boolean shouldHideConfigToCurrentUser(String appId, String env, String... method hasCreateApplicationPermission (line 56) | boolean hasCreateApplicationPermission(); method hasCreateApplicationPermission (line 58) | boolean hasCreateApplicationPermission(String userId); method hasManageAppMasterPermission (line 60) | boolean hasManageAppMasterPermission(String appId); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PortalSettings.java class PortalSettings (line 42) | @Component method PortalSettings (line 57) | public PortalSettings(final ApplicationContext applicationContext, method postConstruct (line 64) | @PostConstruct method getAllEnvs (line 81) | public List getAllEnvs() { method getActiveEnvs (line 85) | public List getActiveEnvs() { method isEnvActive (line 95) | public boolean isEnvActive(Env env) { class HealthCheckTask (line 100) | private class HealthCheckTask implements Runnable { method HealthCheckTask (line 108) | public HealthCheckTask(ApplicationContext context) { method run (line 115) | @Override method isUp (line 145) | private boolean isUp(Env env) { method handleEnvDown (line 150) | private void handleEnvDown(Env env) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/RestTemplateFactory.java class RestTemplateFactory (line 34) | @Component method RestTemplateFactory (line 43) | public RestTemplateFactory(final HttpMessageConverters httpMessageConv... method getObject (line 51) | @Override method getObjectType (line 56) | @Override method isSingleton (line 61) | @Override method afterPropertiesSet (line 66) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/RetryableRestTemplate.java class RetryableRestTemplate (line 57) | @Component method RetryableRestTemplate (line 79) | public RetryableRestTemplate(final @Lazy RestTemplateFactory restTempl... method postConstruct (line 89) | @PostConstruct method get (line 94) | public T get(Env env, String path, Class responseType, Object..... method get (line 99) | public ResponseEntity get(Env env, String path, ParameterizedTy... method post (line 105) | public T post(Env env, String path, Object request, Class respo... method put (line 110) | public void put(Env env, String path, Object request, Object... urlVar... method delete (line 115) | public void delete(Env env, String path, Object... urlVariables) throw... method execute (line 119) | private T execute(HttpMethod method, Env env, String path, Object ... method exchangeGet (line 164) | private ResponseEntity exchangeGet(Env env, String path, method assembleExtraHeaders (line 210) | private HttpHeaders assembleExtraHeaders(Env env) { method getAdminServices (line 222) | private List getAdminServices(Env env, Transaction ct) { method getAdminServiceAccessToken (line 238) | private String getAdminServiceAccessToken(Env env) { method parseAdminServiceAccessTokens (line 255) | private Map parseAdminServiceAccessTokens(String accessTo... method doExecute (line 271) | private T doExecute(HttpMethod method, HttpHeaders extraHeaders, S... method parseHost (line 298) | private String parseHost(ServiceDTO serviceAddress) { method canRetry (line 305) | private boolean canRetry(Throwable e, HttpMethod method) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/UnifiedPermissionValidator.java class UnifiedPermissionValidator (line 24) | @Component("unifiedPermissionValidator") method UnifiedPermissionValidator (line 30) | public UnifiedPermissionValidator(UserPermissionValidator userPermissi... method getDelegate (line 36) | private PermissionValidator getDelegate() { method hasModifyNamespacePermission (line 47) | @Override method hasReleaseNamespacePermission (line 53) | @Override method hasAssignRolePermission (line 59) | @Override method hasCreateNamespacePermission (line 64) | @Override method hasCreateAppNamespacePermission (line 69) | @Override method hasCreateClusterPermission (line 74) | @Override method isSuperAdmin (line 79) | @Override method shouldHideConfigToCurrentUser (line 84) | @Override method hasCreateApplicationPermission (line 90) | @Override method hasCreateApplicationPermission (line 95) | @Override method hasDeleteNamespacePermission (line 100) | @Override method hasManageAppMasterPermission (line 105) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/UserIdentityContextHolder.java class UserIdentityContextHolder (line 19) | public final class UserIdentityContextHolder { method UserIdentityContextHolder (line 23) | private UserIdentityContextHolder() { method getAuthType (line 30) | public static String getAuthType() { method setAuthType (line 37) | public static void setAuthType(String authType) { method clear (line 44) | public static void clear() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidator.java class UserPermissionValidator (line 29) | @Component("userPermissionValidator") method UserPermissionValidator (line 39) | public UserPermissionValidator(final UserInfoHolder userInfoHolder, method hasCreateAppNamespacePermission (line 51) | @Override method isSuperAdmin (line 64) | @Override method shouldHideConfigToCurrentUser (line 69) | @Override method hasCreateApplicationPermission (line 91) | @Override method hasCreateApplicationPermission (line 97) | @Override method hasManageAppMasterPermission (line 102) | @Override method hasPermissions (line 110) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/config/PortalConfig.java class PortalConfig (line 41) | @Component method PortalConfig (line 68) | public PortalConfig(final PortalDBPropertySource portalDBPropertySourc... method getRefreshablePropertySources (line 72) | @Override method portalSupportedEnvs (line 80) | public List portalSupportedEnvs() { method getPerEnvSearchMaxResults (line 92) | public int getPerEnvSearchMaxResults() { method getMetaServers (line 99) | public Map getMetaServers() { method superAdmins (line 118) | public List superAdmins() { method emailSupportedEnvs (line 126) | public Set emailSupportedEnvs() { method webHookSupportedEnvs (line 141) | public Set webHookSupportedEnvs() { method isConfigViewMemberOnly (line 156) | public boolean isConfigViewMemberOnly(String env) { method connectTimeout (line 182) | public int connectTimeout() { method readTimeout (line 186) | public int readTimeout() { method connectionTimeToLive (line 190) | public int connectionTimeToLive() { method connectPoolMaxTotal (line 194) | public int connectPoolMaxTotal() { method connectPoolMaxPerRoute (line 198) | public int connectPoolMaxPerRoute() { method organizations (line 202) | public List organizations() { method portalAddress (line 209) | public String portalAddress() { method refreshAdminServerAddressTaskNormalIntervalSecond (line 213) | public int refreshAdminServerAddressTaskNormalIntervalSecond() { method refreshAdminServerAddressTaskOfflineIntervalSecond (line 220) | public int refreshAdminServerAddressTaskOfflineIntervalSecond() { method isEmergencyPublishAllowed (line 227) | public boolean isEmergencyPublishAllowed(Env env) { method publishTipsSupportedEnvs (line 245) | public Set publishTipsSupportedEnvs() { method consumerTokenSalt (line 260) | public String consumerTokenSalt() { method isEmailEnabled (line 264) | public boolean isEmailEnabled() { method emailConfigHost (line 268) | public String emailConfigHost() { method emailConfigUser (line 272) | public String emailConfigUser() { method emailConfigPassword (line 276) | public String emailConfigPassword() { method emailSender (line 280) | public String emailSender() { method emailTemplateFramework (line 288) | public String emailTemplateFramework() { method emailReleaseDiffModuleTemplate (line 292) | public String emailReleaseDiffModuleTemplate() { method emailRollbackDiffModuleTemplate (line 296) | public String emailRollbackDiffModuleTemplate() { method emailGrayRulesModuleTemplate (line 300) | public String emailGrayRulesModuleTemplate() { method wikiAddress (line 304) | public String wikiAddress() { method canAppAdminCreatePrivateNamespace (line 308) | public boolean canAppAdminCreatePrivateNamespace() { method isCreateApplicationPermissionEnabled (line 312) | public boolean isCreateApplicationPermissionEnabled() { method isManageAppMasterPermissionEnabled (line 316) | public boolean isManageAppMasterPermissionEnabled() { method getAdminServiceAccessTokens (line 320) | public String getAdminServiceAccessTokens() { method webHookUrls (line 324) | public String[] webHookUrls() { method supportSearchByItem (line 328) | public boolean supportSearchByItem() { method getUserPasswordNotAllowList (line 332) | public List getUserPasswordNotAllowList() { method checkInt (line 340) | private int checkInt(int value, int min, int max, int defaultValue) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/config/SpringSessionConfig.java class SpringSessionConfig (line 37) | @Configuration method springSessionConversionService (line 42) | @Bean("springSessionConversionService") method springSessionDefaultRedisSerializer (line 69) | @Bean("springSessionDefaultRedisSerializer") method objectMapper (line 80) | private ObjectMapper objectMapper() { method setBeanClassLoader (line 91) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/emailbuilder/ConfigPublishEmailBuilder.java class ConfigPublishEmailBuilder (line 52) | public abstract class ConfigPublishEmailBuilder { method subject (line 97) | protected abstract String subject(); method emailContent (line 102) | protected abstract String emailContent(Env env, ReleaseHistoryBO relea... method getTemplateFramework (line 107) | protected abstract String getTemplateFramework(); method getDiffModuleTemplate (line 112) | protected abstract String getDiffModuleTemplate(); method build (line 115) | public Email build(Env env, ReleaseHistoryBO releaseHistory) { method renderEmailCommonContent (line 133) | protected String renderEmailCommonContent(Env env, ReleaseHistoryBO re... method renderReleaseBasicInfo (line 140) | private String renderReleaseBasicInfo(String template, Env env, Releas... method renderDiffModule (line 179) | private String renderDiffModule(String bodyTemplate, Env env, ReleaseH... method getReleaseCompareResult (line 228) | private ReleaseCompareResult getReleaseCompareResult(Env env, ReleaseH... method recipients (line 244) | private List recipients(String appId, String namespaceName, St... method getApolloPortalAddress (line 293) | protected String getApolloPortalAddress() { method cutOffString (line 297) | private String cutOffString(String source) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/emailbuilder/GrayPublishEmailBuilder.java class GrayPublishEmailBuilder (line 35) | @Component method subject (line 43) | @Override method emailContent (line 48) | @Override method getTemplateFramework (line 54) | @Override method getDiffModuleTemplate (line 59) | @Override method renderGrayReleaseRuleContent (line 64) | private String renderGrayReleaseRuleContent(String bodyTemplate, FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/emailbuilder/MergeEmailBuilder.java class MergeEmailBuilder (line 26) | @Component method subject (line 32) | @Override method emailContent (line 37) | @Override method getTemplateFramework (line 42) | @Override method getDiffModuleTemplate (line 47) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/emailbuilder/NormalPublishEmailBuilder.java class NormalPublishEmailBuilder (line 26) | @Component method subject (line 32) | @Override method emailContent (line 37) | @Override method getTemplateFramework (line 42) | @Override method getDiffModuleTemplate (line 47) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/emailbuilder/RollbackEmailBuilder.java class RollbackEmailBuilder (line 26) | @Component method subject (line 32) | @Override method emailContent (line 37) | @Override method getTemplateFramework (line 42) | @Override method getDiffModuleTemplate (line 47) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/txtresolver/ConfigTextResolver.java type ConfigTextResolver (line 27) | public interface ConfigTextResolver { method resolve (line 29) | ItemChangeSets resolve(long namespaceId, String configText, List... method parseKeyValueFromItem (line 140) | private String[] parseKeyValueFromItem(String item) { method handleCommentLine (line 152) | private void handleCommentLine(Long namespaceId, ItemDTO oldItemByLine... method handleBlankLine (line 163) | private void handleBlankLine(Long namespaceId, ItemDTO oldItem, int li... method handleNormalLine (line 172) | private void handleNormalLine(Long namespaceId, Map k... method isCommentItem (line 198) | private boolean isCommentItem(ItemDTO item) { method isCommentItem (line 203) | private boolean isCommentItem(String line) { method isBlankItem (line 207) | private boolean isBlankItem(ItemDTO item) { method isBlankItem (line 211) | private boolean isBlankItem(String line) { method deleteNormalKVItem (line 215) | private void deleteNormalKVItem(Map baseKeyMapItem, I... method deleteCommentAndBlankItem (line 222) | private void deleteCommentAndBlankItem(List baseCommentItems, method buildCommentItem (line 228) | private ItemDTO buildCommentItem(Long id, Long namespaceId, String com... method buildBlankItem (line 232) | private ItemDTO buildBlankItem(Long id, Long namespaceId, int lineNum) { method buildNormalItem (line 236) | private ItemDTO buildNormalItem(Long id, Long namespaceId, String key,... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/constant/PermissionType.java type PermissionType (line 19) | public interface PermissionType { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/constant/RoleType.java class RoleType (line 19) | public class RoleType { method isValidRoleType (line 31) | public static boolean isValidRoleType(String roleType) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/constant/TracerEventType.java type TracerEventType (line 19) | public interface TracerEventType { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/constant/UserIdentityConstants.java class UserIdentityConstants (line 19) | public final class UserIdentityConstants { method UserIdentityConstants (line 25) | private UserIdentityConstants() {} FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/AccessKeyController.java class AccessKeyController (line 36) | @RestController method AccessKeyController (line 42) | public AccessKeyController(UserInfoHolder userInfoHolder, AccessKeySer... method save (line 47) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") method findByAppId (line 58) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") method delete (line 64) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") method enable (line 72) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") method disable (line 81) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/AppController.java class AppController (line 69) | @RestController method AppController (line 81) | public AppController(final UserInfoHolder userInfoHolder, final AppSer... method findApps (line 95) | @GetMapping method findAppsBySelf (line 103) | @GetMapping("/by-self") method create (line 123) | @PreAuthorize(value = "@unifiedPermissionValidator.hasCreateApplicatio... method update (line 132) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") method nav (line 147) | @GetMapping("/{appId}/navtree") method create (line 163) | @PostMapping(value = "/envs/{env}", consumes = {"application/json"}) method load (line 174) | @GetMapping("/{appId:.+}") method deleteApp (line 184) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method findMissEnvs (line 193) | @GetMapping("/{appId}/miss_envs") method transformToApp (line 214) | private App transformToApp(AppModel appModel) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ClusterController.java class ClusterController (line 36) | @RestController method ClusterController (line 42) | public ClusterController(final ClusterService clusterService, method createCluster (line 48) | @PreAuthorize(value = "@unifiedPermissionValidator.hasCreateClusterPer... method deleteCluster (line 60) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method loadCluster (line 69) | @GetMapping(value = "apps/{appId}/envs/{env}/clusters/{clusterName:.+}") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/CommitController.java class CommitController (line 36) | @Validated method CommitController (line 43) | public CommitController(final CommitService commitService, method find (line 49) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespace... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConfigsExportController.java class ConfigsExportController (line 53) | @RestController method ConfigsExportController (line 63) | public ConfigsExportController(final ConfigsExportService configsExpor... method exportItems (line 79) | @PreAuthorize( method exportAll (line 114) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method exportAppConfig (line 135) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConfigsImportController.java class ConfigsImportController (line 45) | @RestController method ConfigsImportController (line 52) | public ConfigsImportController(final ConfigsImportService configsImpor... method importConfigFile (line 63) | @PreAuthorize( method importConfigByZip (line 79) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method importAppConfigByZip (line 97) | @PreAuthorize(value = "@unifiedPermissionValidator.isAppAdmin(#appId)") method validateConflictAction (line 112) | private void validateConflictAction(String conflictAction) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ConsumerController.java class ConsumerController (line 42) | @RestController method ConsumerController (line 50) | public ConsumerController(final ConsumerService consumerService) { method convertToConsumer (line 54) | private Consumer convertToConsumer(ConsumerCreateRequestVO requestVO) { method create (line 64) | @Transactional method getConsumerTokenByAppId (line 105) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method getConsumerInfoByAppId (line 111) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method assignNamespaceRoleToConsumer (line 117) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method getConsumerList (line 163) | @GetMapping("/consumers") method deleteConsumers (line 169) | @DeleteMapping(value = "/consumers/by-appId") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/EnvController.java class EnvController (line 28) | @RestController method EnvController (line 34) | public EnvController(final PortalSettings portalSettings) { method envs (line 38) | @GetMapping FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/FavoriteController.java class FavoriteController (line 33) | @RestController method FavoriteController (line 38) | public FavoriteController(final FavoriteService favoriteService) { method addFavorite (line 43) | @PostMapping("/favorites") method findFavorites (line 49) | @GetMapping("/favorites") method deleteFavorite (line 57) | @DeleteMapping("/favorites/{favoriteId}") method toTop (line 63) | @PutMapping("/favorites/{favoriteId}") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/GlobalSearchController.java class GlobalSearchController (line 32) | @RestController method GlobalSearchController (line 37) | public GlobalSearchController(final GlobalSearchService globalSearchSe... method getItemInfoBySearch (line 43) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/InstanceController.java class InstanceController (line 37) | @RestController method InstanceController (line 45) | public InstanceController(final InstanceService instanceService) { method getByRelease (line 49) | @GetMapping("/envs/{env}/instances/by-release") method getByNamespace (line 56) | @GetMapping("/envs/{env}/instances/by-namespace") method getInstanceCountByNamespace (line 66) | @GetMapping("/envs/{env}/instances/by-namespace/count") method getByReleasesNotIn (line 76) | @GetMapping("/envs/{env}/instances/by-namespace-and-releases-not-in") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ItemController.java class ItemController (line 60) | @RestController method ItemController (line 68) | public ItemController(final ItemService configService, final UserInfoH... method modifyItemsByText (line 77) | @PreAuthorize( method createItem (line 93) | @PreAuthorize( method updateItem (line 113) | @PreAuthorize( method deleteItem (line 128) | @PreAuthorize( method findItems (line 147) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespace... method findBranchItems (line 173) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespace... method diff (line 182) | @PostMapping(value = "/namespaces/{namespaceName}/diff", consumes = {"... method update (line 207) | @PutMapping(value = "/apps/{appId}/namespaces/{namespaceName}/items", method syntaxCheckText (line 233) | @PreAuthorize( method revokeItems (line 247) | @PreAuthorize( method doSyntaxCheck (line 255) | void doSyntaxCheck(NamespaceTextModel model) { method isValidItem (line 277) | private boolean isValidItem(ItemDTO item) { class TypeLimitedYamlPropertiesFactoryBean (line 281) | private static class TypeLimitedYamlPropertiesFactoryBean extends Yaml... method createYaml (line 282) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceBranchController.java class NamespaceBranchController (line 45) | @RestController method NamespaceBranchController (line 55) | public NamespaceBranchController(final ReleaseService releaseService, method findBranch (line 66) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespace... method createBranch (line 80) | @PreAuthorize( method deleteBranch (line 91) | @DeleteMapping( method merge (line 120) | @PreAuthorize( method getBranchGrayRules (line 149) | @GetMapping( method updateBranchRules (line 160) | @PreAuthorize( FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceController.java class NamespaceController (line 68) | @RestController method NamespaceController (line 82) | public NamespaceController(final ApplicationEventPublisher publisher, method findPublicAppNamespaces (line 99) | @GetMapping("/appnamespaces/public") method findPublicAppNamespaceNames (line 104) | @GetMapping("/appnamespaces/public/names") method findNamespaces (line 109) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespaces") method findNamespace (line 126) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespace... method findPublicNamespaceForAssociatedNamespace (line 141) | @GetMapping("/envs/{env}/apps/{appId}/clusters/{clusterName}/namespace... method createNamespace (line 150) | @PreAuthorize(value = "@unifiedPermissionValidator.hasCreateNamespaceP... method deleteLinkedNamespace (line 181) | @PreAuthorize(value = "@unifiedPermissionValidator.hasDeleteNamespaceP... method findLinkedNamespaceUsage (line 193) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/linked-na... method findNamespaceUsage (line 202) | @GetMapping("/apps/{appId}/namespaces/{namespaceName}/usage") method deleteAppNamespace (line 208) | @PreAuthorize(value = "@unifiedPermissionValidator.hasDeleteNamespaceP... method findAppNamespace (line 221) | @GetMapping("/apps/{appId}/appnamespaces/{namespaceName:.+}") method createAppNamespace (line 233) | @PreAuthorize( method getNamespacesPublishInfo (line 266) | @GetMapping("/apps/{appId}/namespaces/publish_info") method getPublicAppNamespaceAllNamespaces (line 271) | @GetMapping("/envs/{env}/appnamespaces/{publicNamespaceName}/namespaces") method findMissingNamespaces (line 282) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/missing-n... method createMissingNamespaces (line 297) | @PostMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/missing-... method findMissingNamespaceNames (line 312) | private Set findMissingNamespaceNames(String appId, String env... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceLockController.java class NamespaceLockController (line 27) | @RestController method NamespaceLockController (line 32) | public NamespaceLockController(final NamespaceLockService namespaceLoc... method getNamespaceLock (line 36) | @Deprecated method getNamespaceLockInfo (line 46) | @GetMapping( FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/OrganizationController.java class OrganizationController (line 30) | @RestController method OrganizationController (line 36) | public OrganizationController(final PortalConfig portalConfig) { method loadOrganization (line 41) | @RequestMapping FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/PageSettingController.java class PageSettingController (line 24) | @RestController method PageSettingController (line 29) | public PageSettingController(final PortalConfig portalConfig) { method getPageSetting (line 33) | @GetMapping("/page-settings") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/PermissionController.java class PermissionController (line 52) | @RestController method PermissionController (line 62) | public PermissionController(final UserInfoHolder userInfoHolder, method initAppPermission (line 75) | @PostMapping("/apps/{appId}/initPermission") method initClusterNamespacePermission (line 83) | @PostMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/initNsPe... method hasPermission (line 92) | @GetMapping("/apps/{appId}/permissions/{permissionType}") method hasPermission (line 103) | @GetMapping("/apps/{appId}/namespaces/{namespaceName}/permissions/{per... method hasPermission (line 115) | @GetMapping("/apps/{appId}/envs/{env}/namespaces/{namespaceName}/permi... method hasClusterNamespacePermission (line 129) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/ns_permis... method hasRootPermission (line 143) | @GetMapping("/permissions/root") method getNamespaceEnvRoles (line 154) | @GetMapping("/apps/{appId}/envs/{env}/namespaces/{namespaceName}/role_... method assignNamespaceEnvRoleToUser (line 176) | @PreAuthorize(value = "@unifiedPermissionValidator.hasAssignRolePermis... method removeNamespaceEnvRoleFromUser (line 200) | @PreAuthorize(value = "@unifiedPermissionValidator.hasAssignRolePermis... method getClusterNamespaceRoles (line 218) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/ns_role_u... method assignClusterNamespaceRoleToUser (line 240) | @PreAuthorize(value = "@unifiedPermissionValidator.hasAssignRolePermis... method removeClusterNamespaceRoleFromUser (line 263) | @PreAuthorize(value = "@unifiedPermissionValidator.hasAssignRolePermis... method getNamespaceRoles (line 280) | @GetMapping("/apps/{appId}/namespaces/{namespaceName}/role_users") method assignNamespaceRoleToUser (line 299) | @PreAuthorize(value = "@unifiedPermissionValidator.hasAssignRolePermis... method removeNamespaceRoleFromUser (line 320) | @PreAuthorize(value = "@unifiedPermissionValidator.hasAssignRolePermis... method getAppRoles (line 337) | @GetMapping("/apps/{appId}/role_users") method assignAppRoleToUser (line 349) | @PreAuthorize(value = "@unifiedPermissionValidator.hasManageAppMasterP... method removeAppRoleFromUser (line 370) | @PreAuthorize(value = "@unifiedPermissionValidator.hasManageAppMasterP... method normalizeEnv (line 391) | private String normalizeEnv(String env) { method checkUserExists (line 399) | private void checkUserExists(String userId) { method addCreateApplicationRoleToUser (line 405) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method deleteCreateApplicationRoleFromUser (line 417) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method getCreateApplicationRoleUsers (line 430) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method hasCreateApplicationPermission (line 438) | @GetMapping("/system/role/createApplication/{userId}") method addManageAppMasterRoleToUser (line 446) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method forbidManageAppMaster (line 461) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method isManageAppMasterPermissionEnabled (line 476) | @GetMapping("/system/role/manageAppMaster") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/PrefixPathController.java class PrefixPathController (line 25) | @RestController method PrefixPathController (line 35) | public PrefixPathController(ServletContext servletContext) { method getPrefixPath (line 39) | @GetMapping("/prefix-path") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ReleaseController.java class ReleaseController (line 49) | @Validated method ReleaseController (line 59) | public ReleaseController(final ReleaseService releaseService, method createRelease (line 70) | @PreAuthorize( method createGrayRelease (line 97) | @PreAuthorize( method get (line 124) | @GetMapping("/envs/{env}/releases/{releaseId}") method findAllReleases (line 138) | @GetMapping( method findActiveReleases (line 155) | @GetMapping( method compareRelease (line 173) | @GetMapping(value = "/envs/{env}/releases/compare") method rollback (line 181) | @PutMapping(path = "/envs/{env}/releases/{releaseId}/rollback") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ReleaseHistoryController.java class ReleaseHistoryController (line 32) | @RestController method ReleaseHistoryController (line 38) | public ReleaseHistoryController(final ReleaseHistoryService releaseHis... method findReleaseHistoriesByNamespace (line 44) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}/namespace... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/SearchController.java class SearchController (line 42) | @RestController("/app") method SearchController (line 50) | public SearchController(final AppService appService, final PortalSetti... method search (line 58) | @GetMapping("/apps/search/by-appid-or-name") method searchByItem (line 79) | private PageDTO searchByItem(String itemKey, Pageable pageable) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ServerConfigController.java class ServerConfigController (line 37) | @RestController method ServerConfigController (line 41) | public ServerConfigController(final ServerConfigService serverConfigSe... method createOrUpdatePortalDBConfig (line 45) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method createOrUpdateConfigDBConfig (line 52) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method findAllPortalDBServerConfig (line 60) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method findAllConfigDBServerConfig (line 66) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/SignInController.java class SignInController (line 26) | @Controller method login (line 29) | @GetMapping("/signin") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/SsoHeartbeatController.java class SsoHeartbeatController (line 33) | @Controller method SsoHeartbeatController (line 38) | public SsoHeartbeatController(final SsoHeartbeatHandler handler) { method heartbeat (line 42) | @GetMapping FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/SystemInfoController.java class SystemInfoController (line 40) | @RestController method SystemInfoController (line 53) | public SystemInfoController(final PortalSettings portalSettings, method init (line 61) | @PostConstruct method getSystemInfo (line 66) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method checkHealth (line 87) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method adaptEnv2EnvironmentInfo (line 120) | private EnvironmentInfo adaptEnv2EnvironmentInfo(final Env env) { method getServerAddress (line 144) | private ServiceDTO[] getServerAddress(String metaServerAddress, String... method isValidVersion (line 149) | private boolean isValidVersion(String version) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/UserInfoController.java class UserInfoController (line 42) | @RestController method UserInfoController (line 52) | public UserInfoController(final UserInfoHolder userInfoHolder, final L... method createOrUpdateUser (line 62) | @PostMapping("/users") method changeUserEnabled (line 92) | @PreAuthorize(value = "@unifiedPermissionValidator.isSuperAdmin()") method getCurrentUserName (line 102) | @GetMapping("/user") method logout (line 107) | @GetMapping("/user/logout") method searchUsersByKeyword (line 112) | @GetMapping("/users") method getUserByUserId (line 121) | @GetMapping("/users/{userId}") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/enricher/AdditionalUserInfoEnricher.java type AdditionalUserInfoEnricher (line 26) | public interface AdditionalUserInfoEnricher { method enrichAdditionalUserInfo (line 34) | void enrichAdditionalUserInfo(UserInfoEnrichedAdapter adapter, Map getRecipients() { method getRecipientsString (line 40) | public String getRecipientsString() { method setRecipients (line 44) | public void setRecipients(List recipients) { method getSubject (line 48) | public String getSubject() { method setSubject (line 52) | public void setSubject(String subject) { method getBody (line 56) | public String getBody() { method setBody (line 60) | public void setBody(String body) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/ItemBO.java class ItemBO (line 21) | public class ItemBO { method getItem (line 29) | public ItemDTO getItem() { method setItem (line 33) | public void setItem(ItemDTO item) { method isDeleted (line 37) | public boolean isDeleted() { method setDeleted (line 41) | public void setDeleted(boolean deleted) { method isModified (line 45) | public boolean isModified() { method setModified (line 49) | public void setModified(boolean isModified) { method getOldValue (line 53) | public String getOldValue() { method setOldValue (line 57) | public void setOldValue(String oldValue) { method getNewValue (line 61) | public String getNewValue() { method setNewValue (line 65) | public void setNewValue(String newValue) { method isNewlyAdded (line 69) | public boolean isNewlyAdded() { method setNewlyAdded (line 73) | public void setNewlyAdded(boolean newlyAdded) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/KVEntity.java class KVEntity (line 19) | public class KVEntity { method KVEntity (line 24) | public KVEntity(String key, String value) { method getKey (line 29) | public String getKey() { method setKey (line 33) | public void setKey(String key) { method getValue (line 37) | public String getValue() { method setValue (line 41) | public void setValue(String value) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/NamespaceBO.java class NamespaceBO (line 23) | public class NamespaceBO { method getBaseInfo (line 34) | public NamespaceDTO getBaseInfo() { method setBaseInfo (line 38) | public void setBaseInfo(NamespaceDTO baseInfo) { method getItemModifiedCnt (line 42) | public int getItemModifiedCnt() { method setItemModifiedCnt (line 46) | public void setItemModifiedCnt(int itemModifiedCnt) { method getItems (line 50) | public List getItems() { method setItems (line 54) | public void setItems(List items) { method getFormat (line 58) | public String getFormat() { method setFormat (line 62) | public void setFormat(String format) { method isPublic (line 66) | public boolean isPublic() { method setPublic (line 70) | public void setPublic(boolean aPublic) { method getParentAppId (line 74) | public String getParentAppId() { method setParentAppId (line 78) | public void setParentAppId(String parentAppId) { method getComment (line 82) | public String getComment() { method setComment (line 86) | public void setComment(String comment) { method isConfigHidden (line 90) | public boolean isConfigHidden() { method setConfigHidden (line 94) | public void setConfigHidden(boolean hidden) { method hideItems (line 98) | public void hideItems() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/ReleaseBO.java class ReleaseBO (line 23) | public class ReleaseBO { method getBaseInfo (line 29) | public ReleaseDTO getBaseInfo() { method setBaseInfo (line 33) | public void setBaseInfo(ReleaseDTO baseInfo) { method getItems (line 37) | public Set getItems() { method setItems (line 41) | public void setItems(Set items) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/ReleaseHistoryBO.java class ReleaseHistoryBO (line 25) | public class ReleaseHistoryBO { method getId (line 62) | public long getId() { method setId (line 66) | public void setId(long id) { method getAppId (line 70) | public String getAppId() { method setAppId (line 74) | public void setAppId(String appId) { method getClusterName (line 78) | public String getClusterName() { method setClusterName (line 82) | public void setClusterName(String clusterName) { method getNamespaceName (line 86) | public String getNamespaceName() { method setNamespaceName (line 90) | public void setNamespaceName(String namespaceName) { method getBranchName (line 94) | public String getBranchName() { method setBranchName (line 98) | public void setBranchName(String branchName) { method getOperator (line 102) | public String getOperator() { method setOperator (line 106) | public void setOperator(String operator) { method getOperatorDisplayName (line 110) | public String getOperatorDisplayName() { method setOperatorDisplayName (line 114) | public void setOperatorDisplayName(String operatorDisplayName) { method getReleaseId (line 118) | public long getReleaseId() { method setReleaseId (line 122) | public void setReleaseId(long releaseId) { method getReleaseTitle (line 126) | public String getReleaseTitle() { method setReleaseTitle (line 130) | public void setReleaseTitle(String releaseTitle) { method getReleaseComment (line 134) | public String getReleaseComment() { method setReleaseComment (line 138) | public void setReleaseComment(String releaseComment) { method getReleaseTime (line 142) | public Date getReleaseTime() { method setReleaseTime (line 146) | public void setReleaseTime(Date releaseTime) { method getReleaseTimeFormatted (line 150) | public String getReleaseTimeFormatted() { method setReleaseTimeFormatted (line 154) | public void setReleaseTimeFormatted(String releaseTimeFormatted) { method getConfiguration (line 158) | public List> getConfiguration() { method setConfiguration (line 162) | public void setConfiguration(List> configuration) { method isReleaseAbandoned (line 166) | public boolean isReleaseAbandoned() { method setReleaseAbandoned (line 170) | public void setReleaseAbandoned(boolean releaseAbandoned) { method getPreviousReleaseId (line 174) | public long getPreviousReleaseId() { method setPreviousReleaseId (line 178) | public void setPreviousReleaseId(long previousReleaseId) { method getOperation (line 182) | public int getOperation() { method setOperation (line 186) | public void setOperation(int operation) { method getOperationContext (line 190) | public Map getOperationContext() { method setOperationContext (line 194) | public void setOperationContext(Map operationContext) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/UserInfo.java class UserInfo (line 19) | public class UserInfo { method UserInfo (line 26) | public UserInfo() { method UserInfo (line 30) | public UserInfo(String userId) { method getUserId (line 34) | public String getUserId() { method setUserId (line 38) | public void setUserId(String userId) { method getName (line 42) | public String getName() { method setName (line 46) | public void setName(String name) { method getEmail (line 50) | public String getEmail() { method setEmail (line 54) | public void setEmail(String email) { method getEnabled (line 58) | public int getEnabled() { method setEnabled (line 62) | public void setEnabled(int enabled) { method equals (line 66) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/AppModel.java class AppModel (line 25) | public class AppModel { method getName (line 46) | public String getName() { method setName (line 50) | public void setName(String name) { method getAppId (line 54) | public String getAppId() { method setAppId (line 58) | public void setAppId(String appId) { method getOrgId (line 62) | public String getOrgId() { method setOrgId (line 66) | public void setOrgId(String orgId) { method getOrgName (line 70) | public String getOrgName() { method setOrgName (line 74) | public void setOrgName(String orgName) { method getOwnerName (line 78) | public String getOwnerName() { method setOwnerName (line 82) | public void setOwnerName(String ownerName) { method getAdmins (line 86) | public Set getAdmins() { method setAdmins (line 90) | public void setAdmins(Set admins) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/NamespaceCreationModel.java class NamespaceCreationModel (line 22) | public class NamespaceCreationModel { method getEnv (line 28) | public String getEnv() { method setEnv (line 32) | public void setEnv(String env) { method getNamespace (line 36) | public NamespaceDTO getNamespace() { method setNamespace (line 40) | public void setNamespace(NamespaceDTO namespace) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/NamespaceGrayDelReleaseModel.java class NamespaceGrayDelReleaseModel (line 21) | public class NamespaceGrayDelReleaseModel extends NamespaceReleaseModel ... method getGrayDelKeys (line 24) | public Set getGrayDelKeys() { method setGrayDelKeys (line 28) | public void setGrayDelKeys(Set grayDelKeys) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/NamespaceReleaseModel.java class NamespaceReleaseModel (line 23) | public class NamespaceReleaseModel implements Verifiable { method isInvalid (line 34) | @Override method getAppId (line 39) | public String getAppId() { method setAppId (line 43) | public void setAppId(String appId) { method getEnv (line 47) | public Env getEnv() { method setEnv (line 51) | public void setEnv(String env) { method getClusterName (line 55) | public String getClusterName() { method setClusterName (line 59) | public void setClusterName(String clusterName) { method getNamespaceName (line 63) | public String getNamespaceName() { method setNamespaceName (line 67) | public void setNamespaceName(String namespaceName) { method getReleaseTitle (line 71) | public String getReleaseTitle() { method setReleaseTitle (line 75) | public void setReleaseTitle(String releaseTitle) { method getReleaseComment (line 79) | public String getReleaseComment() { method setReleaseComment (line 83) | public void setReleaseComment(String releaseComment) { method getReleasedBy (line 87) | public String getReleasedBy() { method setReleasedBy (line 91) | public void setReleasedBy(String releasedBy) { method isEmergencyPublish (line 95) | public boolean isEmergencyPublish() { method setEmergencyPublish (line 99) | public void setEmergencyPublish(boolean emergencyPublish) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/NamespaceSyncModel.java class NamespaceSyncModel (line 26) | public class NamespaceSyncModel implements Verifiable { method isInvalid (line 31) | @Override method syncToNamespacesValid (line 44) | public boolean syncToNamespacesValid(String appId, String namespaceNam... method getSyncToNamespaces (line 55) | public List getSyncToNamespaces() { method setSyncToNamespaces (line 59) | public void setSyncToNamespaces(List syncToNamesp... method getSyncItems (line 63) | public List getSyncItems() { method setSyncItems (line 67) | public void setSyncItems(List syncItems) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/NamespaceTextModel.java class NamespaceTextModel (line 24) | public class NamespaceTextModel implements Verifiable { method isInvalid (line 36) | @Override method getAppId (line 41) | public String getAppId() { method setAppId (line 45) | public void setAppId(String appId) { method getEnv (line 49) | public Env getEnv() { method setEnv (line 53) | public void setEnv(String env) { method getClusterName (line 57) | public String getClusterName() { method setClusterName (line 61) | public void setClusterName(String clusterName) { method getNamespaceName (line 65) | public String getNamespaceName() { method setNamespaceName (line 69) | public void setNamespaceName(String namespaceName) { method getNamespaceId (line 73) | public long getNamespaceId() { method setNamespaceId (line 77) | public void setNamespaceId(long namespaceId) { method getConfigText (line 81) | public String getConfigText() { method setConfigText (line 85) | public void setConfigText(String configText) { method getFormat (line 89) | public ConfigFileFormat getFormat() { method setFormat (line 93) | public void setFormat(String format) { method getOperator (line 97) | public String getOperator() { method setOperator (line 101) | public void setOperator(String operator) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/model/Verifiable.java type Verifiable (line 19) | public interface Verifiable { method isInvalid (line 21) | boolean isInvalid(); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/Authority.java class Authority (line 31) | @Entity method getId (line 44) | public long getId() { method setId (line 48) | public void setId(long id) { method getUsername (line 52) | public String getUsername() { method setUsername (line 56) | public void setUsername(String username) { method getAuthority (line 60) | public String getAuthority() { method setAuthority (line 64) | public void setAuthority(String authority) { method toString (line 68) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/Favorite.java class Favorite (line 28) | @Entity method getAppId (line 44) | public String getAppId() { method setAppId (line 48) | public void setAppId(String appId) { method getUserId (line 52) | public String getUserId() { method setUserId (line 56) | public void setUserId(String userId) { method getPosition (line 60) | public long getPosition() { method setPosition (line 64) | public void setPosition(long position) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/Permission.java class Permission (line 30) | @Entity method Permission (line 43) | public Permission() {} method Permission (line 45) | public Permission(String permissionType, String targetId) { method getPermissionType (line 50) | public String getPermissionType() { method setPermissionType (line 54) | public void setPermissionType(String permissionType) { method getTargetId (line 58) | public String getTargetId() { method setTargetId (line 62) | public void setTargetId(String targetId) { method equals (line 66) | @Override method hashCode (line 79) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/Role.java class Role (line 33) | @Entity method getRoleName (line 44) | public String getRoleName() { method setRoleName (line 48) | public void setRoleName(String roleName) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/RolePermission.java class RolePermission (line 31) | @Entity method getRoleId (line 43) | public long getRoleId() { method setRoleId (line 47) | public void setRoleId(long roleId) { method getPermissionId (line 51) | public long getPermissionId() { method setPermissionId (line 55) | public void setPermissionId(long permissionId) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/ServerConfig.java class ServerConfig (line 34) | @Entity method getKey (line 54) | public String getKey() { method setKey (line 58) | public void setKey(String key) { method getValue (line 62) | public String getValue() { method setValue (line 66) | public void setValue(String value) { method getComment (line 70) | public String getComment() { method setComment (line 74) | public void setComment(String comment) { method toString (line 78) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/UserPO.java class UserPO (line 31) | @Entity method getId (line 50) | public long getId() { method setId (line 54) | public void setId(long id) { method getUsername (line 58) | public String getUsername() { method setUsername (line 62) | public void setUsername(String username) { method getUserDisplayName (line 66) | public String getUserDisplayName() { method setUserDisplayName (line 70) | public void setUserDisplayName(String userDisplayName) { method getEmail (line 74) | public String getEmail() { method setEmail (line 78) | public void setEmail(String email) { method getPassword (line 82) | public String getPassword() { method setPassword (line 86) | public void setPassword(String password) { method getEnabled (line 90) | public int getEnabled() { method setEnabled (line 94) | public void setEnabled(int enabled) { method toUserInfo (line 98) | public UserInfo toUserInfo() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/UserRole.java class UserRole (line 33) | @Entity method getUserId (line 48) | public String getUserId() { method setUserId (line 52) | public void setUserId(String userId) { method getRoleId (line 56) | public long getRoleId() { method setRoleId (line 60) | public void setRoleId(long roleId) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/AppRolesAssignedUsers.java class AppRolesAssignedUsers (line 23) | public class AppRolesAssignedUsers { method getAppId (line 28) | public String getAppId() { method setAppId (line 32) | public void setAppId(String appId) { method getMasterUsers (line 36) | public Set getMasterUsers() { method setMasterUsers (line 40) | public void setMasterUsers(Set masterUsers) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/Change.java class Change (line 23) | public class Change { method Change (line 28) | public Change(ChangeType type, EntityPair entity) { method getType (line 33) | public ChangeType getType() { method setType (line 37) | public void setType(ChangeType type) { method getEntity (line 41) | public EntityPair getEntity() { method setEntity (line 45) | public void setEntity(EntityPair entity) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/ClusterNamespaceRolesAssignedUsers.java class ClusterNamespaceRolesAssignedUsers (line 22) | public class ClusterNamespaceRolesAssignedUsers { method getEnv (line 30) | public String getEnv() { method setEnv (line 34) | public void setEnv(String env) { method getAppId (line 38) | public String getAppId() { method setAppId (line 42) | public void setAppId(String appId) { method getCluster (line 46) | public String getCluster() { method setCluster (line 50) | public void setCluster(String cluster) { method getModifyRoleUsers (line 54) | public Set getModifyRoleUsers() { method setModifyRoleUsers (line 58) | public void setModifyRoleUsers(Set modifyRoleUsers) { method getReleaseRoleUsers (line 62) | public Set getReleaseRoleUsers() { method setReleaseRoleUsers (line 66) | public void setReleaseRoleUsers(Set releaseRoleUsers) { method toString (line 70) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/EnvClusterInfo.java class EnvClusterInfo (line 24) | public class EnvClusterInfo { method EnvClusterInfo (line 28) | public EnvClusterInfo(Env env) { method getEnv (line 32) | public Env getEnv() { method setEnv (line 36) | public void setEnv(Env env) { method getClusters (line 40) | public List getClusters() { method setClusters (line 44) | public void setClusters(List clusters) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/EnvironmentInfo.java class EnvironmentInfo (line 22) | public class EnvironmentInfo { method getEnv (line 33) | public Env getEnv() { method setEnv (line 37) | public void setEnv(Env env) { method isActive (line 41) | public boolean isActive() { method setActive (line 45) | public void setActive(boolean active) { method getMetaServerAddress (line 49) | public String getMetaServerAddress() { method setMetaServerAddress (line 53) | public void setMetaServerAddress(String metaServerAddress) { method getConfigServices (line 57) | public ServiceDTO[] getConfigServices() { method setConfigServices (line 61) | public void setConfigServices(ServiceDTO[] configServices) { method getAdminServices (line 65) | public ServiceDTO[] getAdminServices() { method setAdminServices (line 69) | public void setAdminServices(ServiceDTO[] adminServices) { method getErrorMessage (line 73) | public String getErrorMessage() { method setErrorMessage (line 77) | public void setErrorMessage(String errorMessage) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/ItemDiffs.java class ItemDiffs (line 21) | public class ItemDiffs { method ItemDiffs (line 26) | public ItemDiffs(NamespaceIdentifier namespace) { method getNamespace (line 30) | public NamespaceIdentifier getNamespace() { method setNamespace (line 34) | public void setNamespace(NamespaceIdentifier namespace) { method getDiffs (line 38) | public ItemChangeSets getDiffs() { method setDiffs (line 42) | public void setDiffs(ItemChangeSets diffs) { method getExtInfo (line 46) | public String getExtInfo() { method setExtInfo (line 50) | public void setExtInfo(String extInfo) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/ItemInfo.java class ItemInfo (line 19) | public class ItemInfo { method ItemInfo (line 28) | public ItemInfo() {} method ItemInfo (line 30) | public ItemInfo(String appId, String envName, String clusterName, Stri... method getAppId (line 40) | public String getAppId() { method setAppId (line 44) | public void setAppId(String appId) { method getEnvName (line 48) | public String getEnvName() { method setEnvName (line 52) | public void setEnvName(String envName) { method getClusterName (line 56) | public String getClusterName() { method setClusterName (line 60) | public void setClusterName(String clusterName) { method getNamespaceName (line 64) | public String getNamespaceName() { method setNamespaceName (line 68) | public void setNamespaceName(String namespaceName) { method getKey (line 72) | public String getKey() { method setKey (line 76) | public void setKey(String key) { method getValue (line 80) | public String getValue() { method setValue (line 84) | public void setValue(String value) { method toString (line 88) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/LockInfo.java class LockInfo (line 19) | public class LockInfo { method getLockOwner (line 24) | public String getLockOwner() { method setLockOwner (line 28) | public void setLockOwner(String lockOwner) { method isEmergencyPublishAllowed (line 32) | public boolean isEmergencyPublishAllowed() { method setEmergencyPublishAllowed (line 36) | public void setEmergencyPublishAllowed(boolean emergencyPublishAllowed) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/NamespaceEnvRolesAssignedUsers.java class NamespaceEnvRolesAssignedUsers (line 21) | public class NamespaceEnvRolesAssignedUsers extends NamespaceRolesAssign... method getEnv (line 24) | public Env getEnv() { method setEnv (line 28) | public void setEnv(Env env) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/NamespaceIdentifier.java class NamespaceIdentifier (line 23) | public class NamespaceIdentifier implements Verifiable { method getAppId (line 29) | public String getAppId() { method setAppId (line 33) | public void setAppId(String appId) { method getEnv (line 37) | public Env getEnv() { method setEnv (line 41) | public void setEnv(String env) { method getClusterName (line 45) | public String getClusterName() { method setClusterName (line 49) | public void setClusterName(String clusterName) { method getNamespaceName (line 53) | public String getNamespaceName() { method setNamespaceName (line 57) | public void setNamespaceName(String namespaceName) { method isInvalid (line 62) | @Override method toString (line 67) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/NamespaceRolesAssignedUsers.java class NamespaceRolesAssignedUsers (line 23) | public class NamespaceRolesAssignedUsers { method getAppId (line 31) | public String getAppId() { method setAppId (line 35) | public void setAppId(String appId) { method getNamespaceName (line 39) | public String getNamespaceName() { method setNamespaceName (line 43) | public void setNamespaceName(String namespaceName) { method getModifyRoleUsers (line 47) | public Set getModifyRoleUsers() { method setModifyRoleUsers (line 51) | public void setModifyRoleUsers(Set modifyRoleUsers) { method getReleaseRoleUsers (line 55) | public Set getReleaseRoleUsers() { method setReleaseRoleUsers (line 59) | public void setReleaseRoleUsers(Set releaseRoleUsers) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/NamespaceUsage.java class NamespaceUsage (line 23) | public class NamespaceUsage { method NamespaceUsage (line 34) | public NamespaceUsage() {} method NamespaceUsage (line 36) | public NamespaceUsage(String namespaceName, String appId, String clust... method getNamespaceName (line 43) | public String getNamespaceName() { method setNamespaceName (line 47) | public void setNamespaceName(String namespaceName) { method getAppId (line 51) | public String getAppId() { method setAppId (line 55) | public void setAppId(String appId) { method getClusterName (line 59) | public String getClusterName() { method setClusterName (line 63) | public void setClusterName(String clusterName) { method getEnvName (line 67) | public String getEnvName() { method setEnvName (line 71) | public void setEnvName(String envName) { method getInstanceCount (line 75) | public int getInstanceCount() { method setInstanceCount (line 79) | public void setInstanceCount(int instanceCount) { method getBranchInstanceCount (line 83) | public int getBranchInstanceCount() { method setBranchInstanceCount (line 87) | public void setBranchInstanceCount(int branchInstanceCount) { method getLinkedNamespaceCount (line 91) | public int getLinkedNamespaceCount() { method setLinkedNamespaceCount (line 95) | public void setLinkedNamespaceCount(int linkedNamespaceCount) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/Number.java class Number (line 19) | public class Number { method Number (line 22) | public Number(int num) { method getNum (line 26) | public int getNum() { method setNum (line 30) | public void setNum(int num) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/Organization.java class Organization (line 22) | public class Organization { method getOrgId (line 26) | public String getOrgId() { method setOrgId (line 30) | public void setOrgId(String orgId) { method getOrgName (line 34) | public String getOrgName() { method setOrgName (line 38) | public void setOrgName(String orgName) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/PageSetting.java class PageSetting (line 19) | public class PageSetting { method getWikiAddress (line 25) | public String getWikiAddress() { method setWikiAddress (line 29) | public void setWikiAddress(String wikiAddress) { method isCanAppAdminCreatePrivateNamespace (line 33) | public boolean isCanAppAdminCreatePrivateNamespace() { method setCanAppAdminCreatePrivateNamespace (line 37) | public void setCanAppAdminCreatePrivateNamespace(boolean canAppAdminCr... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/PermissionCondition.java class PermissionCondition (line 19) | public class PermissionCondition { method hasPermission (line 23) | public boolean hasPermission() { method setHasPermission (line 27) | public void setHasPermission(boolean hasPermission) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/ReleaseCompareResult.java class ReleaseCompareResult (line 26) | public class ReleaseCompareResult { method addEntityPair (line 30) | public void addEntityPair(ChangeType type, KVEntity firstEntity, KVEnt... method hasContent (line 34) | public boolean hasContent() { method getChanges (line 38) | public List getChanges() { method setChanges (line 42) | public void setChanges(List changes) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/SystemInfo.java class SystemInfo (line 22) | public class SystemInfo { method getVersion (line 28) | public String getVersion() { method setVersion (line 32) | public void setVersion(String version) { method getEnvironments (line 36) | public List getEnvironments() { method addEnvironment (line 40) | public void addEnvironment(EnvironmentInfo environment) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/consumer/ConsumerCreateRequestVO.java class ConsumerCreateRequestVO (line 22) | public class ConsumerCreateRequestVO { method getAppId (line 32) | public String getAppId() { method setAppId (line 36) | public void setAppId(String appId) { method isAllowCreateApplication (line 40) | public boolean isAllowCreateApplication() { method setAllowCreateApplication (line 44) | public void setAllowCreateApplication(boolean allowCreateApplication) { method getName (line 48) | public String getName() { method setName (line 52) | public void setName(String name) { method getOrgId (line 56) | public String getOrgId() { method setOrgId (line 60) | public void setOrgId(String orgId) { method getOrgName (line 64) | public String getOrgName() { method setOrgName (line 68) | public void setOrgName(String orgName) { method getOwnerName (line 72) | public String getOwnerName() { method setOwnerName (line 76) | public void setOwnerName(String ownerName) { method isRateLimitEnabled (line 80) | public boolean isRateLimitEnabled() { method setRateLimitEnabled (line 84) | public void setRateLimitEnabled(boolean rateLimitEnabled) { method getRateLimit (line 88) | public int getRateLimit() { method setRateLimit (line 92) | public void setRateLimit(int rateLimit) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/consumer/ConsumerInfo.java class ConsumerInfo (line 23) | public class ConsumerInfo { method getAppId (line 38) | public String getAppId() { method setAppId (line 42) | public void setAppId(String appId) { method getName (line 46) | public String getName() { method setName (line 50) | public void setName(String name) { method getOrgId (line 54) | public String getOrgId() { method setOrgId (line 58) | public void setOrgId(String orgId) { method getOrgName (line 62) | public String getOrgName() { method setOrgName (line 66) | public void setOrgName(String orgName) { method getOwnerName (line 70) | public String getOwnerName() { method setOwnerName (line 74) | public void setOwnerName(String ownerName) { method getOwnerEmail (line 78) | public String getOwnerEmail() { method setOwnerEmail (line 82) | public void setOwnerEmail(String ownerEmail) { method getConsumerId (line 86) | public long getConsumerId() { method setConsumerId (line 90) | public void setConsumerId(long consumerId) { method getToken (line 94) | public String getToken() { method setToken (line 98) | public void setToken(String token) { method isAllowCreateApplication (line 102) | public boolean isAllowCreateApplication() { method setAllowCreateApplication (line 106) | public void setAllowCreateApplication(boolean allowCreateApplication) { method getRateLimit (line 110) | public Integer getRateLimit() { method setRateLimit (line 114) | public void setRateLimit(Integer rateLimit) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/enums/ChangeType.java type ChangeType (line 19) | public enum ChangeType { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/DatabasePortalMetaServerProvider.java class DatabasePortalMetaServerProvider (line 28) | class DatabasePortalMetaServerProvider implements PortalMetaServerProvid... method DatabasePortalMetaServerProvider (line 39) | DatabasePortalMetaServerProvider(final PortalConfig portalConfig) { method getMetaServerAddress (line 44) | @Override method exists (line 49) | @Override method reload (line 54) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/DefaultPortalMetaServerProvider.java class DefaultPortalMetaServerProvider (line 40) | class DefaultPortalMetaServerProvider implements PortalMetaServerProvider { method DefaultPortalMetaServerProvider (line 53) | DefaultPortalMetaServerProvider() { method getMetaServerAddress (line 57) | @Override method exists (line 63) | @Override method reload (line 68) | @Override method initializeDomains (line 79) | private Map initializeDomains() { method getDomainsFromSystemProperty (line 92) | private Map getDomainsFromSystemProperty() { method getDomainsFromOSEnvironment (line 102) | private Map getDomainsFromOSEnvironment() { method getDomainsFromPropertiesFile (line 112) | private Map getDomainsFromPropertiesFile() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/Env.java class Env (line 34) | public class Env { method Env (line 66) | private Env(String name) { method getWellFormName (line 76) | private static String getWellFormName(String envName) { method transformEnv (line 102) | public static Env transformEnv(String envName) { method exists (line 118) | public static boolean exists(String name) { method addEnvironment (line 129) | public static Env addEnvironment(String name) { method valueOf (line 153) | public static Env valueOf(String name) { method fromString (line 168) | @Deprecated method transformToEnvMap (line 181) | static Map transformToEnvMap(Map metaServ... method equals (line 203) | @Override method hashCode (line 219) | @Override method toString (line 229) | @Override method getName (line 234) | public String getName() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/PortalMetaDomainService.java class PortalMetaDomainService (line 48) | @Service method PortalMetaDomainService (line 67) | PortalMetaDomainService(final PortalConfig portalConfig) { method getDomain (line 78) | public String getDomain(Env env) { method getMetaServerAddress (line 90) | public String getMetaServerAddress(Env env) { method getMetaServerAddressCacheValue (line 110) | private String getMetaServerAddressCacheValue(Collection findByNameAndIsPublic(String namespaceName, boolean... method findByIsPublicTrue (line 34) | List findByIsPublicTrue(); method findNamesByIsPublicTrue (line 36) | @Query("SELECT a.name FROM AppNamespace a WHERE a.isPublic = true AND ... method findByAppId (line 39) | List findByAppId(String appId); method batchDeleteByAppId (line 41) | @Modifying method delete (line 47) | @Modifying FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/AppRepository.java type AppRepository (line 32) | public interface AppRepository extends JpaRepository { method findByAppId (line 34) | App findByAppId(String appId); method findByOwnerName (line 36) | List findByOwnerName(String ownerName, Pageable page); method findByAppIdIn (line 38) | List findByAppIdIn(Set appIds); method findByAppIdIn (line 40) | List findByAppIdIn(Set appIds, Pageable pageable); method findByAppIdContainingOrNameContaining (line 42) | Page findByAppIdContainingOrNameContaining(String appId, String n... method deleteApp (line 44) | @Modifying FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/AuthorityRepository.java type AuthorityRepository (line 26) | public interface AuthorityRepository extends JpaRepository { method findByUserIdOrderByPositionAscDataChangeCreatedTimeAsc (line 31) | List findByUserIdOrderByPositionAscDataChangeCreatedTimeAsc(... method findByAppIdOrderByPositionAscDataChangeCreatedTimeAsc (line 34) | List findByAppIdOrderByPositionAscDataChangeCreatedTimeAsc(S... method findFirstByUserIdOrderByPositionAscDataChangeCreatedTimeAsc (line 36) | Favorite findFirstByUserIdOrderByPositionAscDataChangeCreatedTimeAsc(S... method findByUserIdAndAppId (line 38) | Favorite findByUserIdAndAppId(String userId, String appId); method batchDeleteByAppId (line 40) | @Modifying FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/PermissionRepository.java type PermissionRepository (line 30) | public interface PermissionRepository extends JpaRepository findByPermissionTypeInAndTargetId(Collection ... method findPermissionIdsByAppId (line 43) | @Query("SELECT p.id from Permission p where p.targetId like ?1 or p.ta... method findPermissionIdsByAppIdAndNamespace (line 46) | @Query("SELECT p.id from Permission p " + "where (" method batchDelete (line 52) | @Modifying method findPermissionIdsByAppIdAndEnvAndCluster (line 59) | @Query("SELECT p.id from Permission p where p.targetId = CONCAT(?1, '+... method findUserPermissions (line 63) | @Query("SELECT DISTINCT p " + "FROM UserRole ur " method findConsumerPermissions (line 69) | @Query("SELECT DISTINCT p " + "FROM ConsumerRole cr " FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/RolePermissionRepository.java type RolePermissionRepository (line 32) | public interface RolePermissionRepository extends JpaRepository findByRoleIdIn(Collection roleId); method batchDeleteByPermissionIds (line 39) | @Modifying FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/RoleRepository.java type RoleRepository (line 29) | public interface RoleRepository extends JpaRepository { method findTopByRoleName (line 34) | Role findTopByRoleName(String roleName); method findRoleIdsByAppId (line 36) | @Query("SELECT r.id from Role r where r.roleName like CONCAT('Master+'... method findRoleIdsByAppIdAndNamespace (line 44) | @Query("SELECT r.id from Role r where r.roleName like CONCAT('ModifyNa... method batchDelete (line 50) | @Modifying method findRoleIdsByCluster (line 56) | @Query("SELECT r.id from Role r where r.roleName = CONCAT('ModifyNames... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/ServerConfigRepository.java type ServerConfigRepository (line 24) | public interface ServerConfigRepository extends JpaRepository { method findFirst20ByEnabled (line 30) | List findFirst20ByEnabled(int enabled); method findByUsernameLikeAndEnabled (line 32) | List findByUsernameLikeAndEnabled(String username, int enabled); method findByUsernameLike (line 34) | List findByUsernameLike(String username); method findByUserDisplayNameLikeAndEnabled (line 36) | List findByUserDisplayNameLikeAndEnabled(String userDisplayNam... method findByUserDisplayNameLike (line 38) | List findByUserDisplayNameLike(String userDisplayName); method findByUsername (line 40) | UserPO findByUsername(String username); method findByUsernameIn (line 42) | List findByUsernameIn(List userNames); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/UserRoleRepository.java type UserRoleRepository (line 32) | public interface UserRoleRepository extends JpaRepository { method findByUserId (line 36) | List findByUserId(String userId); method findByRoleId (line 41) | List findByRoleId(long roleId); method findByUserIdInAndRoleId (line 46) | List findByUserIdInAndRoleId(Collection userId, long... method batchDeleteByRoleIds (line 48) | @Modifying FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AccessKeyService.java class AccessKeyService (line 29) | @Service method AccessKeyService (line 34) | public AccessKeyService(AccessKeyAPI accessKeyAPI) { method findByAppId (line 38) | public List findByAppId(Env env, String appId) { method createAccessKey (line 42) | public AccessKeyDTO createAccessKey(Env env, AccessKeyDTO accessKey) { method deleteAccessKey (line 48) | public void deleteAccessKey(Env env, String appId, long id, String ope... method enable (line 52) | public void enable(Env env, String appId, long id, int mode, String op... method disable (line 56) | public void disable(Env env, String appId, long id, String operator) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AdditionalUserInfoEnrichService.java type AdditionalUserInfoEnrichService (line 26) | public interface AdditionalUserInfoEnrichService { method enrichAdditionalUserInfo (line 34) | void enrichAdditionalUserInfo(List list, FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AdditionalUserInfoEnrichServiceImpl.java class AdditionalUserInfoEnrichServiceImpl (line 37) | @Service method AdditionalUserInfoEnrichServiceImpl (line 44) | public AdditionalUserInfoEnrichServiceImpl(UserService userService, method enrichAdditionalUserInfo (line 50) | @Override method adapt (line 80) | private List adapt(List dtoL... method extractOperatorId (line 93) | private Set extractOperatorId(List findPublicAppNamespaces() { method findPublicAppNamespaceNames (line 73) | public List findPublicAppNamespaceNames() { method findPublicAppNamespace (line 77) | public AppNamespace findPublicAppNamespace(String namespaceName) { method findAllPrivateAppNamespaces (line 88) | private List findAllPrivateAppNamespaces(String namespac... method findByAppIdAndName (line 92) | public AppNamespace findByAppIdAndName(String appId, String namespaceN... method findByAppId (line 96) | public List findByAppId(String appId) { method findAll (line 100) | public List findAll() { method createDefaultAppNamespace (line 105) | @ApolloAuditLog(type = OpType.CREATE, name = "AppNamespace.create", method isAppNamespaceNameUnique (line 125) | public boolean isAppNamespaceNameUnique(String appId, String namespace... method createAppNamespaceInLocal (line 131) | @Transactional method createAppNamespaceInLocal (line 136) | @Transactional method importAppNamespaceInLocal (line 199) | @Transactional method checkAppNamespaceGlobalUniqueness (line 227) | private void checkAppNamespaceGlobalUniqueness(AppNamespace appNamespa... method checkPublicAppNamespaceGlobalUniqueness (line 247) | private void checkPublicAppNamespaceGlobalUniqueness(AppNamespace appN... method deleteAppNamespace (line 255) | @ApolloAuditLog(type = OpType.DELETE, name = "AppNamespace.delete", method batchDeleteByAppId (line 279) | @ApolloAuditLog(type = OpType.DELETE, name = "AppNamespace.batchDelete... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AppService.java class AppService (line 54) | @Service method AppService (line 71) | public AppService(final UserInfoHolder userInfoHolder, final AppAPI ap... method findAll (line 93) | public List findAll() { method findAll (line 99) | public PageDTO findAll(Pageable pageable) { method searchByAppIdOrAppName (line 105) | public PageDTO searchByAppIdOrAppName(String query, Pageable page... method findByAppIds (line 111) | public List findByAppIds(Set appIds) { method findByAppIds (line 115) | public List findByAppIds(Set appIds, Pageable pageable) { method findByOwnerName (line 119) | public List findByOwnerName(String ownerName, Pageable page) { method load (line 123) | public App load(String appId) { method load (line 127) | public AppDTO load(Env env, String appId) { method createAppInRemote (line 131) | public void createAppInRemote(Env env, App app) { method createAppInLocal (line 145) | private App createAppInLocal(App app) { method createAppAndAddRolePermission (line 178) | @Transactional method importAppInLocal (line 194) | @Transactional method updateAppInLocal (line 213) | @Transactional method createEnvNavNode (line 241) | public EnvClusterInfo createEnvNavNode(Env env, String appId) { method deleteAppInLocal (line 247) | @Transactional FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ClusterService.java class ClusterService (line 30) | @Service method ClusterService (line 38) | public ClusterService(final UserInfoHolder userInfoHolder, method findClusters (line 48) | public List findClusters(Env env, String appId) { method createCluster (line 52) | public ClusterDTO createCluster(Env env, ClusterDTO cluster) { method deleteCluster (line 66) | public void deleteCluster(Env env, String appId, String clusterName) { method loadCluster (line 73) | public ClusterDTO loadCluster(String appId, Env env, String clusterNam... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/CommitService.java class CommitService (line 27) | @Service method CommitService (line 34) | public CommitService(final AdminServiceAPI.CommitAPI commitAPI, method find (line 40) | public List find(String appId, Env env, String clusterName,... method findByKey (line 48) | public List findByKey(String appId, Env env, String cluster... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ConfigsExportService.java class ConfigsExportService (line 52) | @Service method ConfigsExportService (line 71) | public ConfigsExportService(AppService appService, ClusterService clus... method exportData (line 95) | public void exportData(OutputStream outputStream, List exportEnvs) { method exportAppConfigByEnvAndCluster (line 113) | public void exportAppConfigByEnvAndCluster(String appId, Env env, Stri... method exportApps (line 140) | private void exportApps(final Collection exportEnvs, OutputStream... method findHasPermissionApps (line 168) | private List findHasPermissionApps() { method writeAppInfoToZip (line 190) | private void writeAppInfoToZip(List apps, ZipOutputStream zipOutp... method exportAppNamespaces (line 210) | private void exportAppNamespaces(ZipOutputStream zipOutputStream) { method exportClusters (line 233) | private void exportClusters(final Env env, final List exportApps, method exportCluster (line 244) | private void exportCluster(final Env env, final App exportApp, ZipOutp... method exportNamespaces (line 267) | private void exportNamespaces(final Env env, final App exportApp, fina... method writeNamespacesToZip (line 284) | private void writeNamespacesToZip(Stream configBOStream, method writeClusterInfoToZip (line 313) | private void writeClusterInfoToZip(Env env, App app, List ... method writeToZip (line 332) | private void writeToZip(String filePath, String content, ZipOutputStre... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ConfigsImportService.java class ConfigsImportService (line 60) | @Service method ConfigsImportService (line 76) | public ConfigsImportService(final ItemService itemService, final AppSe... method forceImportNamespaceFromFile (line 94) | public void forceImportNamespaceFromFile(final Env env, final String s... method importDataFromZipFile (line 111) | public void importDataFromZipFile(List importEnvs, ZipInputStream... method importAppConfigFromZipFile (line 177) | public void importAppConfigFromZipFile(String appId, Env env, String c... method doImport (line 229) | private void doImport(List importEnvs, List toImportApps, method importApp (line 303) | private void importApp(String appInfo, List importEnvs, String op... method importAppNamespace (line 327) | private void importAppNamespace(String appNamespace, String operator) { method importCluster (line 358) | private void importCluster(ImportClusterData importClusterData, String... method importNamespaceFromText (line 390) | private void importNamespaceFromText(final Env env, final String stand... method importNamespace (line 401) | private void importNamespace(final String appId, final Env env, final ... method importItems (line 434) | private void importItems(String appId, Env env, String clusterName, St... method readContent (line 473) | private String readContent(ZipInputStream zipInputStream) { class ImportNamespaceData (line 487) | static class ImportNamespaceData { method ImportNamespaceData (line 494) | public ImportNamespaceData(Env env, String fileName, String content, method getEnv (line 502) | public Env getEnv() { method setEnv (line 506) | public void setEnv(Env env) { method getFileName (line 510) | public String getFileName() { method setFileName (line 514) | public void setFileName(String fileName) { method getContent (line 518) | public String getContent() { method setContent (line 522) | public void setContent(String content) { method isIgnoreConflictNamespace (line 526) | public boolean isIgnoreConflictNamespace() { method setIgnoreConflictNamespace (line 530) | public void setIgnoreConflictNamespace(boolean ignoreConflictNamespa... method toString (line 534) | @Override class ImportClusterData (line 542) | static class ImportClusterData { method ImportClusterData (line 547) | public ImportClusterData(Env env, String clusterInfo) { method getEnv (line 552) | public Env getEnv() { method setEnv (line 556) | public void setEnv(Env env) { method getClusterInfo (line 560) | public String getClusterInfo() { method setClusterInfo (line 564) | public void setClusterInfo(String clusterInfo) { method toString (line 568) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/FavoriteService.java class FavoriteService (line 33) | @Service method FavoriteService (line 42) | public FavoriteService(final UserInfoHolder userInfoHolder, method addFavorite (line 50) | public Favorite addFavorite(Favorite favorite) { method search (line 77) | public List search(String userId, String appId, Pageable pag... method deleteFavorite (line 108) | public void deleteFavorite(long favoriteId) { method adjustFavoriteToFirst (line 116) | public void adjustFavoriteToFirst(long favoriteId) { method checkUserOperatePermission (line 131) | private void checkUserOperatePermission(Favorite favorite) { method batchDeleteByAppId (line 141) | public void batchDeleteByAppId(String appId, String operator) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/GlobalSearchService.java class GlobalSearchService (line 34) | @Service method GlobalSearchService (line 41) | public GlobalSearchService(AdminServiceAPI.ItemAPI itemAPI, PortalSett... method getAllEnvItemInfoBySearch (line 46) | public SearchResponseEntity> getAllEnvItemInfoBySearch(... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/InstanceService.java class InstanceService (line 28) | @Service method InstanceService (line 34) | public InstanceService(final AdminServiceAPI.InstanceAPI instanceAPI) { method getByRelease (line 38) | public PageDTO getByRelease(Env env, long releaseId, int ... method getByNamespace (line 42) | public PageDTO getByNamespace(Env env, String appId, Stri... method getInstanceCountByNamespace (line 48) | public int getInstanceCountByNamespace(String appId, Env env, String c... method getByReleasesNotIn (line 53) | public List getByReleasesNotIn(Env env, String appId, Str... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ItemService.java class ItemService (line 55) | @Service method ItemService (line 66) | public ItemService(final UserInfoHolder userInfoHolder, final Namespac... method updateConfigItemByText (line 84) | public void updateConfigItemByText(NamespaceTextModel model) { method updateItems (line 126) | public void updateItems(String appId, Env env, String clusterName, Str... method createItem (line 132) | public ItemDTO createItem(String appId, Env env, String clusterName, S... method createCommentItem (line 146) | public ItemDTO createCommentItem(String appId, Env env, String cluster... method updateItem (line 157) | public void updateItem(String appId, Env env, String clusterName, Stri... method deleteItem (line 162) | public void deleteItem(Env env, long itemId, String userId) { method findItems (line 166) | public List findItems(String appId, Env env, String clusterNa... method findDeletedItems (line 170) | public List findDeletedItems(String appId, Env env, String cl... method loadItem (line 175) | public ItemDTO loadItem(Env env, String appId, String clusterName, Str... method loadItemById (line 183) | public ItemDTO loadItemById(Env env, long itemId) { method syncItems (line 191) | public void syncItems(List comparedNamespaces, Li... method revokeItem (line 211) | public void revokeItem(String appId, Env env, String clusterName, Stri... method compare (line 262) | public List compare(List comparedNames... method findItemsByNamespace (line 282) | public PageDTO findItemsByNamespace(String appId, Env env... method getNamespaceId (line 287) | private long getNamespaceId(NamespaceIdentifier namespaceIdentifier) { method parseChangeSets (line 304) | private ItemChangeSets parseChangeSets(NamespaceIdentifier namespace, ... method buildItem (line 343) | private ItemDTO buildItem(long namespaceId, int lineNum, ItemDTO sourc... method buildNormalItem (line 351) | private ItemDTO buildNormalItem(Long id, Long namespaceId, String key,... method isModified (line 359) | private boolean isModified(String sourceValue, String targetValue, Str... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/NamespaceBranchService.java class NamespaceBranchService (line 38) | @Service method NamespaceBranchService (line 48) | public NamespaceBranchService(final ItemsComparator itemsComparator, method createBranch (line 61) | @Transactional method createBranch (line 68) | @Transactional method findBranchGrayRules (line 80) | public GrayReleaseRuleDTO findBranchGrayRules(String appId, Env env, S... method updateBranchGrayRules (line 87) | public void updateBranchGrayRules(String appId, Env env, String cluste... method updateBranchGrayRules (line 94) | public void updateBranchGrayRules(String appId, Env env, String cluste... method deleteBranch (line 106) | public void deleteBranch(String appId, Env env, String clusterName, St... method deleteBranch (line 113) | public void deleteBranch(String appId, Env env, String clusterName, St... method merge (line 122) | public ReleaseDTO merge(String appId, Env env, String clusterName, Str... method merge (line 130) | public ReleaseDTO merge(String appId, Env env, String clusterName, Str... method calculateBranchChangeSet (line 146) | private ItemChangeSets calculateBranchChangeSet(String appId, Env env,... method findBranchBaseInfo (line 170) | public NamespaceDTO findBranchBaseInfo(String appId, Env env, String c... method findBranch (line 175) | public NamespaceBO findBranch(String appId, Env env, String clusterNam... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/NamespaceLockService.java class NamespaceLockService (line 26) | @Service method NamespaceLockService (line 32) | public NamespaceLockService(final AdminServiceAPI.NamespaceLockAPI nam... method getNamespaceLock (line 39) | public NamespaceLockDTO getNamespaceLock(String appId, Env env, String... method getNamespaceLockInfo (line 44) | public LockInfo getNamespaceLockInfo(String appId, Env env, String clu... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/NamespaceService.java class NamespaceService (line 67) | @Service method NamespaceService (line 89) | public NamespaceService(final PortalConfig portalConfig, final PortalS... method createNamespace (line 112) | public NamespaceDTO createNamespace(Env env, NamespaceDTO namespace) { method getNamespaceUsageByAppId (line 128) | public List getNamespaceUsageByAppId(String appId, Str... method getNamespaceUsageByEnv (line 152) | public NamespaceUsage getNamespaceUsageByEnv(String appId, String name... method deleteNamespace (line 171) | @Transactional method loadNamespaceBaseInfo (line 178) | public NamespaceDTO loadNamespaceBaseInfo(String appId, Env env, Strin... method findNamespaceBOs (line 190) | public List findNamespaceBOs(String appId, Env env, Strin... method findNamespaceBOs (line 233) | public List findNamespaceBOs(String appId, Env env, Strin... method findNamespaces (line 237) | public List findNamespaces(String appId, Env env, String... method findNamespacesByItem (line 244) | public PageDTO findNamespacesByItem(Env env, String item... method getPublicAppNamespaceAllNamespaces (line 248) | public List getPublicAppNamespaceAllNamespaces(Env env, ... method loadNamespaceBO (line 253) | public NamespaceBO loadNamespaceBO(String appId, Env env, String clust... method loadNamespaceBO (line 262) | public NamespaceBO loadNamespaceBO(String appId, Env env, String clust... method publicAppNamespaceHasAssociatedNamespace (line 267) | public boolean publicAppNamespaceHasAssociatedNamespace(String publicN... method getPublicAppNamespaceHasAssociatedNamespace (line 271) | public int getPublicAppNamespaceHasAssociatedNamespace(String publicNa... method findPublicNamespaceForAssociatedNamespace (line 275) | public NamespaceBO findPublicNamespaceForAssociatedNamespace(Env env, ... method getNamespacesPublishInfo (line 283) | public Map> getNamespacesPublishInfo(Stri... method transformNamespace2BO (line 296) | private NamespaceBO transformNamespace2BO(Env env, NamespaceDTO namesp... method transformNamespace2BO (line 355) | private NamespaceBO transformNamespace2BO(Env env, NamespaceDTO namesp... method fillAppNamespaceProperties (line 359) | private void fillAppNamespaceProperties(NamespaceBO namespace) { method parseDeletedItems (line 391) | private List parseDeletedItems(List newItems, Map r... method assignNamespaceRoleToOperator (line 435) | public void assignNamespaceRoleToOperator(String appId, String namespa... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/PortalDBPropertySource.java class PortalDBPropertySource (line 44) | @Component method PortalDBPropertySource (line 54) | @Autowired method runSqlScript (line 63) | @PostConstruct method refresh (line 73) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ReleaseHistoryService.java class ReleaseHistoryService (line 43) | @Service method ReleaseHistoryService (line 52) | public ReleaseHistoryService(final ReleaseHistoryAPI releaseHistoryAPI, method findLatestByReleaseIdAndOperation (line 61) | public ReleaseHistoryBO findLatestByReleaseIdAndOperation(Env env, lon... method findLatestByPreviousReleaseIdAndOperation (line 74) | public ReleaseHistoryBO findLatestByPreviousReleaseIdAndOperation(Env ... method findNamespaceReleaseHistory (line 87) | public List findNamespaceReleaseHistory(String appId... method transformReleaseHistoryDTO2BO (line 109) | private List transformReleaseHistoryDTO2BO(List findAllReleases(String appId, Env env, String c... method findActiveReleases (line 137) | public List findActiveReleases(String appId, Env env, Stri... method findReleaseById (line 142) | public ReleaseDTO findReleaseById(Env env, long releaseId) { method findReleaseByIds (line 153) | public List findReleaseByIds(Env env, Set releaseIds) { method loadLatestRelease (line 157) | public ReleaseDTO loadLatestRelease(String appId, Env env, String clus... method rollback (line 162) | public void rollback(Env env, long releaseId, String operator) { method rollbackTo (line 166) | public void rollbackTo(Env env, long releaseId, long toReleaseId, Stri... method compare (line 170) | public ReleaseCompareResult compare(Env env, long baseReleaseId, long ... method compare (line 185) | public ReleaseCompareResult compare(ReleaseDTO baseRelease, ReleaseDTO... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/RoleInitializationService.java type RoleInitializationService (line 21) | public interface RoleInitializationService { method initAppRoles (line 23) | void initAppRoles(App app); method initNamespaceRoles (line 25) | void initNamespaceRoles(String appId, String namespaceName, String ope... method initNamespaceEnvRoles (line 27) | void initNamespaceEnvRoles(String appId, String namespaceName, String ... method initNamespaceSpecificEnvRoles (line 29) | void initNamespaceSpecificEnvRoles(String appId, String namespaceName,... method initCreateAppRole (line 32) | void initCreateAppRole(); method initManageAppMasterRole (line 34) | void initManageAppMasterRole(String appId, String operator); method initClusterNamespaceRoles (line 36) | void initClusterNamespaceRoles(String appId, String env, String cluste... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/RolePermissionService.java type RolePermissionService (line 29) | public interface RolePermissionService { method createRoleWithPermissions (line 34) | Role createRoleWithPermissions(Role role, Set permissionIds); method assignRoleToUsers (line 41) | Set assignRoleToUsers(String roleName, Set userIds, St... method removeRoleFromUsers (line 46) | void removeRoleFromUsers(String roleName, Set userIds, String ... method queryUsersWithRole (line 51) | Set queryUsersWithRole(String roleName); method findRoleByRoleName (line 56) | Role findRoleByRoleName(String roleName); method userHasPermission (line 61) | boolean userHasPermission(String userId, String permissionType, String... method findUserRoles (line 66) | List findUserRoles(String userId); method isSuperAdmin (line 68) | boolean isSuperAdmin(String userId); method createPermission (line 73) | Permission createPermission(Permission permission); method createPermissions (line 78) | Set createPermissions(Set permissions); method deleteRolePermissionsByAppId (line 83) | void deleteRolePermissionsByAppId(String appId, String operator); method deleteRolePermissionsByAppIdAndNamespace (line 88) | void deleteRolePermissionsByAppIdAndNamespace(String appId, String nam... method deleteRolePermissionsByCluster (line 94) | void deleteRolePermissionsByCluster(String appId, String env, String c... method hasAnyPermission (line 100) | boolean hasAnyPermission(String userId, List permissions); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ServerConfigService.java class ServerConfigService (line 33) | @Service method ServerConfigService (line 41) | public ServerConfigService(final ServerConfigRepository serverConfigRe... method findAllPortalDBConfig (line 48) | public List findAllPortalDBConfig() { method findAllConfigDBConfig (line 53) | public List findAllConfigDBConfig(Env env) { method createOrUpdatePortalDBConfig (line 57) | @Transactional method createOrUpdateConfigDBConfig (line 75) | @Transactional FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/SystemRoleManagerService.java class SystemRoleManagerService (line 27) | @Service method SystemRoleManagerService (line 47) | public SystemRoleManagerService(final RolePermissionService rolePermis... method init (line 54) | @PostConstruct method isCreateApplicationPermissionEnabled (line 59) | private boolean isCreateApplicationPermissionEnabled() { method isManageAppMasterPermissionEnabled (line 63) | public boolean isManageAppMasterPermissionEnabled() { method hasCreateApplicationPermission (line 67) | public boolean hasCreateApplicationPermission(String userId) { method hasManageAppMasterPermission (line 76) | public boolean hasManageAppMasterPermission(String userId, String appI... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/EmailService.java type EmailService (line 21) | public interface EmailService { method send (line 23) | void send(Email email); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/LogoutHandler.java type LogoutHandler (line 22) | public interface LogoutHandler { method logout (line 24) | void logout(HttpServletRequest request, HttpServletResponse response); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/MQService.java type MQService (line 22) | public interface MQService { method sendPublishMsg (line 24) | void sendPublishMsg(Env env, ReleaseHistoryBO releaseHistory); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/SsoHeartbeatHandler.java type SsoHeartbeatHandler (line 25) | public interface SsoHeartbeatHandler { method doHeartbeat (line 26) | void doHeartbeat(HttpServletRequest request, HttpServletResponse respo... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/UserInfoHolder.java type UserInfoHolder (line 25) | public interface UserInfoHolder { method getUser (line 27) | UserInfo getUser(); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/UserService.java type UserService (line 26) | public interface UserService { method searchUsers (line 27) | List searchUsers(String keyword, int offset, int limit, bool... method findByUserId (line 29) | UserInfo findByUserId(String userId); method findByUserIds (line 31) | List findByUserIds(List userIds); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthConfiguration.java class AuthConfiguration (line 81) | @Configuration class SpringSecurityAuthAutoConfiguration (line 91) | @Configuration method defaultSsoHeartbeatHandler (line 95) | @Bean method passwordEncoder (line 101) | @Bean method springSecurityUserInfoHolder (line 107) | @Bean method logoutHandler (line 114) | @Bean method jdbcUserDetailsManager (line 120) | @Bean method springSecurityUserService (line 167) | @Bean class SpringSecurityConfigurer (line 177) | @Profile("auth") method authSecurityFilterChain (line 185) | @Bean class SpringSecurityLDAPAuthAutoConfiguration (line 207) | @Configuration method SpringSecurityLDAPAuthAutoConfiguration (line 215) | public SpringSecurityLDAPAuthAutoConfiguration(final LdapProperties ... method defaultSsoHeartbeatHandler (line 221) | @Bean method springSecurityUserInfoHolder (line 227) | @Bean method logoutHandler (line 234) | @Bean method springSecurityUserService (line 240) | @Bean method ldapContextSource (line 246) | @Bean method ldapTemplate (line 260) | @Bean class SpringSecurityLDAPConfigurer (line 269) | @Profile("ldap") method SpringSecurityLDAPConfigurer (line 280) | public SpringSecurityLDAPConfigurer(final LdapProperties ldapPropert... method userSearch (line 288) | @Bean method ldapAuthProvider (line 309) | @Bean method ldapSecurityFilterChain (line 323) | @Bean class OidcAuthAutoConfiguration (line 343) | @Profile("oidc") method defaultSsoHeartbeatHandler (line 349) | @Bean method oidcUserInfoHolder (line 355) | @Bean method oidcLogoutHandler (line 362) | @Bean method passwordEncoder (line 368) | @Bean method jdbcUserDetailsManager (line 374) | @Bean method oidcLocalUserService (line 382) | @Bean method oidcAuthenticationSuccessEventListener (line 389) | @Bean class OidcWebSecurityConfigurerAdapter (line 396) | @Profile("oidc") method OidcWebSecurityConfigurerAdapter (line 406) | public OidcWebSecurityConfigurerAdapter( method oidcSecurityFilterChain (line 413) | @Bean class DefaultAuthAutoConfiguration (line 442) | @Configuration method defaultSsoHeartbeatHandler (line 446) | @Bean method defaultUserInfoHolder (line 452) | @Bean method logoutHandler (line 458) | @Bean method defaultUserService (line 464) | @Bean class DefaultWebSecurityConfig (line 471) | @ConditionalOnMissingProfile({"auth", "ldap", "oidc"}) method defaultSecurityFilterChain (line 477) | @Bean FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthFilterConfiguration.java class AuthFilterConfiguration (line 29) | @Configuration method openApiAuthenticationFilter (line 34) | @Bean method authTypeResolverFilter (line 48) | @Bean method portalUserSessionFilter (line 65) | @Bean FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/EmailConfiguration.java class EmailConfiguration (line 25) | @Configuration method defaultEmailService (line 28) | @Bean FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/LdapExtendProperties.java class LdapExtendProperties (line 26) | @ConfigurationProperties(prefix = "ldap") method getMapping (line 32) | public LdapMappingProperties getMapping() { method setMapping (line 36) | public void setMapping(LdapMappingProperties mapping) { method getGroup (line 40) | public LdapGroupProperties getGroup() { method setGroup (line 44) | public void setGroup(LdapGroupProperties group) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/LdapGroupProperties.java class LdapGroupProperties (line 24) | public class LdapGroupProperties { method getGroupBase (line 41) | public String getGroupBase() { method setGroupBase (line 45) | public void setGroupBase(String groupBase) { method getGroupSearch (line 49) | public String getGroupSearch() { method setGroupSearch (line 53) | public void setGroupSearch(String groupSearch) { method getGroupMembership (line 57) | public String getGroupMembership() { method setGroupMembership (line 61) | public void setGroupMembership(String groupMembership) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/LdapMappingProperties.java class LdapMappingProperties (line 24) | public class LdapMappingProperties { method getObjectClass (line 51) | public String getObjectClass() { method setObjectClass (line 55) | public void setObjectClass(String objectClass) { method getLoginId (line 59) | public String getLoginId() { method setLoginId (line 63) | public void setLoginId(String loginId) { method getRdnKey (line 67) | public String getRdnKey() { method setRdnKey (line 71) | public void setRdnKey(String rdnKey) { method getUserDisplayName (line 75) | public String getUserDisplayName() { method setUserDisplayName (line 79) | public void setUserDisplayName(String userDisplayName) { method getEmail (line 83) | public String getEmail() { method setEmail (line 87) | public void setEmail(String email) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/LdapProperties.java class LdapProperties (line 31) | @ConfigurationProperties(prefix = "spring.ldap") method getUrls (line 71) | public String[] getUrls() { method setUrls (line 75) | public void setUrls(String[] urls) { method getBase (line 79) | public String getBase() { method setBase (line 83) | public void setBase(String base) { method getUsername (line 87) | public String getUsername() { method setUsername (line 91) | public void setUsername(String username) { method getPassword (line 95) | public String getPassword() { method setPassword (line 99) | public void setPassword(String password) { method getAnonymousReadOnly (line 103) | public boolean getAnonymousReadOnly() { method setAnonymousReadOnly (line 107) | public void setAnonymousReadOnly(boolean anonymousReadOnly) { method getSearchFilter (line 111) | public String getSearchFilter() { method setSearchFilter (line 115) | public void setSearchFilter(String searchFilter) { method getBaseEnvironment (line 119) | public Map getBaseEnvironment() { method determineUrls (line 123) | public String[] determineUrls(Environment environment) { method determinePort (line 130) | private int determinePort(Environment environment) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/MQConfiguration.java class MQConfiguration (line 23) | @Configuration method mqService (line 26) | @Bean FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/OidcExtendProperties.java class OidcExtendProperties (line 23) | @ConfigurationProperties(prefix = "spring.security.oidc") method getUserDisplayNameClaimName (line 37) | public String getUserDisplayNameClaimName() { method setUserDisplayNameClaimName (line 41) | public void setUserDisplayNameClaimName(String userDisplayNameClaimNam... method getJwtUserDisplayNameClaimName (line 45) | public String getJwtUserDisplayNameClaimName() { method setJwtUserDisplayNameClaimName (line 49) | public void setJwtUserDisplayNameClaimName(String jwtUserDisplayNameCl... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/configuration/RoleConfiguration.java class RoleConfiguration (line 36) | @Configuration method RoleConfiguration (line 47) | public RoleConfiguration(final RoleRepository roleRepository, method roleInitializationService (line 61) | @Bean method rolePermissionService (line 67) | @Bean FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultEmailService.java class DefaultEmailService (line 39) | public class DefaultEmailService implements EmailService { method send (line 46) | @Override class HTMLDataSource (line 87) | static class HTMLDataSource implements DataSource { method HTMLDataSource (line 91) | HTMLDataSource(String htmlString) { method getInputStream (line 95) | @Override method getOutputStream (line 103) | @Override method getContentType (line 108) | @Override method getName (line 113) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultLogoutHandler.java class DefaultLogoutHandler (line 26) | public class DefaultLogoutHandler implements LogoutHandler { method logout (line 28) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultMQService.java class DefaultMQService (line 23) | public class DefaultMQService implements MQService { method sendPublishMsg (line 25) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultRoleInitializationService.java class DefaultRoleInitializationService (line 45) | public class DefaultRoleInitializationService implements RoleInitializat... method DefaultRoleInitializationService (line 51) | public DefaultRoleInitializationService(final RolePermissionService ro... method initAppRoles (line 58) | @Transactional method initNamespaceRoles (line 92) | @Transactional method initNamespaceEnvRoles (line 109) | @Transactional method initNamespaceSpecificEnvRoles (line 119) | @Transactional method initCreateAppRole (line 138) | @Transactional method createManageAppMasterRole (line 160) | @Transactional method initManageAppMasterRole (line 172) | @Transactional method initClusterNamespaceRoles (line 185) | @Transactional method createAppMasterRole (line 204) | private void createAppMasterRole(String appId, String operator) { method createPermission (line 220) | private Permission createPermission(String targetId, String permission... method createRole (line 229) | private Role createRole(String roleName, String operator) { method createNamespaceRole (line 237) | private void createNamespaceRole(String appId, String namespaceName, S... method createNamespaceEnvRole (line 249) | private void createNamespaceEnvRole(String appId, String namespaceName... method createClusterRole (line 260) | private void createClusterRole(String appId, String env, String cluste... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultRolePermissionService.java class DefaultRolePermissionService (line 59) | public class DefaultRolePermissionService implements RolePermissionServi... method DefaultRolePermissionService (line 69) | public DefaultRolePermissionService(final RoleRepository roleRepository, method createRoleWithPermissions (line 86) | @Transactional method assignRoleToUsers (line 114) | @Transactional method removeRoleFromUsers (line 145) | @Transactional method queryUsersWithRole (line 172) | @Override method findRoleByRoleName (line 195) | @Override method userHasPermission (line 203) | @Override method findUserRoles (line 235) | @Override method isSuperAdmin (line 247) | @Override method createPermission (line 255) | @Transactional method createPermissions (line 271) | @Transactional method deleteRolePermissionsByAppId (line 292) | @Transactional method deleteRolePermissionsByAppIdAndNamespace (line 320) | @Transactional method deleteRolePermissionsByCluster (line 350) | @Transactional method hasAnyPermission (line 378) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultSsoHeartbeatHandler.java class DefaultSsoHeartbeatHandler (line 29) | public class DefaultSsoHeartbeatHandler implements SsoHeartbeatHandler { method doHeartbeat (line 31) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultUserInfoHolder.java class DefaultUserInfoHolder (line 25) | public class DefaultUserInfoHolder implements UserInfoHolder { method DefaultUserInfoHolder (line 28) | public DefaultUserInfoHolder() { method getUser (line 32) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultUserService.java class DefaultUserService (line 32) | public class DefaultUserService implements UserService { method searchUsers (line 36) | @Override method findByUserId (line 42) | @Override method findByUserIds (line 50) | @Override method assembleDefaultUser (line 62) | private UserInfo assembleDefaultUser() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/ldap/ApolloLdapAuthenticationProvider.java class ApolloLdapAuthenticationProvider (line 39) | public class ApolloLdapAuthenticationProvider extends LdapAuthentication... method ApolloLdapAuthenticationProvider (line 43) | public ApolloLdapAuthenticationProvider(LdapAuthenticator authenticator, method ApolloLdapAuthenticationProvider (line 48) | public ApolloLdapAuthenticationProvider(LdapAuthenticator authenticato... method ApolloLdapAuthenticationProvider (line 52) | public ApolloLdapAuthenticationProvider(LdapAuthenticator authenticator, method ApolloLdapAuthenticationProvider (line 58) | public ApolloLdapAuthenticationProvider(LdapAuthenticator authenticator, method authenticate (line 64) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/ldap/FilterLdapByGroupUserSearch.java class FilterLdapByGroupUserSearch (line 39) | public class FilterLdapByGroupUserSearch extends FilterBasedLdapUserSear... method FilterLdapByGroupUserSearch (line 54) | public FilterLdapByGroupUserSearch(String searchBase, String searchFil... method searchUserById (line 67) | private Name searchUserById(String userId) { method searchForUser (line 75) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/ldap/LdapUserService.java class LdapUserService (line 57) | public class LdapUserService implements UserService { method LdapUserService (line 124) | public LdapUserService(final LdapTemplate ldapTemplate) { method ldapQueryCriteria (line 143) | private ContainerCriteria ldapQueryCriteria() { method lookupUser (line 161) | private UserInfo lookupUser(String member, List userIds) { method searchUserById (line 188) | private UserInfo searchUserById(String userId) { method searchUserInfoByGroup (line 212) | private List searchUserInfoByGroup(String groupBase, String ... method searchUsers (line 261) | @Override method findByUserId (line 284) | @Override method findByUserIds (line 304) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/ExcludeClientCredentialsClientRegistrationRepository.java class ExcludeClientCredentialsClientRegistrationRepository (line 35) | public class ExcludeClientCredentialsClientRegistrationRepository method ExcludeClientCredentialsClientRegistrationRepository (line 48) | public ExcludeClientCredentialsClientRegistrationRepository( method findByRegistrationId (line 60) | @Override method iterator (line 73) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcAuthenticationSuccessEventListener.java class OidcAuthenticationSuccessEventListener (line 35) | public class OidcAuthenticationSuccessEventListener method OidcAuthenticationSuccessEventListener (line 53) | public OidcAuthenticationSuccessEventListener(OidcLocalUserService oid... method onApplicationEvent (line 59) | @Override method oidcUserLogin (line 73) | private void oidcUserLogin(OidcUser oidcUser) { method logOidc (line 92) | private void logOidc(OidcUser oidcUser, String subject, String userDis... method contains (line 103) | private boolean contains(String userId) { method jwtLogin (line 115) | private void jwtLogin(Jwt jwt) { method logJwt (line 130) | private void logJwt(Jwt jwt, String subject, String userDisplayName) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcLocalUserService.java type OidcLocalUserService (line 25) | public interface OidcLocalUserService extends UserService { method createLocalUser (line 32) | void createLocalUser(UserInfo newUserInfo); method updateUserInfo (line 39) | void updateUserInfo(UserInfo newUserInfo); FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcLocalUserServiceImpl.java class OidcLocalUserServiceImpl (line 43) | public class OidcLocalUserServiceImpl implements OidcLocalUserService { method OidcLocalUserServiceImpl (line 56) | public OidcLocalUserServiceImpl(JdbcUserDetailsManager userDetailsMana... method createLocalUser (line 62) | @Transactional(rollbackFor = Exception.class) method updateUserInfoInternal (line 71) | private void updateUserInfoInternal(UserInfo newUserInfo) { method updateUserInfo (line 82) | @Transactional(rollbackFor = Exception.class) method searchUsers (line 88) | @Override method findUsers (line 98) | private List findUsers(String keyword, boolean includeInactive... method findByUserId (line 129) | @Override method findByUserIds (line 135) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcLogoutHandler.java class OidcLogoutHandler (line 27) | public class OidcLogoutHandler implements LogoutHandler { method logout (line 29) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcUserInfoHolder.java class OidcUserInfoHolder (line 36) | public class OidcUserInfoHolder implements UserInfoHolder { method OidcUserInfoHolder (line 44) | public OidcUserInfoHolder(UserService userService, OidcExtendPropertie... method getUser (line 49) | @Override method getUserInternal (line 62) | private UserInfo getUserInternal() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcUserInfoUtil.java class OidcUserInfoUtil (line 24) | public class OidcUserInfoUtil { method OidcUserInfoUtil (line 26) | private OidcUserInfoUtil() { method getOidcUserDisplayName (line 37) | public static String getOidcUserDisplayName(OidcUser oidcUser, method getJwtUserDisplayName (line 57) | public static String getJwtUserDisplayName(Jwt jwt, OidcExtendProperti... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/PlaceholderPasswordEncoder.java class PlaceholderPasswordEncoder (line 26) | public class PlaceholderPasswordEncoder implements PasswordEncoder { method encode (line 33) | @Override method matches (line 43) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/springsecurity/ApolloPasswordEncoderFactory.java class ApolloPasswordEncoderFactory (line 33) | public final class ApolloPasswordEncoderFactory { method ApolloPasswordEncoderFactory (line 35) | private ApolloPasswordEncoderFactory() {} method createDelegatingPasswordEncoder (line 44) | @SuppressWarnings("deprecation") FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/springsecurity/PasswordEncoderAdapter.java class PasswordEncoderAdapter (line 25) | @Deprecated method PasswordEncoderAdapter (line 34) | public PasswordEncoderAdapter(PasswordEncoder encoder) { method encode (line 38) | @Override method matches (line 43) | @Override method extractId (line 57) | private String extractId(String prefixEncodedPassword) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/springsecurity/SpringSecurityUserInfoHolder.java class SpringSecurityUserInfoHolder (line 29) | public class SpringSecurityUserInfoHolder implements UserInfoHolder { method SpringSecurityUserInfoHolder (line 33) | public SpringSecurityUserInfoHolder(UserService userService) { method SpringSecurityUserInfoHolder (line 37) | public SpringSecurityUserInfoHolder(ObjectProvider userSe... method SpringSecurityUserInfoHolder (line 41) | private SpringSecurityUserInfoHolder(Supplier userService... method getUser (line 45) | @Override method getCurrentUsername (line 57) | private String getCurrentUsername() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/springsecurity/SpringSecurityUserService.java class SpringSecurityUserService (line 42) | public class SpringSecurityUserService implements UserService { method SpringSecurityUserService (line 50) | public SpringSecurityUserService(PasswordEncoder passwordEncoder, User... method create (line 57) | @Transactional method update (line 77) | @Transactional method changeEnabled (line 92) | @Transactional method searchUsers (line 100) | @Override method findUsers (line 110) | private List findUsers(String keyword, boolean includeInactive... method findByUserId (line 141) | @Override method findByUserIds (line 147) | @Override FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/ConfigFileUtils.java class ConfigFileUtils (line 39) | public class ConfigFileUtils { method check (line 45) | public static void check(MultipartFile file) { method checkEmpty (line 54) | static void checkEmpty(MultipartFile file) { method checkFormat (line 63) | static void checkFormat(final String originalFilename) { method getThreePart (line 76) | static String[] getThreePart(final String originalFilename) { method checkThreePart (line 83) | static void checkThreePart(final String originalFilename) { method getFormat (line 97) | public static String getFormat(final String originalFilename) { method getAppId (line 113) | public static String getAppId(final String originalFilename) { method getClusterName (line 118) | public static String getClusterName(final String originalFilename) { method getNamespace (line 132) | public static String getNamespace(final String originalFilename) { method toFilename (line 162) | public static String toFilename(final String appId, final String clust... method genNamespacePath (line 177) | public static String genNamespacePath(final String ownerName, final St... method genNamespacePathIgnoreUser (line 186) | public static String genNamespacePathIgnoreUser(final String appId, fi... method genAppInfoPath (line 194) | public static String genAppInfoPath(App app) { method genAppNamespaceInfoPath (line 201) | public static String genAppNamespaceInfoPath(AppNamespace appNamespace) { method genClusterInfoPath (line 209) | public static String genClusterInfoPath(App app, Env env, ClusterDTO c... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/ConfigToFileUtils.java class ConfigToFileUtils (line 30) | public class ConfigToFileUtils { method itemsToFile (line 32) | @Deprecated method fileToString (line 43) | public static String fileToString(InputStream inputStream) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/KeyValueUtils.java class KeyValueUtils (line 27) | public class KeyValueUtils { method filterWithKeyIgnoreCaseEndsWith (line 37) | public static Map filterWithKeyIgnoreCaseEndsWith(Prop... method filterWithKeyIgnoreCaseEndsWith (line 55) | public static Map filterWithKeyIgnoreCaseEndsWith(Map<... method removeKeySuffix (line 79) | public static Map removeKeySuffix(Map ... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/NamespaceBOUtils.java class NamespaceBOUtils (line 38) | public class NamespaceBOUtils { method convertNonProperties2configFileContent (line 49) | static String convertNonProperties2configFileContent(NamespaceBO names... method convert2configFileContent (line 70) | public static String convert2configFileContent(NamespaceBO namespaceBO) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/RelativeDateFormat.java class RelativeDateFormat (line 27) | public class RelativeDateFormat { method format (line 36) | public static String format(Date date) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/RoleUtils.java class RoleUtils (line 25) | public class RoleUtils { method buildAppMasterRoleName (line 32) | public static String buildAppMasterRoleName(String appId) { method extractAppIdFromMasterRoleName (line 36) | public static String extractAppIdFromMasterRoleName(String masterRoleN... method extractAppIdFromRoleName (line 47) | public static String extractAppIdFromRoleName(String roleName) { method buildAppRoleName (line 58) | public static String buildAppRoleName(String appId, String roleType) { method buildModifyNamespaceRoleName (line 62) | public static String buildModifyNamespaceRoleName(String appId, String... method buildModifyNamespaceRoleName (line 66) | public static String buildModifyNamespaceRoleName(String appId, String... method buildModifyNamespacesInClusterRoleName (line 71) | public static String buildModifyNamespacesInClusterRoleName(String app... method buildModifyDefaultNamespaceRoleName (line 76) | public static String buildModifyDefaultNamespaceRoleName(String appId) { method buildReleaseNamespaceRoleName (line 80) | public static String buildReleaseNamespaceRoleName(String appId, Strin... method buildReleaseNamespaceRoleName (line 84) | public static String buildReleaseNamespaceRoleName(String appId, Strin... method buildReleaseNamespacesInClusterRoleName (line 89) | public static String buildReleaseNamespacesInClusterRoleName(String ap... method buildNamespaceRoleName (line 94) | public static String buildNamespaceRoleName(String appId, String names... method buildNamespaceRoleName (line 98) | public static String buildNamespaceRoleName(String appId, String names... method buildClusterRoleName (line 103) | public static String buildClusterRoleName(String appId, String env, St... method buildReleaseDefaultNamespaceRoleName (line 108) | public static String buildReleaseDefaultNamespaceRoleName(String appId) { method buildNamespaceTargetId (line 113) | public static String buildNamespaceTargetId(String appId, String names... method buildNamespaceTargetId (line 117) | public static String buildNamespaceTargetId(String appId, String names... method buildClusterTargetId (line 121) | public static String buildClusterTargetId(String appId, String env, St... method buildDefaultNamespaceTargetId (line 125) | public static String buildDefaultNamespaceTargetId(String appId) { method buildCreateApplicationRoleName (line 129) | public static String buildCreateApplicationRoleName(String permissionT... FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/checker/AuthUserPasswordChecker.java class AuthUserPasswordChecker (line 25) | @Component method AuthUserPasswordChecker (line 33) | public AuthUserPasswordChecker(final PortalConfig portalConfig) { method checkWeakPassword (line 37) | @Override method isCommonlyUsed (line 54) | private boolean isCommonlyUsed(String password) { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/checker/CheckResult.java class CheckResult (line 19) | public class CheckResult { method CheckResult (line 24) | public CheckResult(boolean success, String message) { method isSuccess (line 29) | public boolean isSuccess() { method getMessage (line 33) | public String getMessage() { FILE: apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/checker/UserPasswordChecker.java type UserPasswordChecker (line 19) | public interface UserPasswordChecker { method checkWeakPassword (line 21) | CheckResult checkWeakPassword(String password); FILE: apollo-portal/src/main/resources/jpa/portaldb.init.h2.sql type SPRING_SESSION (line 16) | CREATE TABLE SPRING_SESSION type SPRING_SESSION_IX1 (line 28) | CREATE UNIQUE INDEX SPRING_SESSION_IX1 ON SPRING_SESSION (SESSION_ID) type SPRING_SESSION_IX2 (line 29) | CREATE INDEX SPRING_SESSION_IX2 ON SPRING_SESSION (EXPIRY_TIME) type SPRING_SESSION_IX3 (line 30) | CREATE INDEX SPRING_SESSION_IX3 ON SPRING_SESSION (PRINCIPAL_NAME) type SPRING_SESSION_ATTRIBUTES (line 32) | CREATE TABLE SPRING_SESSION_ATTRIBUTES FILE: apollo-portal/src/main/resources/static/scripts/AppUtils.js function parseErrorMsg (line 19) | function parseErrorMsg(response) { function parsePureErrorMsg (line 30) | function parsePureErrorMsg(response) { function ajax (line 40) | function ajax(resource, requestParams, requestBody) { function hasDuplicateKeys (line 67) | function hasDuplicateKeys(text) { FILE: apollo-portal/src/main/resources/static/scripts/controller/AccessKeyController.js function AccessKeyController (line 23) | function AccessKeyController($scope, $location, $translate, toastr, FILE: apollo-portal/src/main/resources/static/scripts/controller/AppController.js function createAppController (line 21) | function createAppController($scope, $window, $translate, toastr, AppSer... FILE: apollo-portal/src/main/resources/static/scripts/controller/AuditLogMenuController.js function auditLogMenuController (line 22) | function auditLogMenuController($scope, $window, $translate, $document, ... FILE: apollo-portal/src/main/resources/static/scripts/controller/AuditLogTraceDetailController.js function auditLogTraceDetailController (line 22) | function auditLogTraceDetailController($scope, $location, $window, $tran... FILE: apollo-portal/src/main/resources/static/scripts/controller/BackTopController.js function BackTopController (line 20) | function BackTopController($scope) { FILE: apollo-portal/src/main/resources/static/scripts/controller/DeleteAppClusterNamespaceController.js function DeleteAppClusterNamespaceController (line 21) | function DeleteAppClusterNamespaceController($scope, $translate, toastr,... FILE: apollo-portal/src/main/resources/static/scripts/controller/GlobalSearchValueController.js function GlobalSearchValueController (line 20) | function GlobalSearchValueController($scope, $window, $translate, toastr... FILE: apollo-portal/src/main/resources/static/scripts/controller/IndexController.js function IndexController (line 23) | function IndexController($scope, $window, $translate, toastr, AppUtil, A... FILE: apollo-portal/src/main/resources/static/scripts/controller/LoginController.js function LoginController (line 21) | function LoginController($scope, $window, $location, $translate, toastr,... FILE: apollo-portal/src/main/resources/static/scripts/controller/ManageClusterController.js function loadClusters (line 28) | function loadClusters() { FILE: apollo-portal/src/main/resources/static/scripts/controller/NamespaceController.js function shouldAppendNamespacePrefix (line 88) | function shouldAppendNamespacePrefix() { FILE: apollo-portal/src/main/resources/static/scripts/controller/ServerConfigController.js function ServerConfigController (line 21) | function ServerConfigController($scope, $window, $translate, toastr, App... FILE: apollo-portal/src/main/resources/static/scripts/controller/SettingController.js function SettingController (line 23) | function SettingController($scope, $location, $translate, toastr, FILE: apollo-portal/src/main/resources/static/scripts/controller/SystemInfoController.js function SystemInfoController (line 21) | function SystemInfoController($scope, toastr, AppUtil, AppService, Clust... FILE: apollo-portal/src/main/resources/static/scripts/controller/UserController.js function UserController (line 21) | function UserController($scope, $window, $translate, toastr, AppUtil, Us... FILE: apollo-portal/src/main/resources/static/scripts/controller/config/ConfigBaseInfoController.js function ConfigBaseInfoController (line 24) | function ConfigBaseInfoController($rootScope, $scope, $window, $location... FILE: apollo-portal/src/main/resources/static/scripts/controller/config/ConfigNamespaceController.js function controller (line 22) | function controller($rootScope, $scope, $translate, toastr, AppUtil, Eve... FILE: apollo-portal/src/main/resources/static/scripts/controller/config/DiffConfigController.js function diff (line 53) | function diff() { function collectSelectedClusters (line 160) | function collectSelectedClusters(data) { function parseSyncSourceData (line 164) | function parseSyncSourceData() { function syncItemNextStep (line 186) | function syncItemNextStep(offset) { function backToAppHomePage (line 190) | function backToAppHomePage() { function switchSelect (line 194) | function switchSelect(o) { function showTextDiff (line 198) | function showTextDiff(oldStr, newStr) { function Obj2Prop (line 205) | function Obj2Prop(obj,prefix){ FILE: apollo-portal/src/main/resources/static/scripts/controller/config/ReleaseHistoryController.js function releaseHistoryController (line 22) | function releaseHistoryController($scope, $location, $translate, AppUtil... FILE: apollo-portal/src/main/resources/static/scripts/controller/config/SyncConfigController.js function init (line 50) | function init() { function toggleItemsCheckedStatus (line 75) | function toggleItemsCheckedStatus() { function diff (line 87) | function diff() { function removeItem (line 135) | function removeItem(diff, type, toRemoveItem) { function syncItems (line 163) | function syncItems() { function collectSelectedClusters (line 180) | function collectSelectedClusters(data) { function parseSyncSourceData (line 184) | function parseSyncSourceData() { function syncItemNextStep (line 209) | function syncItemNextStep(offset) { function backToAppHomePage (line 213) | function backToAppHomePage() { function switchSelect (line 217) | function switchSelect(o) { function filter (line 221) | function filter() { function resetFilter (line 237) | function resetFilter() { function showText (line 243) | function showText(text) { FILE: apollo-portal/src/main/resources/static/scripts/controller/open/OpenManageController.js function OpenManageController (line 21) | function OpenManageController($scope, $translate, toastr, AppUtil, Organ... FILE: apollo-portal/src/main/resources/static/scripts/controller/role/ClusterNamespaceRoleController.js function removeUserFromList (line 153) | function removeUserFromList(list, user) { FILE: apollo-portal/src/main/resources/static/scripts/controller/role/NamespaceRoleController.js function removeUserFromList (line 192) | function removeUserFromList(list, user) { FILE: apollo-portal/src/main/resources/static/scripts/controller/role/SystemRoleController.js function getCreateApplicationRoleUsers (line 72) | function getCreateApplicationRoleUsers() { function initPermission (line 84) | function initPermission() { FILE: apollo-portal/src/main/resources/static/scripts/directive/delete-namespace-modal-directive.js function deleteNamespaceModalDirective (line 19) | function deleteNamespaceModalDirective($window, $q, $translate, toastr, ... FILE: apollo-portal/src/main/resources/static/scripts/directive/diff-directive.js function makeDiff (line 36) | function makeDiff() { FILE: apollo-portal/src/main/resources/static/scripts/directive/directive.js function jumpToConfigPage (line 91) | function jumpToConfigPage(selectedAppId, name, type, namespaceInfo) { function refreshClusterList (line 165) | function refreshClusterList() { function collectSelectedClusters (line 210) | function collectSelectedClusters() { function initSelect2 (line 336) | function initSelect2() { function initSelect2 (line 387) | function initSelect2() { FILE: apollo-portal/src/main/resources/static/scripts/directive/gray-release-rules-modal-directive.js function rulesModalDirective (line 19) | function rulesModalDirective($translate, toastr, AppUtil, EventManager, ... FILE: apollo-portal/src/main/resources/static/scripts/directive/import-namespace-modal-directive.js function importNamespaceModalDirective (line 19) | function importNamespaceModalDirective($window, $q, $translate, $http, t... FILE: apollo-portal/src/main/resources/static/scripts/directive/item-modal-directive.js function itemModalDirective (line 19) | function itemModalDirective($translate, toastr, $sce, AppUtil, EventMana... FILE: apollo-portal/src/main/resources/static/scripts/directive/merge-and-publish-modal-directive.js function mergeAndPublishDirective (line 19) | function mergeAndPublishDirective(AppUtil, EventManager) { FILE: apollo-portal/src/main/resources/static/scripts/directive/namespace-panel-directive.js function directive (line 19) | function directive($window, $translate, toastr, AppUtil, EventManager, P... FILE: apollo-portal/src/main/resources/static/scripts/directive/open-manage-grant-permission-modal-directive.js function grantPermissionModalDirective (line 19) | function grantPermissionModalDirective($translate, toastr, $sce, AppUtil... FILE: apollo-portal/src/main/resources/static/scripts/directive/publish-deny-modal-directive.js function publishDenyDirective (line 19) | function publishDenyDirective(AppUtil, EventManager) { FILE: apollo-portal/src/main/resources/static/scripts/directive/release-modal-directive.js function releaseModalDirective (line 19) | function releaseModalDirective($translate, toastr, AppUtil, EventManager... FILE: apollo-portal/src/main/resources/static/scripts/directive/rollback-modal-directive.js function rollbackModalDirective (line 19) | function rollbackModalDirective($translate, AppUtil, EventManager, Relea... FILE: apollo-portal/src/main/resources/static/scripts/directive/show-text-modal-directive.js function showTextModalDirective (line 70) | function showTextModalDirective(AppUtil) { FILE: apollo-portal/src/main/resources/static/scripts/services/EventManager.js function emit (line 33) | function emit(eventType, context, objectId) { function emitEventToSubscribers (line 53) | function emitEventToSubscribers(subscribers, context) { function subscribe (line 67) | function subscribe(eventType, callback, objectId) { function unsubscribe (line 91) | function unsubscribe(eventType, subscriberId, objectId) { FILE: apollo-portal/src/main/resources/static/scripts/services/NamespaceBranchService.js function find_namespace_branch (line 52) | function find_namespace_branch(appId, env, clusterName, namespaceName) { function create_branch (line 68) | function create_branch(appId, env, clusterName, namespaceName) { function delete_branch (line 84) | function delete_branch(appId, env, clusterName, namespaceName, branchNam... function merge_and_release_branch (line 101) | function merge_and_release_branch(appId, env, clusterName, namespaceName, function find_branch_gray_rules (line 124) | function find_branch_gray_rules(appId, env, clusterName, namespaceName, ... function update_branch_gray_rules (line 141) | function update_branch_gray_rules(appId, env, clusterName, FILE: apollo-portal/src/main/resources/static/scripts/services/NamespaceService.js function find_public_namespaces (line 72) | function find_public_namespaces() { function createNamespace (line 82) | function createNamespace(appId, namespaceCreationModel) { function createAppNamespace (line 94) | function createAppNamespace(appId, appnamespace, appendNamespacePrefix) { function getNamespacePublishInfo (line 107) | function getNamespacePublishInfo(appId) { function deleteLinkedNamespace (line 120) | function deleteLinkedNamespace(appId, env, clusterName, namespaceName) { function getPublicAppNamespaceAllNamespaces (line 138) | function getPublicAppNamespaceAllNamespaces(env, publicNamespaceName, pa... function loadAppNamespace (line 155) | function loadAppNamespace(appId, namespaceName) { function deleteAppNamespace (line 171) | function deleteAppNamespace(appId, namespaceName) { function getLinkedNamespaceUsage (line 187) | function getLinkedNamespaceUsage(appId, env, clusterName, namespaceName) { function getNamespaceUsage (line 204) | function getNamespaceUsage(appId, namespaceName) { function findPublicNamespaceNames (line 219) | function findPublicNamespaceNames() { FILE: apollo-portal/src/main/resources/static/scripts/services/PermissionService.js function initAppNamespacePermission (line 119) | function initAppNamespacePermission(appId, namespace) { function initClusterNsPermission (line 132) | function initClusterNsPermission(appId, env, clusterName) { function hasAppPermission (line 147) | function hasAppPermission(appId, permissionType) { function hasNamespacePermission (line 161) | function hasNamespacePermission(appId, namespaceName, permissionType) { function hasNamespaceEnvPermission (line 176) | function hasNamespaceEnvPermission(appId, env, namespaceName, permission... function hasClusterNsPermission (line 192) | function hasClusterNsPermission(appId, env, clusterName, permissionType) { function assignNamespaceRoleToUser (line 208) | function assignNamespaceRoleToUser(appId, namespaceName, roleType, user) { function assignNamespaceEnvRoleToUser (line 223) | function assignNamespaceEnvRoleToUser(appId, env, namespaceName, roleTyp... function removeNamespaceRoleFromUser (line 239) | function removeNamespaceRoleFromUser(appId, namespaceName, roleType, use... function removeNamespaceEnvRoleFromUser (line 255) | function removeNamespaceEnvRoleFromUser(appId, env, namespaceName, roleT... function assignClusterNsRoleToUser (line 272) | function assignClusterNsRoleToUser(appId, env, clusterName, roleType, us... function removeClusterNsRoleFromUser (line 288) | function removeClusterNsRoleFromUser(appId, env, clusterName, roleType, ... FILE: apollo-portal/src/main/resources/static/scripts/services/ReleaseHistoryService.js function findReleaseHistoryByNamespace (line 26) | function findReleaseHistoryByNamespace(appId, env, clusterName, namespac... FILE: apollo-portal/src/main/resources/static/scripts/services/ReleaseService.js function createRelease (line 51) | function createRelease(appId, env, clusterName, namespaceName, releaseTi... function createGrayRelease (line 70) | function createGrayRelease(appId, env, clusterName, namespaceName, branc... function get (line 90) | function get(env, releaseId) { function findAllReleases (line 103) | function findAllReleases(appId, env, clusterName, namespaceName, page, s... function findActiveReleases (line 120) | function findActiveReleases(appId, env, clusterName, namespaceName, page... function findLatestActiveRelease (line 137) | function findLatestActiveRelease(appId, env, clusterName, namespaceName) { function compare (line 160) | function compare(env, baseReleaseId, toCompareReleaseId) { function rollback (line 174) | function rollback(env, releaseId) { function rollbackTo (line 189) | function rollbackTo(env, releaseId, toReleaseId) { FILE: apollo-portal/src/main/resources/static/scripts/valdr.js function appValdr (line 20) | function appValdr(valdrProvider) { FILE: apollo-portal/src/main/resources/static/vendor/jquery-plugin/jquery.textareafullscreen.js function maxRelocate (line 158) | function maxRelocate(el) { function relocate (line 174) | function relocate(el) { FILE: apollo-portal/src/main/resources/static/vendor/ui-ace/ace.js function o (line 1) | function o(n){var i=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.defin... function o (line 1) | function o(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline... function u (line 1) | function u(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(v... function r (line 1) | function r(){} function w (line 1) | function w(e){try{return Object.defineProperty(e,"sentinel",{}),"sentine... function H (line 1) | function H(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-... function B (line 1) | function B(e){var t=typeof e;return e===null||t==="undefined"||t==="bool... function j (line 1) | function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="funct... function e (line 1) | function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t} function a (line 1) | function a(e,t,n){var a=u(t);if(!i.isMac&&s){t.getModifierState&&(t.getM... function f (line 1) | function f(){s=Object.create(null)} function i (line 1) | function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0... function c (line 1) | function c(e){t.getButton(e)!==0?o=0:e.detail>1?(o++,o>4&&(o=1)):o=1;if(... function h (line 1) | function h(e){o=2,f&&clearTimeout(f),f=setTimeout(function(){f=null},n[o... function x (line 1) | function x(e){if(m)return;m=!0;if(k)t=0,n=e?0:c.value.length-1;else var ... function T (line 1) | function T(){if(m)return;c.value=h,i.isWebKit&&S.schedule()} function R (line 1) | function R(){clearTimeout(q),q=setTimeout(function(){g&&(c.style.cssText... function w (line 1) | function w(e){if(p)return;p=!0;if(T)var t=0,r=e?0:n.value.length-1;else ... function E (line 1) | function E(){if(p)return;n.value=l,i.isWebKit&&b.schedule()} function F (line 1) | function F(){clearTimeout(j),j=setTimeout(function(){d&&(n.style.cssText... function a (line 1) | function a(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler(... function f (line 1) | function f(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))} function l (line 1) | function l(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.colum... function s (line 1) | function s(e){this.isOpen=!1,this.$element=null,this.$parentNode=e} function u (line 1) | function u(e){function l(){var r=u.getDocumentPosition().row,s=n.$annota... function a (line 1) | function a(e){o.call(this,e)} function f (line 1) | function f(e){function T(e,n){var r=Date.now(),i=!n||e.row!=n.row,s=!n||... function l (line 1) | function l(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))} function o (line 1) | function o(e){typeof console!="undefined"&&console.warn&&console.warn.ap... function u (line 1) | function u(e,t){var n=new Error(e);n.data=t,typeof console=="object"&&co... function f (line 1) | function f(r){if(!u||!u.document)return;a.packaged=r||e.packaged||n.pack... function l (line 1) | function l(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCas... function r (line 1) | function r(e){e.on("click",function(t){var n=t.getDocumentPosition(),r=e... function F (line 1) | function F(e,t,n,r){var i=s?d:p,c=null,h=null,v=null,m=0,g=null,y=null,b... function I (line 1) | function I(e,t,n){if(o>8;return n==0?t>191?g:B[t]:n==5... function U (line 1) | function U(e){return e>="\u064b"&&e<="\u0655"} function i (line 1) | function i(s){var o=r[s];o.processed=!0;for(var u=0;u=0&&t.row=0&&t.column<=... function s (line 1) | function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.actio... function e (line 1) | function e(e,t,n){var r=n?e.column<=t.column:e.column=4352&&e<=4447||e>=4515&&e<=4519||e>=46... function r (line 1) | function r(e){return t?e.action!=="insert":e.action==="insert"} function g (line 1) | function g(){var t=0;if(m===0)return t;if(p)for(var n=0;n>1,o=n(t,e[... function u (line 1) | function u(e,t,n){var r=e.getAnnotations().sort(s.comparePoints);if(!r.l... FILE: apollo-portal/src/main/resources/static/vendor/ui-ace/mode-xml.js function u (line 1) | function u(e,t){return e.type.lastIndexOf(t+".xml")>-1} function l (line 1) | function l(e,t){return e.type.lastIndexOf(t+".xml")>-1} FILE: apollo-portal/src/main/resources/static/vendor/ui-ace/worker-json.js function t (line 1) | function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")r... function r (line 1) | function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t} function i (line 1) | function i(e,t){return t.row>=0&&t.row=0&&t.column<=... function s (line 1) | function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.actio... function e (line 1) | function e(e,t,n){var r=n?e.column<=t.column:e.column0||-... function B (line 1) | function B(e){var t=typeof e;return e===null||t==="undefined"||t==="bool... function j (line 1) | function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="funct... function e (line 1) | function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t} FILE: apollo-portal/src/main/resources/static/vendor/ui-ace/worker-xml.js function t (line 1) | function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")r... function r (line 1) | function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t} function i (line 1) | function i(e,t){return t.row>=0&&t.row=0&&t.column<=... function s (line 1) | function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.actio... function e (line 1) | function e(e,t,n){var r=n?e.column<=t.column:e.column65535){e-=65536;var t=55296+(e>... function m (line 1) | function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.column... function g (line 1) | function g(e,t,n,r,i){var s,d,v=++t,m=o;for(;;){var g=e.charAt(v);switch... function y (line 1) | function y(e,t,n){var r=e.tagName,i=null,s=n[n.length-1].currentNSMap,o=... function b (line 1) | function b(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var s=e.index... function w (line 1) | function w(e,t,n,r){var i=r[n];return i==null&&(i=r[n]=e.lastIndexOf("",t);if(r){var i=e.substring(t,r).m... function T (line 1) | function T(e){} function N (line 1) | function N(e,t){return e.__proto__=t,e} function C (line 1) | function C(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/... function n (line 1) | function n(){} function r (line 1) | function r(e,t){for(var n in e)t[n]=e[n]} function i (line 1) | function i(e,t){var n=e.prototype;if(Object.create){var i=Object.create(... function B (line 1) | function B(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(thi... function j (line 1) | function j(){} function F (line 1) | function F(e,t){this._node=e,this._refresh=t,I(this)} function I (line 1) | function I(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=... function q (line 1) | function q(){} function R (line 1) | function R(e,t){var n=e.length;while(n--)if(e[n]===t)return n} function U (line 1) | function U(e,t,n,r){r?t[R(t,r)]=n:t[t.length++]=n;if(e){n.ownerElement=e... function z (line 1) | function z(e,t,n){var r=R(t,n);if(!(r>=0))throw B(L,new Error);var i=t.l... function W (line 1) | function W(e){this._features={};if(e)for(var t in e)this._features=e[t]} function X (line 1) | function X(){} function V (line 1) | function V(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=... function $ (line 1) | function $(e,t){if(t(e))return!0;if(e=e.firstChild)do if($(e,t))return!0... function J (line 1) | function J(){} function K (line 1) | function K(e,t,n){e&&e._inc++;var r=n.namespaceURI;r=="http://www.w3.org... function Q (line 1) | function Q(e,t,n,r){e&&e._inc++;var i=n.namespaceURI;i=="http://www.w3.o... function G (line 1) | function G(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.len... function Y (line 1) | function Y(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextS... function Z (line 1) | function Z(e,t,n){var r=t.parentNode;r&&r.removeChild(t);if(t.nodeType==... function et (line 1) | function et(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChil... function tt (line 1) | function tt(){this._nsMap={}} function nt (line 1) | function nt(){} function rt (line 1) | function rt(){} function it (line 1) | function it(){} function st (line 1) | function st(){} function ot (line 1) | function ot(){} function ut (line 1) | function ut(){} function at (line 1) | function at(){} function ft (line 1) | function ft(){} function lt (line 1) | function lt(){} function ct (line 1) | function ct(){} function ht (line 1) | function ht(){} function pt (line 1) | function pt(){} function dt (line 1) | function dt(e,t){switch(e.nodeType){case u:var n=e.attributes,r=n.length... function vt (line 1) | function vt(e,t,n){var r;switch(t.nodeType){case u:r=t.cloneNode(!1),r.o... function mt (line 1) | function mt(e,t,n){var r=new t.constructor;for(var i in t){var s=t[i];ty... function gt (line 1) | function gt(e,t,n){e[t]=n} function yt (line 1) | function yt(e){switch(e.nodeType){case 1:case 11:var t=[];e=e.firstChild... function s (line 1) | function s(e){this.options=e||{locator:{}}} function o (line 1) | function o(e,t,n){function s(t){var s=e[t];if(!s)if(i)s=e.length==2?func... function u (line 1) | function u(){this.cdata=!1} function a (line 1) | function a(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber} function f (line 1) | function f(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+"... function l (line 1) | function l(e,t,n){return typeof e=="string"?e.substr(t,n):e.length>=t+n|... function c (line 1) | function c(e,t){e.currentElement?e.currentElement.appendChild(t):e.docum... function r (line 1) | function r(){} function w (line 1) | function w(e){try{return Object.defineProperty(e,"sentinel",{}),"sentine... function H (line 1) | function H(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-... function B (line 1) | function B(e){var t=typeof e;return e===null||t==="undefined"||t==="bool... function j (line 1) | function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="funct... function e (line 1) | function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t} FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/ControllableAuthorizationConfiguration.java class ControllableAuthorizationConfiguration (line 31) | @Configuration method userInfoHolder (line 34) | @Primary method rolePermissionService (line 40) | @Primary method itemService (line 48) | @Primary FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/LocalPortalApplication.java class LocalPortalApplication (line 22) | @SpringBootApplication method main (line 24) | public static void main(String[] args) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/SkipAuthorizationConfiguration.java class SkipAuthorizationConfiguration (line 38) | @Profile("skipAuthorization") method consumerPermissionValidator (line 41) | @Primary method consumerAuthUtil (line 49) | @Primary method permissionValidator (line 63) | @Primary FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/auth/ConsumerPermissionValidatorTest.java class ConsumerPermissionValidatorTest (line 49) | @ExtendWith(MockitoExtension.class) method setUp (line 62) | @BeforeEach method testHasCreateAppNamespacePermission_ThrowsUnsupportedOperationException (line 72) | @Test method testIsSuperAdmin_ReturnsFalse (line 87) | @Test method testShouldHideConfigToCurrentUser_ThrowsUnsupportedOperationException (line 99) | @Test method testHasCreateApplicationPermission_UserHasPermission_ReturnsTrue (line 116) | @Test method testHasCreateApplicationPermission_UserHasNoPermission_ReturnsFalse (line 140) | @Test method testHasCreateApplicationPermission_RetrieveConsumerIdThrowsException_ThrowsException (line 164) | @Test method testHasCreateApplicationPermission_ConsumerHasPermissionThrowsException_ThrowsException (line 183) | @Test method testHasManageAppMasterPermission_NotSupported_ThrowsException (line 204) | @Test method testHasPermissions_UserHasPermission_ReturnsTrue (line 216) | @Test method testHasPermissions_UserHasNoPermission_ReturnsFalse (line 236) | @Test method testHasPermissions_RequiredPermsIsEmpty_ReturnsFalse (line 252) | @Test method testHasPermissions_RequiredPermsIsNull_ReturnsFalse (line 265) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/filter/ConsumerAuthenticationFilterTest.java class ConsumerAuthenticationFilterTest (line 53) | @RunWith(MockitoJUnitRunner.class) method setUp (line 71) | @Before method testAuthSuccessfully (line 76) | @Test method testAuthFailed (line 94) | @Test method testRateLimitSuccessfully (line 110) | @Test method testRateLimitPartFailure (line 141) | @Test method setupRateLimitMocks (line 178) | private void setupRateLimitMocks(String someToken, Long someConsumerId... method executeWithQps (line 189) | public static void executeWithQps(int qps, Runnable task, int duration... FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/service/ConsumerRolePermissionServiceTest.java class ConsumerRolePermissionServiceTest (line 32) | public class ConsumerRolePermissionServiceTest extends AbstractIntegrati... method setUp (line 36) | @Before method testConsumerHasPermission (line 41) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/service/ConsumerServiceIntegrationTest.java class ConsumerServiceIntegrationTest (line 37) | public class ConsumerServiceIntegrationTest extends AbstractIntegrationT... method testFindAppIdsAuthorizedByConsumerId (line 42) | @Test method testFindAllConsumer (line 53) | @Test method testDeleteConsumer (line 64) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/service/ConsumerServiceTest.java class ConsumerServiceTest (line 51) | @SpringBootTest method setUp (line 80) | @BeforeEach method testGetConsumerId (line 85) | @Test method testGetConsumerIdWithNullToken (line 98) | @Test method testGetConsumerByConsumerId (line 107) | @Test method testCreateConsumerToken (line 118) | @Test method testGenerateConsumerToken (line 128) | @Test method testGenerateAndEnrichConsumerToken (line 141) | @Test method testGenerateAndEnrichConsumerTokenWithConsumerNotFound (line 163) | @Test method testCreateConsumer (line 174) | @Test method testAssignNamespaceRoleToConsumer (line 188) | @Test method notAllowCreateApplication (line 246) | @Test method allowCreateApplication (line 270) | @Test method createConsumer (line 307) | private Consumer createConsumer(String name, String appId, String owne... method createRole (line 317) | private Role createRole(long roleId, String roleName) { method createConsumerRole (line 324) | private ConsumerRole createConsumerRole(long consumerId, long roleId) { method createUser (line 331) | private UserInfo createUser(String userId) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/util/ConsumerAuditUtilTest.java class ConsumerAuditUtilTest (line 43) | @RunWith(MockitoJUnitRunner.class) method setUp (line 53) | @Before method tearDown (line 61) | @After method audit (line 66) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/util/ConsumerAuthUtilTest.java class ConsumerAuthUtilTest (line 34) | @RunWith(MockitoJUnitRunner.class) method setUp (line 42) | @Before method testGetConsumerId (line 47) | @Test method testStoreConsumerId (line 58) | @Test method testRetrieveConsumerId (line 67) | @Test method testRetrieveConsumerIdWithConsumerIdNotSet (line 77) | @Test(expected = IllegalStateException.class) method testRetrieveConsumerIdWithConsumerIdInvalid (line 82) | @Test(expected = IllegalStateException.class) FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AbstractControllerTest.java class AbstractControllerTest (line 35) | @RunWith(SpringJUnit4ClassRunner.class) method postConstruct (line 43) | @PostConstruct method url (line 52) | protected String url(String path) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerIntegrationTest.java class AppControllerIntegrationTest (line 38) | public class AppControllerIntegrationTest extends AbstractIntegrationTest { method testFindAppsAuthorized (line 40) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java class AppControllerParamBindLowLevelTest (line 65) | @RunWith(SpringRunner.class) method setUp (line 114) | @Before method setAuthentication (line 126) | @Before method clearAuthentication (line 134) | @After method createAppInEnv_shouldBind_env_query_body (line 140) | @Test method getAppsBySelf_shouldBind_page_size_and_ids (line 167) | @Test method updateApp_shouldBind_path_query_body (line 191) | @Test method deleteApp_shouldBind_path_and_query (line 209) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerTest.java class AppControllerTest (line 80) | @RunWith(SpringRunner.class) method setUpSecurityMocks (line 139) | @Before method tearDown (line 153) | @After method testFindAppsAuthorized (line 158) | @Test method testGetEnvClusterInfo (line 183) | @Test method testFindAppsByIds (line 208) | @Test method testFindAllApps (line 236) | @Test method testGetApp (line 254) | @Test method testGetAppNotFound (line 270) | @Test method testGetAppsBySelf (line 283) | @Test method testFindMissEnvs (line 315) | @Test method testUpdateApp (line 327) | @Test method testUpdateAppWithMismatchedAppId (line 352) | @Test method testDeleteApp (line 375) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ClusterControllerParamBindLowLevelTest.java class ClusterControllerParamBindLowLevelTest (line 55) | @RunWith(SpringRunner.class) method setUp (line 74) | @Before method setAuthentication (line 85) | @Before method clearAuthentication (line 93) | @After method getCluster_shouldBind_path (line 99) | @Test method createCluster_shouldBind_path_and_body (line 123) | @Test method deleteCluster_shouldBind_path_and_query (line 150) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ClusterControllerTest.java class ClusterControllerTest (line 57) | @RunWith(SpringRunner.class) method setUpSecurityMocks (line 79) | @Before method clearAuthentication (line 93) | @After method authenticate (line 99) | private void authenticate() { method testGetCluster (line 104) | @Test method testCreateCluster (line 126) | @Test method testCreateClusterWithAppIdMismatch (line 158) | @Test method testDeleteCluster (line 184) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/EnvControllerTest.java class EnvControllerTest (line 52) | @RunWith(SpringRunner.class) method setUpSecurityMocks (line 73) | @Before method clearAuthentication (line 87) | @After method authenticate (line 93) | private void authenticate() { method testGetEnvs (line 98) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerTest.java class NamespaceControllerTest (line 35) | @ActiveProfiles("skipAuthorization") method shouldFailWhenAppNamespaceNameIsInvalid (line 40) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerWithAuthorizationTest.java class NamespaceControllerWithAuthorizationTest (line 45) | public class NamespaceControllerWithAuthorizationTest extends AbstractCo... method testCreateAppNamespace (line 56) | @Ignore("need admin server for this case") method testCreateAppNamespaceUnauthorized (line 104) | @Test method testCreateAppNamespaceInvalidNamespaceName (line 127) | @Test method testCreateAppNamespaceWithoutAuthority (line 155) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/OrganizationControllerTest.java class OrganizationControllerTest (line 53) | @RunWith(SpringRunner.class) method setUpSecurityMocks (line 74) | @Before method clearAuthentication (line 88) | @After method authenticate (line 94) | private void authenticate() { method testGetOrganizations (line 99) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/AbstractIntegrationTest.java class AbstractIntegrationTest (line 32) | @RunWith(SpringJUnit4ClassRunner.class) method postConstruct (line 39) | @PostConstruct method url (line 48) | protected String url(String path) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/AbstractUnitTest.java class AbstractUnitTest (line 22) | @RunWith(MockitoJUnitRunner.Silent.class) FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/RetryableRestTemplateTest.java class RetryableRestTemplateTest (line 64) | public class RetryableRestTemplateTest extends AbstractUnitTest { method init (line 92) | @Before method testNoAdminServer (line 103) | @Test(expected = ServiceException.class) method testAllServerDown (line 111) | @Test(expected = ServiceException.class) method testOneServerDown (line 140) | @Test method testPostSocketTimeoutNotRetry (line 165) | @Test method testDelete (line 193) | @Test method testPut (line 208) | @Test method testPostObjectWithNoAccessToken (line 226) | @Test method testPostObjectWithAccessToken (line 252) | @Test method testPostObjectWithNoAccessTokenForEnv (line 284) | @Test method testPostEntityWithNoAccessToken (line 316) | @Test method testPostEntityWithAccessToken (line 347) | @Test method testGetEntityWithNoAccessToken (line 383) | @Test method testGetEntityWithAccessToken (line 407) | @Test method testGetEntityWithNoAccessTokenForEnv (line 437) | @Test method mockAdminServiceTokens (line 467) | private String mockAdminServiceTokens(Env env, String token) { method mockService (line 474) | private ServiceDTO mockService(String homeUrl) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/ServiceExceptionTest.java class ServiceExceptionTest (line 40) | public class ServiceExceptionTest extends AbstractUnitTest { method testAdminServiceException (line 50) | @Test method generateSampleApp (line 82) | private AppModel generateSampleApp() { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/AbstractPermissionValidatorTest.java class AbstractPermissionValidatorTest (line 35) | @RunWith(MockitoJUnitRunner.class) method setUp (line 43) | @Before method testHasModifyNamespacePermission_WhenNoPermission (line 48) | @Test method testHasReleaseNamespacePermission_WhenNoPermission (line 58) | @Test method testHasAssignRolePermission_WhenNoPermission (line 68) | @Test method testHasCreateNamespacePermission_WhenNoPermission (line 73) | @Test method testHasCreateAppNamespacePermission_WhenNoPermission (line 78) | @Test method testHasCreateClusterPermission_WhenNoPermission (line 83) | @Test method testIsSuperAdmin_WhenNoPermission (line 88) | @Test method testShouldHideConfigToCurrentUser_WhenNoPermission (line 93) | @Test method testHasCreateApplicationPermission_WhenNoPermission (line 99) | @Test method testHasManageAppMasterPermission_WhenNoPermission (line 104) | @Test method testHasModifyNamespacePermission_WhenWithPermission (line 109) | @Test method testHasReleaseNamespacePermission_WhenWithPermission (line 129) | @Test method testHasAssignRolePermission_WhenWithPermission (line 149) | @Test method testHasCreateNamespacePermission_WhenWithPermission (line 159) | @Test method testHasCreateClusterPermission_WhenWithPermission (line 169) | @Test method testShouldHideConfigToCurrentUser_WhenWithPermission (line 179) | @Test method testHasManageAppMasterPermission_WhenWithPermission (line 197) | @Test class AbstractPermissionValidatorImpl (line 207) | private static class AbstractPermissionValidatorImpl extends AbstractP... method hasCreateAppNamespacePermission (line 208) | @Override method isSuperAdmin (line 213) | @Override method hasCreateApplicationPermission (line 218) | @Override method hasManageAppMasterPermission (line 223) | @Override method hasPermissions (line 228) | @Override method hasCreateApplicationPermission (line 233) | @Override class AbstractPermissionValidatorWithPermissionsImpl (line 239) | private static class AbstractPermissionValidatorWithPermissionsImpl method AbstractPermissionValidatorWithPermissionsImpl (line 243) | AbstractPermissionValidatorWithPermissionsImpl(List allo... method hasCreateAppNamespacePermission (line 247) | @Override method isSuperAdmin (line 252) | @Override method hasCreateApplicationPermission (line 257) | @Override method hasManageAppMasterPermission (line 262) | @Override method hasPermissions (line 267) | @Override method hasCreateApplicationPermission (line 272) | @Override FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UnifiedPermissionValidatorTest.java class UnifiedPermissionValidatorTest (line 34) | @ExtendWith(MockitoExtension.class) method setUp (line 47) | @BeforeEach method tearDown (line 54) | @AfterEach method hasManageAppMasterPermission_UserAuthType_DelegatesToUserValidator (line 59) | @Test method hasManageAppMasterPermission_ConsumerAuthType_DelegatesToConsumerValidator (line 74) | @Test method hasManageAppMasterPermission_UnknownAuthType_ThrowsException (line 89) | @Test method hasCreateNamespacePermission_UserAuthType_UsesUserPermissionValidator (line 101) | @Test method hasCreateNamespacePermission_ConsumerAuthType_UsesConsumerPermissionValidator (line 116) | @Test method hasCreateNamespacePermission_UnknownAuthType_ThrowsIllegalStateException (line 131) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserIdentityContextHolderTest.java class UserIdentityContextHolderTest (line 25) | public class UserIdentityContextHolderTest { method setUp (line 27) | @BeforeEach method setAuthType_NonNullAuthType_ShouldSetCorrectly (line 33) | @Test method setAuthType_NullAuthType_ShouldSetCorrectly (line 40) | @Test method getAuthType_WhenNotSet_ShouldReturnNull (line 46) | @Test method getAuthType_WhenSet_ShouldReturnCorrectValue (line 53) | @Test method clear_ShouldRemoveAuthTypeHolderValue (line 63) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTest.java class UserPermissionValidatorTest (line 44) | @ExtendWith(MockitoExtension.class) method setUp (line 65) | @BeforeEach method hasCreateAppNamespacePermission_publicNamespace (line 76) | @Test method hasCreateAppNamespacePermission_privateNamespace_adminCanCreate (line 86) | @Test method hasCreateAppNamespacePermission_privateNamespace_adminCannotCreate_andUserIsSuperAdmin (line 99) | @Test method hasCreateAppNamespacePermission_privateNamespace_adminCannotCreate_andUserIsNotSuperAdmin (line 110) | @Test method isSuperAdmin_true (line 123) | @Test method isSuperAdmin_false (line 129) | @Test method shouldHideConfigToCurrentUser_publicNamespace (line 135) | @Test method shouldHideConfigToCurrentUser_userIsNotAppAdmin (line 146) | @Test method shouldHideConfigToCurrentUser_configViewNotMemberOnly (line 153) | @Test method hasCreateApplicationPermission_true (line 161) | @Test method hasCreateApplicationPermission_false (line 167) | @Test method hasManageAppMasterPermission_superAdmin (line 175) | @Test method hasManageAppMasterPermission_normalUser_withAssignRole_andManageAppMaster (line 181) | @Test method hasManageAppMasterPermission_normalUser_withoutManageAppMaster (line 193) | @Test method hasPermissions_match (line 205) | @Test method hasPermissions_notMatch (line 213) | @Test method hasReleaseNamespacePermission_match (line 221) | @Test method hasPermissions_emptyList (line 228) | @Test method shouldHideConfigToCurrentUser_envNormalization_prodAlias (line 239) | @Test method shouldHideConfigToCurrentUser_envNormalization_localAlias (line 256) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java class UserPermissionValidatorTestSupplement (line 45) | @ExtendWith(MockitoExtension.class) method setUp (line 66) | @BeforeEach method shouldHideConfigToCurrentUser_envNormalization_fatAndFwsAliases (line 80) | @Test method shouldHideConfigToCurrentUser_envNormalization_lptAlias (line 102) | @Test method shouldHideConfigToCurrentUser_envNormalization_toolsAlias (line 118) | @Test method shouldHideConfigToCurrentUser_envNormalization_devAlias (line 134) | @Test method shouldHideConfigToCurrentUser_envNormalization_uatAlias (line 150) | @Test method shouldHideConfigToCurrentUser_emptyString_throwsBadRequestException (line 168) | @Test method shouldHideConfigToCurrentUser_whitespaceStrings_throwsBadRequestException (line 178) | @Test method shouldHideConfigToCurrentUser_specialCharacters_throwsBadRequestException (line 199) | @Test method shouldHideConfigToCurrentUser_extraLongString_throwsBadRequestException (line 219) | @Test method shouldHideConfigToCurrentUser_mixedCaseVariations (line 230) | @Test method shouldHideConfigToCurrentUser_invalidEnv_throwsBadRequestException (line 253) | @Test method shouldHideConfigToCurrentUser_randomString_throwsBadRequestException (line 263) | @Test method shouldHideConfigToCurrentUser_endToEnd_prodToPRO (line 276) | @Test method shouldHideConfigToCurrentUser_consistency_allProdVariants (line 293) | @Test method shouldHideConfigToCurrentUser_consistency_fwsAndFat (line 310) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/PortalConfigTest.java class PortalConfigTest (line 37) | @ExtendWith(MockitoExtension.class) method setUp (line 45) | @BeforeEach method isConfigViewMemberOnly_prodAliases (line 56) | @Test method isConfigViewMemberOnly_fatAndFwsAliases (line 75) | @Test method isConfigViewMemberOnly_localAlias (line 97) | @Test method isConfigViewMemberOnly_devAlias (line 112) | @Test method isConfigViewMemberOnly_uatAlias (line 127) | @Test method isConfigViewMemberOnly_lptAlias (line 142) | @Test method isConfigViewMemberOnly_toolsAlias (line 157) | @Test method isConfigViewMemberOnly_emptyString_returnsFalse (line 174) | @Test method isConfigViewMemberOnly_whitespaceStrings_returnsFalse (line 183) | @Test method isConfigViewMemberOnly_specialCharacters_returnsFalse (line 198) | @Test method isConfigViewMemberOnly_extraLongString_returnsFalse (line 213) | @Test method isConfigViewMemberOnly_mixedCaseVariations (line 222) | @Test method isConfigViewMemberOnly_invalidEnv_returnsFalse (line 242) | @Test method isConfigViewMemberOnly_randomString_returnsFalse (line 251) | @Test method isConfigViewMemberOnly_nullEnv_returnsFalse (line 259) | @Test method isConfigViewMemberOnly_consistency_allProdVariants (line 270) | @Test method isConfigViewMemberOnly_consistency_fwsAndFat (line 286) | @Test method isConfigViewMemberOnly_consistency_invalidEnvAlwaysFalse (line 302) | @Test method isConfigViewMemberOnly_endToEnd_prodToPRO (line 317) | @Test method isConfigViewMemberOnly_multipleEnvs (line 333) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/txtresolver/FileTextResolverTest.java class FileTextResolverTest (line 30) | public class FileTextResolverTest extends AbstractUnitTest { method testCreateItem (line 38) | @Test method testUpdateItem (line 51) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/txtresolver/PropertyResolverTest.java class PropertyResolverTest (line 33) | public class PropertyResolverTest extends AbstractUnitTest { method testEmptyText (line 38) | @Test method testRepeatKey (line 47) | @Test method testAddItemBeforeNoItem (line 56) | @Test method testAddItemBeforeHasItem (line 62) | @Test method testAddCommentAndBlankItem (line 71) | @Test method testChangeItemNumLine (line 78) | @Test method testDeleteItem (line 84) | @Test method testDeleteCommentItem (line 91) | @Test method testDeleteBlankItem (line 100) | @Test method testUpdateItem (line 109) | @Test method testUpdateCommentItem (line 118) | @Test method testAllSituation (line 128) | @Test method mockBaseItemHas3Key (line 140) | private List mockBaseItemHas3Key() { method mockBaseItemWith2Key1Comment1Blank (line 153) | private List mockBaseItemWith2Key1Comment1Blank() { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/config/ConfigTest.java class ConfigTest (line 33) | public class ConfigTest extends AbstractUnitTest { method setUp (line 42) | @Before method testGetNotExistValue (line 48) | @Test method testGetArrayProperty (line 58) | @Test method testGetBooleanProperty (line 73) | @Test method testGetIntProperty (line 85) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ClusterControllerTest.java class ClusterControllerTest (line 39) | @RunWith(MockitoJUnitRunner.class) method shouldCreateClusterWithCurrentOperator (line 54) | @Test method shouldDeleteClusterByEnvAndName (line 75) | @Test method shouldLoadClusterFromService (line 84) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/CommitControllerTest.java class CommitControllerTest (line 34) | public class CommitControllerTest extends AbstractIntegrationTest { method shouldFailWhenPageOrSiseIsNegative (line 36) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConfigsExportControllerTest.java class ConfigsExportControllerTest (line 51) | @RunWith(MockitoJUnitRunner.class) method shouldExportNamespaceWithPropertiesSuffixWhenMissing (line 63) | @Test method shouldExportNamespaceKeepOriginalSuffixWhenFormatIsValid (line 81) | @Test method shouldWrapExportNamespaceIOExceptionAsServiceException (line 99) | @Test(expected = ServiceException.class) method shouldExportAllConfigsWithParsedEnvs (line 114) | @Test method shouldExportAppConfigByEnvAndCluster (line 137) | @Test method itemBO (line 158) | private ItemBO itemBO(String key, String value) { class FailingServletOutputStream (line 167) | private static class FailingServletOutputStream extends ServletOutputS... method write (line 169) | @Override method isReady (line 174) | @Override method setWriteListener (line 179) | @Override FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConfigsImportControllerTest.java class ConfigsImportControllerTest (line 47) | @RunWith(MockitoJUnitRunner.class) method setUp (line 64) | @Before method shouldImportConfigFileWithStandardizedFilename (line 69) | @Test method shouldUseDefaultIgnoreConflictActionWhenImportingAllConfigs (line 82) | @Test method shouldParseCoverConflictActionWhenImportingAllConfigs (line 99) | @Test method shouldRejectInvalidConflictActionWhenImportingAllConfigs (line 112) | @Test(expected = BadRequestException.class) method shouldUseDefaultIgnoreConflictActionWhenImportingAppConfigs (line 120) | @Test method shouldRejectInvalidConflictActionWhenImportingAppConfigs (line 137) | @Test(expected = BadRequestException.class) method zipBytes (line 145) | private byte[] zipBytes(String entryName, String content) throws IOExc... FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConsumerControllerTest.java class ConsumerControllerTest (line 28) | class ConsumerControllerTest { method createWithBadRequest (line 30) | @Test method createWithCompatibility (line 53) | @Test method createAndAssignCreateApplicationRoleToConsumer (line 72) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/EnvControllerTest.java class EnvControllerTest (line 32) | @RunWith(MockitoJUnitRunner.class) method shouldReturnActiveEnvNames (line 41) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/GlobalSearchControllerTest.java class GlobalSearchControllerTest (line 44) | @RunWith(MockitoJUnitRunner.class) method setUp (line 60) | @Before method testGet_ItemInfo_BySearch_WithKeyAndValueAndActiveEnvs_ReturnEmptyItemInfos (line 66) | @Test method testGet_ItemInfo_BySearch_WithKeyAndValueAndActiveEnvs_ReturnExpectedItemInfos_ButOverPerEnvLimit (line 79) | @Test method testGet_ItemInfo_BySearch_WithKeyAndValueAndActiveEnvs_ReturnExpectedItemInfos (line 112) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/InstanceControllerTest.java class InstanceControllerTest (line 49) | @RunWith(MockitoJUnitRunner.class) method setUp (line 63) | @Before method shouldUseDefaultPageAndSizeForGetByRelease (line 68) | @Test method shouldParseReleaseIdsAndDeduplicateWhenQueryingInstances (line 80) | @Test method shouldRejectEmptyReleaseIds (line 97) | @Test(expected = BadRequestException.class) method shouldReturnInstanceCountByNamespace (line 102) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ItemControllerAuthIntegrationTest.java class ItemControllerAuthIntegrationTest (line 55) | @RunWith(SpringJUnit4ClassRunner.class) method postConstruct (line 78) | @PostConstruct method url (line 84) | protected String url(String path) { method testCreateItemPermissionDenied (line 91) | @Test method testCreateItemPermissionAccessed (line 110) | @Test method setUserId (line 129) | void setUserId(String userId) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ItemControllerTest.java class ItemControllerTest (line 37) | @RunWith(MockitoJUnitRunner.class) method setUp (line 52) | @Before method yamlSyntaxCheckOK (line 58) | @Test method yamlSyntaxCheckWithDuplicatedValue (line 65) | @Test(expected = BadRequestException.class) method yamlSyntaxCheckWithUnsupportedType (line 72) | @Test(expected = BadRequestException.class) method assemble (line 79) | private NamespaceTextModel assemble(String format, String content) { method loadYaml (line 87) | private String loadYaml(String caseName) throws IOException { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceLockControllerTest.java class NamespaceLockControllerTest (line 33) | @RunWith(MockitoJUnitRunner.class) method shouldGetNamespaceLock (line 42) | @Test method shouldGetNamespaceLockInfo (line 55) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/OrganizationControllerTest.java class OrganizationControllerTest (line 33) | @RunWith(MockitoJUnitRunner.class) method shouldLoadOrganizationsFromPortalConfig (line 42) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/PageSettingControllerTest.java class PageSettingControllerTest (line 30) | @RunWith(MockitoJUnitRunner.class) method shouldBuildPageSettingFromPortalConfig (line 39) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/PermissionControllerTest.java class PermissionControllerTest (line 47) | @ActiveProfiles("skipAuthorization") method setUp (line 63) | @Before method testClusterNamespaceRoleLifeCycle (line 71) | @Test method testEnvNameNormalizationForClusterRoles (line 133) | @Test method testProdEnvNormalizationForClusterRoles (line 154) | @Test method testEnvNormalizationForNamespacePermissionCheck (line 181) | @Test method testEnvNormalizationForClusterNamespacePermissionCheck (line 216) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/PrefixPathControllerTest.java class PrefixPathControllerTest (line 30) | @RunWith(MockitoJUnitRunner.class) method shouldReturnConfiguredPrefixPath (line 39) | @Test method shouldFallbackToServletContextPathWhenPrefixPathIsEmpty (line 48) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseHistoryControllerTest.java class ReleaseHistoryControllerTest (line 37) | @RunWith(MockitoJUnitRunner.class) method shouldReturnEmptyListWhenConfigShouldBeHidden (line 49) | @Test method shouldDelegateToServiceWhenConfigIsVisible (line 62) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/SearchControllerTest.java class SearchControllerTest (line 49) | @RunWith(MockitoJUnitRunner.class) method testSearchByEmptyKey (line 63) | @Test method testSearchApp (line 70) | @Test method testSearchItemSwitch (line 85) | @Test method testSearchItem (line 102) | @Test method genPageApp (line 128) | private PageDTO genPageApp(int size, Pageable pageable, int total) { method genPageNamespace (line 137) | private PageDTO genPageNamespace(int size, Pageable page... FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ServerConfigControllerTest.java class ServerConfigControllerTest (line 44) | @ActiveProfiles("skipAuthorization") method shouldSuccessWhenParameterValidForPortalDBConfig (line 52) | @Test method shouldFailWhenParameterInvalidForPortalDBConfig (line 64) | @Test method testFindEmpty (line 87) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/SignInControllerTest.java class SignInControllerTest (line 23) | public class SignInControllerTest { method shouldAlwaysReturnLoginPage (line 27) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/SsoHeartbeatControllerTest.java class SsoHeartbeatControllerTest (line 30) | @RunWith(MockitoJUnitRunner.class) method shouldDelegateHeartbeatToHandler (line 45) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/SystemInfoControllerTest.java class SystemInfoControllerTest (line 43) | @RunWith(MockitoJUnitRunner.class) method setUp (line 61) | @Before method shouldBuildSystemInfoWithEnvironmentDetails (line 67) | @Test method shouldRecordErrorMessageWhenLoadingServicesFails (line 92) | @Test method shouldCheckHealthForMatchedInstance (line 110) | @Test method shouldThrowWhenInstanceIdDoesNotExist (line 131) | @Test(expected = IllegalArgumentException.class) method service (line 145) | private ServiceDTO service(String instanceId, String homepageUrl) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/UserInfoControllerTest.java class UserInfoControllerTest (line 35) | @RunWith(MockitoJUnitRunner.class) method testCreateOrUpdateUserForAdmin (line 49) | @Test method testDisableUserForAdmin (line 63) | @Test method testUpdateUserForNoAdmin (line 77) | @Test method testUpdateOtherUserFailedForNoAdmin (line 97) | @Test(expected = UnsupportedOperationException.class) method testDisableUserFailedForNoAdmin (line 114) | @Test(expected = UnsupportedOperationException.class) method testDisableOtherUserFailedForNoAdmin (line 132) | @Test(expected = UnsupportedOperationException.class) method testCreateOrUpdateUserFailed (line 150) | @Test(expected = BadRequestException.class) FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/environment/BaseIntegrationTest.java class BaseIntegrationTest (line 33) | public abstract class BaseIntegrationTest { method startServerWithHandlers (line 40) | protected Server startServerWithHandlers(ContextHandler... handlers) t... method tearDown (line 53) | @After method mockServerHandler (line 60) | ContextHandler mockServerHandler(final int statusCode, final String re... method findFreePort (line 85) | static int findFreePort() { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/environment/DatabasePortalMetaServerProviderTest.java class DatabasePortalMetaServerProviderTest (line 32) | @RunWith(MockitoJUnitRunner.class) method setUp (line 41) | @Before method testGetMetaServerAddress (line 53) | @Test method testExists (line 68) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/environment/DefaultPortalMetaServerProviderTest.java class DefaultPortalMetaServerProviderTest (line 28) | public class DefaultPortalMetaServerProviderTest extends AbstractUnitTest { method setUp (line 32) | @Before method tearDown (line 37) | @After method testFromPropertyFile (line 43) | @Test method testDynamicEnvironmentFromSystemProperty (line 54) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/environment/EnvTest.java class EnvTest (line 29) | public class EnvTest { method exist (line 31) | @Test method addEnv (line 38) | @Test method valueOf (line 46) | @Test(expected = IllegalArgumentException.class) method testEquals (line 55) | @Test method testEqualsWithRuntimeException (line 63) | @Test(expected = RuntimeException.class) method testEqualWithoutException (line 76) | @Test method testToString (line 84) | @Test method name (line 89) | @Test method getName (line 94) | @Test method testTransformEnvBlank (line 101) | @Test method testTransformEnvSpecialCase (line 108) | @Test method testTransformEnvNotExist (line 119) | @Test method testTransformEnvValid (line 125) | @Test method testTransformEnvWithTrailingAndLeadingBlankValid (line 146) | @Test method testAddEnvironmentBlankString (line 175) | @Test(expected = RuntimeException.class) method testAddEnvironmentNullString (line 180) | @Test(expected = RuntimeException.class) method testAddEnvironmentSpacesString (line 185) | @Test(expected = RuntimeException.class) method testExistsForBlankName (line 190) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/environment/PortalMetaDomainServiceTest.java class PortalMetaDomainServiceTest (line 33) | @RunWith(MockitoJUnitRunner.class) method init (line 40) | @Before method testGetMetaDomain (line 49) | @Test method testGetValidAddress (line 63) | @Test method testInvalidAddress (line 79) | @Test method mockMetaServerAddress (line 94) | private void mockMetaServerAddress(Env env, String metaServerAddress) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/filter/PortalOpenApiAuthenticationScenariosTest.java class PortalOpenApiAuthenticationScenariosTest (line 69) | @RunWith(org.springframework.test.context.junit4.SpringRunner.class) class TestApplication (line 80) | @SpringBootApplication class TestSecurityConfiguration (line 87) | @Configuration method testSecurityFilterChain (line 93) | @Bean method userDetailsService (line 108) | @Bean class TestControllerConfiguration (line 115) | @Configuration class PortalTestController (line 120) | @RestController method loadPortalCluster (line 124) | @GetMapping("/apps/{appId}/envs/{env}/clusters/{clusterName}") class OpenApiTestController (line 131) | @RestController method loadOpenApiCluster (line 135) | @GetMapping("/openapi/v1/envs/{env}/apps/{appId}/clusters/{cluster... method tearDown (line 152) | @After method portalRequestWithValidSession_shouldReturnOk (line 158) | @Test method portalRequestWithExpiredSession_shouldRedirectToSignin (line 165) | @Test method openApiRequestWithPortalSession_shouldReturnOk (line 176) | @Test method openApiRequestWithExpiredSession_shouldFollowProfileSpecificHandling (line 184) | @Test method openApiRequestWithValidToken_shouldReturnOk (line 203) | @Test method openApiRequestWithoutLoginOrToken_shouldReturn401 (line 219) | @Test method assertOidcExpiredSessionIsUnauthorized (line 227) | private void assertOidcExpiredSessionIsUnauthorized(String uri) throws... FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/filter/UserTypeResolverFilter.java class UserTypeResolverFilter (line 29) | public class UserTypeResolverFilter extends OncePerRequestFilter { method doFilterInternal (line 31) | @Override FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceServiceTest.java class AppNamespaceServiceTest (line 32) | public class AppNamespaceServiceTest extends AbstractIntegrationTest { method testFindPublicAppNamespace (line 39) | @Test method testFindPublicAppNamespaceByName (line 52) | @Test method testFindPublicAppNamespaceByAppAndName (line 63) | @Test method testCreateDefaultAppNamespace (line 75) | @Test method testCreatePublicAppNamespaceExisted (line 88) | @Test(expected = BadRequestException.class) method testCreatePublicAppNamespaceExistedAsPrivateAppNamespace (line 101) | @Test(expected = BadRequestException.class) method testCreatePublicAppNamespaceNotExistedWithNoAppendnamespacePrefix (line 114) | @Test method testCreatePublicAppNamespaceExistedWithNoAppendnamespacePrefix (line 131) | @Test(expected = BadRequestException.class) method testCreatePublicAppNamespaceNotExisted (line 144) | @Test method testCreatePublicAppNamespaceWithWrongFormatNotExisted (line 161) | @Test method testCreatePrivateAppNamespaceExisted (line 181) | @Test(expected = BadRequestException.class) method testCreatePrivateAppNamespaceExistedInAnotherAppId (line 194) | @Test method testCreatePrivateAppNamespaceExistedInAnotherAppIdAsPublic (line 213) | @Test(expected = BadRequestException.class) method testCreatePrivateAppNamespaceNotExisted (line 227) | @Test method assembleBaseAppNamespace (line 244) | private AppNamespace assembleBaseAppNamespace() { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppServiceTest.java class AppServiceTest (line 49) | @Execution(ExecutionMode.SAME_THREAD) method beforeEach (line 84) | @BeforeEach method createAppAndAddRolePermissionButAppAlreadyExists (line 95) | @Test method createAppAndAddRolePermissionButOwnerNotExists (line 103) | @Test method createAppAndAddRolePermission (line 110) | @Test method testDeleteAppInLocal (line 146) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/ConfigServiceTest.java class ConfigServiceTest (line 49) | public class ConfigServiceTest extends AbstractUnitTest { method setup (line 65) | @Before method testUpdateConfigByText (line 70) | @Test method mockNamespaceModel (line 97) | private NamespaceTextModel mockNamespaceModel(String appId, String clu... method testUpdateConfigByTextWithInvalidNamespaceId (line 110) | @Test(expected = BadRequestException.class) method mockBaseItemHas3Key (line 141) | private List mockBaseItemHas3Key() { method testCompareTargetNamespaceHasNoItems (line 148) | @Test method testCompare (line 183) | @Test method generateNamespaceDTO (line 249) | private NamespaceDTO generateNamespaceDTO(String appId, String cluster... method generateNamespaceIdentifier (line 259) | private List generateNamespaceIdentifier(String a... FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/ConfigsExportServiceTest.java class ConfigsExportServiceTest (line 62) | public class ConfigsExportServiceTest extends AbstractUnitTest { method testNamespaceExportImport (line 90) | @Test method testNamespaceExportImportWithFillItemDetail (line 96) | @Test method testAppConfigExportImportWithFillItemDetail (line 102) | @Test method testExportImportScenario (line 107) | private void testExportImportScenario(boolean fillItemDetail) throws F... method testAppConfigExportImportScenario (line 231) | private void testAppConfigExportImportScenario() throws FileNotFoundEx... method genApp (line 335) | private App genApp(String name, String appId, String orgId, String org... method genCluster (line 345) | private ClusterDTO genCluster(String name, String appId) { method genAppNamespace (line 352) | private AppNamespace genAppNamespace(String appId, String name, boolea... method genNamespace (line 361) | private NamespaceBO genNamespace(App app, ClusterDTO clusterDTO, List<... method genItem (line 377) | private ItemBO genItem(String key, String value) { method genNamespaceDTO (line 389) | private NamespaceDTO genNamespaceDTO(long id) { method genUser (line 395) | private UserInfo genUser() { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/FavoriteServiceTest.java class FavoriteServiceTest (line 33) | public class FavoriteServiceTest extends AbstractIntegrationTest { method before (line 42) | @Before method testAddNormalFavorite (line 47) | @Test method testAddFavoriteErrorUser (line 65) | @Test(expected = BadRequestException.class) method testSearchByUserId (line 73) | @Test method testSearchByAppId (line 82) | @Test method testSearchByAppIdAndUserId (line 91) | @Test method testSearchWithErrorParams (line 101) | @Test(expected = BadRequestException.class) method testDeleteFavorite (line 109) | @Test method testDeleteFavoriteFail (line 119) | @Test(expected = BadRequestException.class) method testAdjustFavoriteError (line 129) | @Test(expected = BadRequestException.class) method testAdjustFavorite (line 138) | @Test method instanceOfFavorite (line 155) | private Favorite instanceOfFavorite(String userId, String appId) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/GlobalSearchServiceTest.java class GlobalSearchServiceTest (line 50) | @RunWith(MockitoJUnitRunner.class) method setUp (line 64) | @Before method testGet_PerEnv_ItemInfo_BySearch_withKeyAndValue_ReturnExpectedItemInfos (line 69) | @Test method testGet_PerEnv_ItemInfo_withKeyAndValue_BySearch_ReturnEmptyItemInfos (line 100) | @Test method testGet_PerEnv_ItemInfo_BySearch_withKeyAndValue_ReturnExpectedItemInfos_ButOverPerEnvLimit (line 112) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/NamespaceServiceTest.java class NamespaceServiceTest (line 59) | public class NamespaceServiceTest extends AbstractUnitTest { method setup (line 92) | @Before method testFindNamespace (line 95) | @Test method testDeletePrivateNamespace (line 164) | @Test method testGetNamespaceUsage (line 180) | @Test method testDeleteEmptyNamespace (line 220) | @Test method testLoadNamespaceBO (line 250) | @Test method testLoadNamespaceBOWithoutItemDetail (line 262) | @Test method loadNamespaceBO (line 270) | private NamespaceBO loadNamespaceBO(boolean fillItemDetail) { method testFindPublicNamespaceForAssociatedNamespace (line 285) | @Test method testLoadNamespaceBOWithDeletedItems (line 300) | @Test method testLoadNamespaceBOWithoutDeletedItems (line 335) | @Test method testLoadNamespaceBONamespaceNotFound (line 362) | @Test method testLoadNamespaceBONoLatestRelease (line 370) | @Test method testLoadNamespaceBONoItems (line 385) | @Test method testLoadNamespaceBOWithPublicNamespace (line 411) | @Test method testLoadNamespaceBOWithPrivateNamespace (line 435) | @Test method testLoadNamespaceBOWithDirtyAppNamespace (line 456) | @Test method testLoadNamespaceBOItemModifiedCountCalculation (line 472) | @Test method createReleaseDTO (line 499) | private ReleaseDTO createReleaseDTO() { method createItems (line 505) | private List createItems() { method createDeletedItems (line 524) | private List createDeletedItems() { method createAppNamespace (line 534) | private AppNamespace createAppNamespace(String appId, String name, boo... method createNamespace (line 544) | private NamespaceDTO createNamespace(String appId, String clusterName,... method createUser (line 554) | private UserInfo createUser(String userId) { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/defaultImpl/RoleInitializationServiceTest.java class RoleInitializationServiceTest (line 41) | public class RoleInitializationServiceTest extends AbstractUnitTest { method testInitAppRoleHasInitBefore (line 60) | @Test method testInitAppRole (line 71) | @Test method testInitNamespaceRoleHasExisted (line 88) | @Test method testInitNamespaceRoleNotExisted (line 106) | @Test method testInitNamespaceRoleModifyNSExisted (line 125) | @Test method testInitClusterNsRole (line 145) | @Test method testInitClusterNsRoleHasExisted (line 168) | @Test method testInitClusterNsRoleModifyNamespacesInClusterExisted (line 188) | @Test method testInitClusterNsRoleReleaseNamespacesInClusterExisted (line 211) | @Test method mockApp (line 234) | private App mockApp() { method mockRole (line 245) | private Role mockRole(String roleName) { method mockUser (line 251) | private UserInfo mockUser() { method mockPermission (line 257) | private Permission mockPermission() { method mockPortalSupportedEnvs (line 264) | private List mockPortalSupportedEnvs() { FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/defaultImpl/RolePermissionServiceTest.java class RolePermissionServiceTest (line 51) | public class RolePermissionServiceTest extends AbstractIntegrationTest { method setUp (line 71) | @Before method testCreatePermission (line 77) | @Test method testCreatePermissionWithPermissionExisted (line 93) | @Test(expected = IllegalStateException.class) method testCreatePermissions (line 106) | @Test method testCreatePermissionsWithPermissionsExisted (line 138) | @Test(expected = IllegalStateException.class) method testCreateRoleWithPermissions (line 154) | @Test method testCreateRoleWithPermissionsWithRoleExisted (line 178) | @Test(expected = IllegalStateException.class) method testAssignRoleToUsers (line 189) | @Test method testAssignRoleToUsersWithRoleNotExists (line 216) | @Test(expected = IllegalStateException.class) method testAssignRoleToUsersWithUserRolesExisted (line 228) | @Test method testRemoveRoleFromUsers (line 257) | @Test method testRemoveRoleFromUsersWithRoleNotExisted (line 280) | @Test(expected = IllegalStateException.class) method testQueryUsersWithRole (line 294) | @Test method testUserHasPermission (line 311) | @Test method testHasAnyPermissionIncludesSuperAdmin (line 345) | @Test method testDeleteRolePermissionsByAppIdWithClusterRoles (line 367) | @Test method assembleRole (line 387) | private Role assembleRole(String roleName) { method assemblePermission (line 396) | private Permission assemblePermission(String permissionType, String ta... FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/util/AuthUserPasswordCheckerTest.java class AuthUserPasswordCheckerTest (line 33) | public class AuthUserPasswordCheckerTest { method testRegexMatch (line 35) | @Test method testIsWeakPassword (line 57) | @Test method testIsWeakPassword2 (line 96) | @Test method testIsWeakPassword3 (line 122) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/util/ConfigFileUtilsTest.java class ConfigFileUtilsTest (line 27) | public class ConfigFileUtilsTest { method checkFormat (line 31) | @Test method checkFormatWithException0 (line 38) | @Test(expected = BadRequestException.class) method checkFormatWithException1 (line 43) | @Test(expected = BadRequestException.class) method checkFormatWithException2 (line 48) | @Test(expected = BadRequestException.class) method getFormat (line 53) | @Test method getAppId (line 63) | @Test method getClusterName (line 73) | @Test method getNamespace (line 83) | @Test method toFilename (line 92) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/util/KeyValueUtilsTest.java class KeyValueUtilsTest (line 27) | public class KeyValueUtilsTest { method testFilterWithKeyEndswith (line 29) | @Test method testRemoveKeySuffix (line 44) | @Test FILE: apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/util/RoleUtilsTest.java class RoleUtilsTest (line 23) | public class RoleUtilsTest { method testExtractAppIdFromMasterRoleName (line 25) | @Test method testExtractAppIdFromRoleName (line 34) | @Test FILE: apollo-portal/src/test/resources/static/scripts/test_hasDuplicateKeys.js function hasDuplicateKeys (line 24) | function hasDuplicateKeys(text) { function runTests (line 96) | function runTests() { FILE: docs/scripts/multiple-language-redirect.js function findCurrentLanguagePrefix (line 27) | function findCurrentLanguagePrefix(languagePrefixs, path) { function generateLanguagePrefix2Path (line 40) | function generateLanguagePrefix2Path(languagePrefixs, path) { function findTranslationsListItem (line 52) | function findTranslationsListItem(translationsListItemName) { function walkElementInTranslationsListItem (line 77) | function walkElementInTranslationsListItem(translationsListItem, element... function removeSharpPrefixInHref (line 84) | function removeSharpPrefixInHref(href) { function addSharpToPrefix (line 93) | function addSharpToPrefix(path) { function resolveLanguagePrefixsFromListItem (line 106) | function resolveLanguagePrefixsFromListItem(translationsListItem) { function changeLinkInTranslationsListItem (line 118) | function changeLinkInTranslationsListItem(currrentPath, translationsList... function generateMultipleLanguagesNavbarPluginByListItemName (line 136) | function generateMultipleLanguagesNavbarPluginByListItemName(name) { FILE: e2e/portal-e2e/tests/helpers/auth-helpers.js constant DEFAULT_BASE_URL (line 19) | const DEFAULT_BASE_URL = process.env.BASE_URL || 'http://127.0.0.1:8070'; constant MODE_LDAP (line 21) | const MODE_LDAP = 'ldap'; constant MODE_OIDC (line 22) | const MODE_OIDC = 'oidc'; constant SESSION_COOKIE_NAME (line 23) | const SESSION_COOKIE_NAME = 'SESSION'; function resolveAuthMode (line 25) | function resolveAuthMode() { function getAuthUsers (line 35) | function getAuthUsers() { function getBaseUrl (line 71) | function getBaseUrl() { function loginByMode (line 75) | async function loginByMode(page, options = {}) { function expectLoginFailureByMode (line 84) | async function expectLoginFailureByMode(page, options = {}) { function loginByForm (line 93) | async function loginByForm(page, options = {}) { function expectFormLoginFailure (line 117) | async function expectFormLoginFailure(page, options = {}) { function waitForOidcLoginPage (line 141) | async function waitForOidcLoginPage(page) { function loginByOidc (line 157) | async function loginByOidc(page, options = {}) { function expectOidcLoginFailure (line 183) | async function expectOidcLoginFailure(page, options = {}) { function warmUpOidcSecondaryUser (line 200) | async function warmUpOidcSecondaryUser(browser, options = {}) { FILE: e2e/portal-e2e/tests/helpers/portal-helpers.js constant USERNAME (line 19) | const USERNAME = process.env.PORTAL_USERNAME || 'apollo'; constant PASSWORD (line 20) | const PASSWORD = process.env.PORTAL_PASSWORD || 'admin'; constant DEFAULT_SUCCESS_STATUSES (line 21) | const DEFAULT_SUCCESS_STATUSES = [200, 201, 202, 204]; constant DEFAULT_ENV (line 22) | const DEFAULT_ENV = 'LOCAL'; constant DEFAULT_CLUSTER (line 23) | const DEFAULT_CLUSTER = 'default'; constant DEFAULT_NAMESPACE (line 24) | const DEFAULT_NAMESPACE = 'application'; constant DEFAULT_CONFIG_BASE_URL (line 25) | const DEFAULT_CONFIG_BASE_URL = 'http://127.0.0.1:8080'; function generateUniqueId (line 27) | function generateUniqueId(prefix) { function isExpectedStatus (line 34) | function isExpectedStatus(actualStatus, expectedStatus) { function resolveConfigServiceBaseUrl (line 44) | function resolveConfigServiceBaseUrl() { function encodePathSegment (line 62) | function encodePathSegment(value) { function toPropertiesText (line 66) | function toPropertiesText(properties) { function normalizeNotificationNamespace (line 71) | function normalizeNotificationNamespace(namespaceName) { function escapeRegExp (line 75) | function escapeRegExp(value) { function resolveNamespaceDisplayNames (line 79) | function resolveNamespaceDisplayNames(namespaceName) { function sleep (line 88) | async function sleep(milliseconds) { function locateNamespacePanel (line 92) | async function locateNamespacePanel(page, namespaceName) { function waitForApiResponse (line 116) | async function waitForApiResponse(page, method, urlFragment, status = DE... function waitForApiCall (line 126) | async function waitForApiCall(page, method, urlFragment) { function waitForApiResponseByFragments (line 135) | async function waitForApiResponseByFragments( function login (line 156) | async function login(page) { function selectOrganization (line 172) | async function selectOrganization(page) { function selectUserByKeyword (line 199) | async function selectUserByKeyword(page, panelSelector, keyword, options... function createAppViaUiWithUserSelection (line 222) | async function createAppViaUiWithUserSelection(page, appId, options = {}) { function createAppViaUi (line 260) | async function createAppViaUi(page, appId) { function submitAppCreation (line 264) | async function submitAppCreation(page, appId) { function submitClusterCreation (line 279) | async function submitClusterCreation(page, appId, clusterName) { function createClusterViaUi (line 294) | async function createClusterViaUi(page, appId, clusterName) { function submitNamespaceCreation (line 300) | async function submitNamespaceCreation(page, appId, namespaceName) { function submitNamespaceCreationWithOptions (line 304) | async function submitNamespaceCreationWithOptions(page, appId, namespace... function createNamespaceViaUi (line 331) | async function createNamespaceViaUi(page, appId, namespaceName, options ... function clearNamespaceRoleViaPortalApi (line 346) | async function clearNamespaceRoleViaPortalApi(page, appId, namespaceName... function assignNamespaceRoleViaUi (line 363) | async function assignNamespaceRoleViaUi(page, appId, namespaceName, opti... function parseUserIdFromSelect2Text (line 451) | function parseUserIdFromSelect2Text(selectionText) { function assignNamespaceRoleViaUiBySearch (line 459) | async function assignNamespaceRoleViaUiBySearch(page, appId, namespaceNa... function revokeNamespaceRoleViaUi (line 535) | async function revokeNamespaceRoleViaUi(page, appId, namespaceName, opti... function openConfigPage (line 587) | async function openConfigPage(page, appId, options = {}) { function switchNamespaceView (line 634) | async function switchNamespaceView(page, namespaceName, viewType) { function editNamespaceTextViaUi (line 639) | async function editNamespaceTextViaUi(page, appId, configText, options =... function linkPublicNamespacesViaUi (line 710) | async function linkPublicNamespacesViaUi(page, appId, namespaceNames) { function switchNamespaceBranch (line 756) | async function switchNamespaceBranch(page, namespaceName, targetBranchTy... function createBranchViaUi (line 774) | async function createBranchViaUi(page, appId, options = {}) { function addGrayRuleViaUi (line 808) | async function addGrayRuleViaUi(page, appId, options = {}) { function grayPublishNamespaceViaUi (line 862) | async function grayPublishNamespaceViaUi(page, appId, releaseName, comme... function mergeAndPublishNamespaceViaUi (line 894) | async function mergeAndPublishNamespaceViaUi(page, appId, releaseName, c... function discardGrayBranchViaUi (line 934) | async function discardGrayBranchViaUi(page, appId, options = {}) { function createNamespaceItem (line 962) | async function createNamespaceItem(page, appId, itemKey, value, comment,... function createBranchNamespaceItem (line 992) | async function createBranchNamespaceItem(page, appId, itemKey, value, co... function updateNamespaceItem (line 1024) | async function updateNamespaceItem(page, appId, itemKey, value, comment,... function publishNamespace (line 1058) | async function publishNamespace(page, appId, releaseName, comment, optio... function loadNamespaceViaPortalApi (line 1085) | async function loadNamespaceViaPortalApi(page, appId, options = {}) { function modifyNamespaceTextViaPortalApi (line 1098) | async function modifyNamespaceTextViaPortalApi(page, appId, configText, ... function createBranchViaPortalApi (line 1122) | async function createBranchViaPortalApi(page, appId, options = {}) { function updateGrayRulesViaPortalApi (line 1138) | async function updateGrayRulesViaPortalApi(page, appId, branchName, opti... function publishGrayReleaseViaPortalApi (line 1168) | async function publishGrayReleaseViaPortalApi(page, appId, branchName, r... function fetchApolloConfigFromConfigService (line 1187) | async function fetchApolloConfigFromConfigService(request, appId, namesp... function waitForApolloConfigValue (line 1212) | async function waitForApolloConfigValue(request, appId, namespaceName, k... function fetchRawConfigFromConfigService (line 1236) | async function fetchRawConfigFromConfigService(request, appId, namespace... function fetchNotificationsV2FromConfigService (line 1258) | async function fetchNotificationsV2FromConfigService(request, appId, not... function waitForNotificationV2Update (line 1283) | async function waitForNotificationV2Update(request, appId, namespaceName... function waitForRawConfig (line 1336) | async function waitForRawConfig(request, appId, namespaceName, predicate... function rollbackLatestRelease (line 1358) | async function rollbackLatestRelease(page, options = {}) { FILE: e2e/portal-e2e/tests/portal-auth-matrix.spec.js function assertSelectionText (line 37) | function assertSelectionText(selectionText) { FILE: scripts/sql/profiles/h2-default/apolloconfigdb.sql type `App` (line 44) | CREATE TABLE `App` ( type `AppNamespace` (line 70) | CREATE TABLE `AppNamespace` ( type `Audit` (line 95) | CREATE TABLE `Audit` ( type `Cluster` (line 117) | CREATE TABLE `Cluster` ( type `Commit` (line 141) | CREATE TABLE `Commit` ( type `GrayReleaseRule` (line 165) | CREATE TABLE `GrayReleaseRule` ( type `Instance` (line 190) | CREATE TABLE `Instance` ( type `InstanceConfig` (line 210) | CREATE TABLE `InstanceConfig` ( type `Item` (line 233) | CREATE TABLE `Item` ( type `Namespace` (line 258) | CREATE TABLE `Namespace` ( type `NamespaceLock` (line 281) | CREATE TABLE `NamespaceLock` ( type `Release` (line 301) | CREATE TABLE `Release` ( type `ReleaseHistory` (line 328) | CREATE TABLE `ReleaseHistory` ( type `ReleaseMessage` (line 356) | CREATE TABLE `ReleaseMessage` ( type `ServerConfig` (line 371) | CREATE TABLE `ServerConfig` ( type `AccessKey` (line 392) | CREATE TABLE `AccessKey` ( type `ServiceRegistry` (line 414) | CREATE TABLE `ServiceRegistry` ( type `AuditLog` (line 431) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 458) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/profiles/h2-default/apolloportaldb.sql type `App` (line 44) | CREATE TABLE `App` ( type `AppNamespace` (line 70) | CREATE TABLE `AppNamespace` ( type `Consumer` (line 95) | CREATE TABLE `Consumer` ( type `ConsumerAudit` (line 120) | CREATE TABLE `ConsumerAudit` ( type `ConsumerRole` (line 138) | CREATE TABLE `ConsumerRole` ( type `ConsumerToken` (line 160) | CREATE TABLE `ConsumerToken` ( type `Favorite` (line 181) | CREATE TABLE `Favorite` ( type `Permission` (line 202) | CREATE TABLE `Permission` ( type `Role` (line 223) | CREATE TABLE `Role` ( type `RolePermission` (line 243) | CREATE TABLE `RolePermission` ( type `ServerConfig` (line 265) | CREATE TABLE `ServerConfig` ( type `UserRole` (line 287) | CREATE TABLE `UserRole` ( type `Users` (line 307) | CREATE TABLE `Users` ( type `Authorities` (line 323) | CREATE TABLE `Authorities` ( type `SPRING_SESSION` (line 335) | CREATE TABLE `SPRING_SESSION` ( type `SPRING_SESSION_ATTRIBUTES` (line 353) | CREATE TABLE `SPRING_SESSION_ATTRIBUTES` ( type `AuditLog` (line 365) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 392) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/profiles/mysql-database-not-specified/apolloconfigdb.sql type `App` (line 40) | CREATE TABLE `App` ( type `AppNamespace` (line 67) | CREATE TABLE `AppNamespace` ( type `Audit` (line 93) | CREATE TABLE `Audit` ( type `Cluster` (line 116) | CREATE TABLE `Cluster` ( type `Commit` (line 141) | CREATE TABLE `Commit` ( type `GrayReleaseRule` (line 166) | CREATE TABLE `GrayReleaseRule` ( type `Instance` (line 192) | CREATE TABLE `Instance` ( type `InstanceConfig` (line 213) | CREATE TABLE `InstanceConfig` ( type `Item` (line 237) | CREATE TABLE `Item` ( type `Namespace` (line 263) | CREATE TABLE `Namespace` ( type `NamespaceLock` (line 287) | CREATE TABLE `NamespaceLock` ( type `Release` (line 308) | CREATE TABLE `Release` ( type `ReleaseHistory` (line 336) | CREATE TABLE `ReleaseHistory` ( type `ReleaseMessage` (line 365) | CREATE TABLE `ReleaseMessage` ( type `ServerConfig` (line 381) | CREATE TABLE `ServerConfig` ( type `AccessKey` (line 403) | CREATE TABLE `AccessKey` ( type `ServiceRegistry` (line 426) | CREATE TABLE `ServiceRegistry` ( type `AuditLog` (line 444) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 472) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/profiles/mysql-database-not-specified/apolloportaldb.sql type `App` (line 40) | CREATE TABLE `App` ( type `AppNamespace` (line 67) | CREATE TABLE `AppNamespace` ( type `Consumer` (line 93) | CREATE TABLE `Consumer` ( type `ConsumerAudit` (line 119) | CREATE TABLE `ConsumerAudit` ( type `ConsumerRole` (line 138) | CREATE TABLE `ConsumerRole` ( type `ConsumerToken` (line 161) | CREATE TABLE `ConsumerToken` ( type `Favorite` (line 183) | CREATE TABLE `Favorite` ( type `Permission` (line 205) | CREATE TABLE `Permission` ( type `Role` (line 227) | CREATE TABLE `Role` ( type `RolePermission` (line 248) | CREATE TABLE `RolePermission` ( type `ServerConfig` (line 271) | CREATE TABLE `ServerConfig` ( type `UserRole` (line 294) | CREATE TABLE `UserRole` ( type `Users` (line 315) | CREATE TABLE `Users` ( type `Authorities` (line 332) | CREATE TABLE `Authorities` ( type `SPRING_SESSION` (line 345) | CREATE TABLE `SPRING_SESSION` ( type `SPRING_SESSION_ATTRIBUTES` (line 364) | CREATE TABLE `SPRING_SESSION_ATTRIBUTES` ( type `AuditLog` (line 377) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 405) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/profiles/mysql-default/apolloconfigdb.sql type `App` (line 45) | CREATE TABLE `App` ( type `AppNamespace` (line 72) | CREATE TABLE `AppNamespace` ( type `Audit` (line 98) | CREATE TABLE `Audit` ( type `Cluster` (line 121) | CREATE TABLE `Cluster` ( type `Commit` (line 146) | CREATE TABLE `Commit` ( type `GrayReleaseRule` (line 171) | CREATE TABLE `GrayReleaseRule` ( type `Instance` (line 197) | CREATE TABLE `Instance` ( type `InstanceConfig` (line 218) | CREATE TABLE `InstanceConfig` ( type `Item` (line 242) | CREATE TABLE `Item` ( type `Namespace` (line 268) | CREATE TABLE `Namespace` ( type `NamespaceLock` (line 292) | CREATE TABLE `NamespaceLock` ( type `Release` (line 313) | CREATE TABLE `Release` ( type `ReleaseHistory` (line 341) | CREATE TABLE `ReleaseHistory` ( type `ReleaseMessage` (line 370) | CREATE TABLE `ReleaseMessage` ( type `ServerConfig` (line 386) | CREATE TABLE `ServerConfig` ( type `AccessKey` (line 408) | CREATE TABLE `AccessKey` ( type `ServiceRegistry` (line 431) | CREATE TABLE `ServiceRegistry` ( type `AuditLog` (line 449) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 477) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/profiles/mysql-default/apolloportaldb.sql type `App` (line 45) | CREATE TABLE `App` ( type `AppNamespace` (line 72) | CREATE TABLE `AppNamespace` ( type `Consumer` (line 98) | CREATE TABLE `Consumer` ( type `ConsumerAudit` (line 124) | CREATE TABLE `ConsumerAudit` ( type `ConsumerRole` (line 143) | CREATE TABLE `ConsumerRole` ( type `ConsumerToken` (line 166) | CREATE TABLE `ConsumerToken` ( type `Favorite` (line 188) | CREATE TABLE `Favorite` ( type `Permission` (line 210) | CREATE TABLE `Permission` ( type `Role` (line 232) | CREATE TABLE `Role` ( type `RolePermission` (line 253) | CREATE TABLE `RolePermission` ( type `ServerConfig` (line 276) | CREATE TABLE `ServerConfig` ( type `UserRole` (line 299) | CREATE TABLE `UserRole` ( type `Users` (line 320) | CREATE TABLE `Users` ( type `Authorities` (line 337) | CREATE TABLE `Authorities` ( type `SPRING_SESSION` (line 350) | CREATE TABLE `SPRING_SESSION` ( type `SPRING_SESSION_ATTRIBUTES` (line 369) | CREATE TABLE `SPRING_SESSION_ATTRIBUTES` ( type `AuditLog` (line 382) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 410) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/profiles/mysql-default/delta/v060-v062/apolloconfigdb-v060-v062.sql type `IX_NAME` (line 21) | CREATE INDEX `IX_NAME` ON App (`Name`(191)) FILE: scripts/sql/profiles/mysql-default/delta/v060-v062/apolloportaldb-v060-v062.sql type `IX_NAME` (line 21) | CREATE INDEX `IX_NAME` ON App (`Name`(191)) FILE: scripts/sql/profiles/mysql-default/delta/v080-v090/apolloportaldb-v080-v090.sql type `Users` (line 20) | CREATE TABLE `Users` ( type `Authorities` (line 29) | CREATE TABLE `Authorities` ( FILE: scripts/sql/profiles/mysql-default/delta/v151-v160/apolloconfigdb-v151-v160.sql type `AccessKey` (line 20) | CREATE TABLE `AccessKey` ( FILE: scripts/sql/profiles/mysql-default/delta/v180-v190/apolloportaldb-v180-v190.sql type SPRING_SESSION (line 77) | CREATE TABLE SPRING_SESSION ( type SPRING_SESSION_IX1 (line 88) | CREATE UNIQUE INDEX SPRING_SESSION_IX1 ON SPRING_SESSION (SESSION_ID) type SPRING_SESSION_IX2 (line 89) | CREATE INDEX SPRING_SESSION_IX2 ON SPRING_SESSION (EXPIRY_TIME) type SPRING_SESSION_IX3 (line 90) | CREATE INDEX SPRING_SESSION_IX3 ON SPRING_SESSION (PRINCIPAL_NAME) type SPRING_SESSION_ATTRIBUTES (line 92) | CREATE TABLE SPRING_SESSION_ATTRIBUTES ( FILE: scripts/sql/profiles/mysql-default/delta/v200-v210/apolloconfigdb-v200-v210.sql type IX_PreviousReleaseId (line 21) | CREATE INDEX IX_PreviousReleaseId ON ReleaseHistory(PreviousReleaseId) type `ServiceRegistry` (line 26) | CREATE TABLE `ServiceRegistry` ( FILE: scripts/sql/profiles/mysql-default/delta/v210-v220/apolloconfigdb-v210-v220.sql type `AuditLog` (line 49) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 75) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/profiles/mysql-default/delta/v210-v220/apolloportaldb-v210-v220.sql type `AuditLog` (line 35) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 61) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/src/apolloconfigdb.sql type `App` (line 33) | CREATE TABLE `App` ( type `AppNamespace` (line 60) | CREATE TABLE `AppNamespace` ( type `Audit` (line 86) | CREATE TABLE `Audit` ( type `Cluster` (line 109) | CREATE TABLE `Cluster` ( type `Commit` (line 134) | CREATE TABLE `Commit` ( type `GrayReleaseRule` (line 159) | CREATE TABLE `GrayReleaseRule` ( type `Instance` (line 185) | CREATE TABLE `Instance` ( type `InstanceConfig` (line 206) | CREATE TABLE `InstanceConfig` ( type `Item` (line 230) | CREATE TABLE `Item` ( type `Namespace` (line 256) | CREATE TABLE `Namespace` ( type `NamespaceLock` (line 280) | CREATE TABLE `NamespaceLock` ( type `Release` (line 301) | CREATE TABLE `Release` ( type `ReleaseHistory` (line 329) | CREATE TABLE `ReleaseHistory` ( type `ReleaseMessage` (line 358) | CREATE TABLE `ReleaseMessage` ( type `ServerConfig` (line 374) | CREATE TABLE `ServerConfig` ( type `AccessKey` (line 396) | CREATE TABLE `AccessKey` ( type `ServiceRegistry` (line 419) | CREATE TABLE `ServiceRegistry` ( type `AuditLog` (line 437) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 465) | CREATE TABLE `AuditLogDataInfluence` ( FILE: scripts/sql/src/apolloportaldb.sql type `App` (line 33) | CREATE TABLE `App` ( type `AppNamespace` (line 60) | CREATE TABLE `AppNamespace` ( type `Consumer` (line 86) | CREATE TABLE `Consumer` ( type `ConsumerAudit` (line 112) | CREATE TABLE `ConsumerAudit` ( type `ConsumerRole` (line 131) | CREATE TABLE `ConsumerRole` ( type `ConsumerToken` (line 154) | CREATE TABLE `ConsumerToken` ( type `Favorite` (line 176) | CREATE TABLE `Favorite` ( type `Permission` (line 198) | CREATE TABLE `Permission` ( type `Role` (line 220) | CREATE TABLE `Role` ( type `RolePermission` (line 241) | CREATE TABLE `RolePermission` ( type `ServerConfig` (line 264) | CREATE TABLE `ServerConfig` ( type `UserRole` (line 287) | CREATE TABLE `UserRole` ( type `Users` (line 308) | CREATE TABLE `Users` ( type `Authorities` (line 325) | CREATE TABLE `Authorities` ( type `SPRING_SESSION` (line 338) | CREATE TABLE `SPRING_SESSION` ( type `SPRING_SESSION_ATTRIBUTES` (line 357) | CREATE TABLE `SPRING_SESSION_ATTRIBUTES` ( type `AuditLog` (line 370) | CREATE TABLE `AuditLog` ( type `AuditLogDataInfluence` (line 398) | CREATE TABLE `AuditLogDataInfluence` (