Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apolloconfig/apollo
/ functions
Functions
4,861 in github.com/apolloconfig/apollo
⨍
Functions
4,861
◇
Types & classes
736
↓ 200 callers
Method
isEmpty
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ItemChangeSets.java:43
↓ 197 callers
Method
size
Returns the total number of values across all keys. <p> Note: In concurrent scenarios, the returned value is a best-effort approximation. </p>
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMultimapWrapper.java:93
↓ 180 callers
Method
get
(@PathVariable String env, @PathVariable long releaseId)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ReleaseController.java:124
↓ 126 callers
Method
get
(String key)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMapWrapper.java:31
↓ 125 callers
Method
valueOf
replace valueOf in enum But what would happened if environment not exist? @param name @return @throws IllegalArgumentException if this existed enviro
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/Env.java:153
↓ 115 callers
Method
error
(HttpStatus httpCode, Object message)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/http/RichResponseEntity.java:35
↓ 96 callers
Method
getUser
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/UserInfoHolder.java:27
↓ 89 callers
Method
getValue
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/KVEntity.java:37
↓ 80 callers
Method
getId
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Instance.java:70
↓ 76 callers
Method
resolve
(long namespaceId, String configText, List<ItemDTO> baseItems)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/txtresolver/ConfigTextResolver.java:29
↓ 74 callers
Method
getUserId
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/UserRole.java:48
↓ 69 callers
Method
setDataChangeLastModifiedBy
(String dataChangeLastModifiedBy)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/BaseDTO.java:48
↓ 66 callers
Method
equals
Not just name in Env, the address of Env must be same, or it will throw {@code RuntimeException} @param o @return @throws RuntimeException When same
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/Env.java:203
↓ 66 callers
Method
put
(Env env, String path, Object request, Object... urlVariables)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/RetryableRestTemplate.java:110
↓ 66 callers
Method
transform
封装{@link org.springframework.beans.BeanUtils#copyProperties},惯用与直接将转换结果返回 <pre> UserBean userBean = new UserBean("username"); return BeanUt
apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/BeanUtils.java:65
↓ 65 callers
Method
format
(Date date)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/util/RelativeDateFormat.java:36
↓ 65 callers
Method
getBody
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/http/RichResponseEntity.java:50
↓ 56 callers
Method
getHostUrl
()
apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/AbstractBaseIntegrationTest.java:82
↓ 56 callers
Method
getNamespaceName
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/CommitDTO.java:55
↓ 56 callers
Method
setDataChangeCreatedBy
(String dataChangeCreatedBy)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/BaseDTO.java:40
↓ 54 callers
Method
contains
(String userId)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcAuthenticationSuccessEventListener.java:103
↓ 49 callers
Method
ok
(T body)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/http/RichResponseEntity.java:27
↓ 48 callers
Method
save
(App entity)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AppService.java:77
↓ 47 callers
Method
findOne
(String appId)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AppService.java:73
↓ 45 callers
Method
toList
(Object obj)
apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/util/ApolloAuditUtil.java:47
↓ 44 callers
Method
getBody
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/Email.java:56
↓ 42 callers
Method
getAppId
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/Favorite.java:44
↓ 41 callers
Method
getMessage
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/http/RichResponseEntity.java:46
↓ 40 callers
Method
getKey
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/KVEntity.java:29
↓ 39 callers
Method
findByUserId
(String userId)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/UserService.java:29
↓ 36 callers
Method
getConfigurations
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/ReleaseDTO.java:66
↓ 36 callers
Method
getContent
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/PageDTO.java:44
↓ 36 callers
Method
shouldHideConfigToCurrentUser
(String appId, String env, String clusterName, String namespaceName)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PermissionValidator.java:53
↓ 35 callers
Method
build
(Env env, ReleaseHistoryBO releaseHistory)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/emailbuilder/ConfigPublishEmailBuilder.java:115
↓ 35 callers
Method
findLatestActiveRelease
(Namespace namespace)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/ReleaseService.java:123
↓ 35 callers
Method
isConfigViewMemberOnly
(String env)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/config/PortalConfig.java:156
↓ 34 callers
Method
delete
(String appId, String namespaceName, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/AppNamespaceRepository.java:44
↓ 34 callers
Method
getNotificationId
()
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/ConfigServiceWithCache.java:321
↓ 34 callers
Method
getValue
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Item.java:67
↓ 34 callers
Method
setUserId
(String userId)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/UserInfo.java:38
↓ 33 callers
Method
findByAppIdAndName
(String appId, String namespaceName)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/AppNamespaceRepository.java:27
↓ 33 callers
Method
isSuperAdmin
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PermissionValidator.java:51
↓ 32 callers
Method
getCluster
Tag a service instance for service discovery. <p/> so use cluster for service discovery. @return The cluster of the service instance.
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/ServiceInstance.java:51
↓ 32 callers
Method
getDataChangeCreatedBy
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/BaseDTO.java:36
↓ 32 callers
Method
getId
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/AppDTO.java:42
↓ 31 callers
Method
assembleKey
(String appId, String cluster, String namespace)
apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/AbstractBaseIntegrationTest.java:155
↓ 31 callers
Method
getReleaseKey
()
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtil.java:274
↓ 29 callers
Method
getAppId
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Commit.java:60
↓ 29 callers
Method
getIntProperty
(String key, int defaultValue)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java:88
↓ 29 callers
Method
put
(String key, T value)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMapWrapper.java:35
↓ 28 callers
Method
getInstances
find by {@link ApolloServiceRegistryProperties#getServiceName()}, then filter by {@link ApolloServiceRegistryProperties#getCluster()} @return empty l
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/registry/DatabaseDiscoveryClient.java:33
↓ 28 callers
Method
service
(String instanceId, String homepageUrl)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/SystemInfoControllerTest.java:145
↓ 26 callers
Method
post
(Env env, String path, Object request, Class<T> responseType, Object... uriVariables)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/RetryableRestTemplate.java:105
↓ 25 callers
Method
assembleAllWatchKeys
Assemble watch keys for the given appId, cluster, namespace, dataCenter combination
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/WatchKeysUtil.java:50
↓ 25 callers
Method
audit
(String entityName, Long entityId, Audit.OP op, String owner)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AuditService.java:43
↓ 25 callers
Method
getKey
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Item.java:59
↓ 25 callers
Method
getNamespaceName
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/vo/ItemInfo.java:64
↓ 25 callers
Method
save
(@PathVariable String appId, @PathVariable String env, @RequestBody AccessKeyDTO accessKeyDTO)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/AccessKeyController.java:47
↓ 24 callers
Method
getAppId
()
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtil.java:250
↓ 24 callers
Method
getDataChangeLastModifiedBy
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/BaseDTO.java:44
↓ 24 callers
Method
setAppId
(String appId)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/entity/Consumer.java:77
↓ 24 callers
Method
toStringHelper
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/BaseEntity.java:144
↓ 23 callers
Method
getActiveEnvs
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/PortalSettings.java:85
↓ 23 callers
Method
getId
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/po/UserPO.java:50
↓ 23 callers
Method
periodicSendMessage
(ExecutorService executorService, String message, AtomicBoolean stop)
apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/AbstractBaseIntegrationTest.java:118
↓ 22 callers
Method
containsKey
(String key)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMultimapWrapper.java:82
↓ 22 callers
Method
filterNamespaceName
(String namespaceName)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/NamespaceUtil.java:35
↓ 22 callers
Method
getArrayProperty
(String key, String[] defaultValue)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/config/RefreshableConfig.java:108
↓ 22 callers
Method
getId
()
apollo-audit/apollo-audit-impl/src/main/java/com/ctrip/framework/apollo/audit/entity/BaseEntity.java:58
↓ 22 callers
Method
getName
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/defaultimpl/DefaultEmailService.java:113
↓ 22 callers
Method
getName
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/Env.java:234
↓ 22 callers
Method
userNotExists
(String userName)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/exception/BadRequestException.java:125
↓ 21 callers
Method
batchTransform
<pre> List<UserBean> userBeans = userDao.queryUsers(); List<UserDTO> userDTOs = BeanUtil.batchTransform(UserDTO.class, userBeans); </pre>
apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/BeanUtils.java:45
↓ 21 callers
Method
checkInt
(int value, int min, int max, int defaultValue)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/config/BizConfig.java:288
↓ 21 callers
Method
get
(@PathVariable("appId") String appId)
apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AppController.java:95
↓ 21 callers
Method
loadConfig
Load config @param clientAppId the client's app id @param clientIp the client ip @param clientLabel the client label @param configAppId the requested
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/config/ConfigService.java:43
↓ 21 callers
Method
remove
(String key)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/wrapper/CaseInsensitiveMapWrapper.java:39
↓ 21 callers
Method
setId
(long id)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Instance.java:74
↓ 21 callers
Method
setPublic
(boolean aPublic)
apollo-common/src/main/java/com/ctrip/framework/apollo/common/entity/AppNamespace.java:94
↓ 21 callers
Method
toString
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Item.java:103
↓ 20 callers
Method
equals
(Object o)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/InstanceConfigAuditUtil.java:286
↓ 20 callers
Method
findRoleByRoleName
Find role by role name, note that roleName should be unique
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/RolePermissionService.java:56
↓ 20 callers
Method
getConfigurations
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Release.java:79
↓ 20 callers
Method
getProperty
获取某个对象的某个属性
apollo-common/src/main/java/com/ctrip/framework/apollo/common/utils/BeanUtils.java:207
↓ 19 callers
Method
getAppId
()
apollo-common/src/main/java/com/ctrip/framework/apollo/common/dto/AppDTO.java:58
↓ 19 callers
Method
getId
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ReleaseMessage.java:61
↓ 19 callers
Method
getServiceInstances
@param serviceId the service id @return the service instance list for the specified service id, or an empty list if no service instance available
apollo-configservice/src/main/java/com/ctrip/framework/apollo/metaservice/service/DiscoveryService.java:29
↓ 18 callers
Method
findLatestReleaseMessageForMessages
(Set<String> messages)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/service/ReleaseMessageServiceWithCache.java:79
↓ 18 callers
Method
getClusterName
()
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/ConfigBO.java:84
↓ 18 callers
Method
queryConfig
(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespace, @Re
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/controller/ConfigController.java:94
↓ 18 callers
Method
setAuthType
Write authentication source identifier for current thread
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/UserIdentityContextHolder.java:37
↓ 17 callers
Method
assignRoleToUsers
Assign role to users @return the users assigned roles
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/RolePermissionService.java:41
↓ 17 callers
Method
extractAppIdFromRequest
(HttpServletRequest request)
apollo-configservice/src/main/java/com/ctrip/framework/apollo/configservice/util/AccessKeyUtil.java:55
↓ 17 callers
Method
findByAppId
(String appId)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/AppRepository.java:33
↓ 17 callers
Method
getMessage
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/ReleaseMessage.java:69
↓ 17 callers
Method
getNamespaceName
()
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/entity/Commit.java:76
↓ 17 callers
Method
hasAnyPermission
Check if user has any of the given permissions
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/RolePermissionService.java:100
↓ 17 callers
Method
setName
(String name)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/entity/bo/UserInfo.java:46
↓ 17 callers
Method
toString
a Env convert to string, ie its name. @return
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/environment/Env.java:229
↓ 17 callers
Method
transformApolloConfigNotificationsToString
(String namespace, long notificationId)
apollo-configservice/src/test/java/com/ctrip/framework/apollo/configservice/integration/NotificationControllerV2IntegrationTest.java:683
next →
1–100 of 4,861, ranked by callers