MCPcopy Create free account

hub / github.com/apolloconfig/apollo / functions

Functions6,804 in github.com/apolloconfig/apollo

Methodcreate
(@PathVariable("appId") String appId, @PathVariable("clusterName") String clusterName, @Valid @RequestBo
apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceController.java:50
MethodcreateAccessKey
(String appId, String env, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerAccessKeyOpenApiService.java:49
MethodcreateAccessKey
(String appId, String env, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/AccessKeyController.java:51
MethodcreateAccessKey
(Env env, AccessKeyDTO accessKey)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/AccessKeyService.java:42
MethodcreateAccessKeyShouldPopulateOperatorAndSecret
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/server/service/ServerAccessKeyOpenApiServiceTest.java:55
MethodcreateAccessKeyShouldUseConsumerOperatorQuery
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AccessKeyControllerParamBindLowLevelTest.java:121
MethodcreateAndAssignCreateApplicationRoleToConsumer
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConsumerControllerTest.java:80
MethodcreateAndAssignManageUsersRoleToConsumer
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConsumerControllerTest.java:113
MethodcreateApp
@see com.ctrip.framework.apollo.portal.controller.AppController#create(AppModel)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerAppOpenApiService.java:88
MethodcreateApp
@see com.ctrip.framework.apollo.portal.controller.AppController#create(AppModel)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/AppController.java:86
MethodcreateApp
(Env env, AppDTO app)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java:62
MethodcreateAppAndAddRolePermissionButAppAlreadyExists
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppServiceTest.java:90
MethodcreateAppAndAddRolePermissionButOwnerNotExists
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppServiceTest.java:98
FunctioncreateAppController
($scope, $window, $translate, toastr, AppService, AppUtil, OrganizationService, SystemRoleService, UserService
apollo-portal/src/main/resources/static/scripts/controller/AppController.js:21
MethodcreateAppInEnv
Create an application in a specified environment @param env Environment @param app Application information @param operator Operator
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerAppOpenApiService.java:196
MethodcreateAppInEnv
Create an application in a specified environment (new added) POST /openapi/v1/apps/envs/{env}
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/AppController.java:206
MethodcreateAppInEnv_isAllowedForPrivilegedUser
Positive control: a user with the platform create-application permission can still register an app into an environment.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/AppControllerCreateAppInEnvAuthTest.java:202
MethodcreateAppInEnv_isAllowedForTargetAppAdmin
Recovery: an admin of the target app may register a missing environment for their own app, even without the platform create-application permission.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/AppControllerCreateAppInEnvAuthTest.java:170
MethodcreateAppInEnv_isForbiddenForAdminOfAnotherApp
The admin allowance is scoped to the target app: an admin of a different app is rejected.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/AppControllerCreateAppInEnvAuthTest.java:184
MethodcreateAppInEnv_isForbiddenForUnprivilegedUser
The fix: the env-scoped create must reject a user who neither holds the platform create-application permission nor administers the target app, and mus
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/AppControllerCreateAppInEnvAuthTest.java:154
MethodcreateAppInEnv_shouldAllowPortalAppAdminWithoutCreateApplicationPermission
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:338
MethodcreateAppInEnv_shouldAllowPortalUserWithCreateApplicationPermission
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:360
MethodcreateAppInEnv_shouldBind_env_query_body
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:262
MethodcreateAppInEnv_shouldRejectConsumerAppAdminWithoutCreateApplicationPermission
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:382
MethodcreateAppInEnv_shouldRejectConsumerWithoutCreateApplicationPermission
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:402
MethodcreateAppInEnv_shouldRejectPortalUserWithoutCreateApplicationPermissionAndNotAppAdmin
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:315
MethodcreateAppInEnv_shouldUseCurrentUser_whenPortalUserWithoutOperator
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:291
FunctioncreateAppNamespace
(appId, appnamespace, appendNamespacePrefix)
apollo-portal/src/main/resources/static/scripts/services/NamespaceService.js:202
MethodcreateAppNamespace
(AppNamespace appNamespace)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/AppNamespaceService.java:124
MethodcreateAppNamespace
(String appId, OpenAppNamespaceDTO appNamespaceDTO, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerNamespaceManagementOpenApiService.java:147
MethodcreateAppNamespace
(String appId, OpenAppNamespaceDTO appNamespace, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceController.java:114
MethodcreateAppNamespace
(@PathVariable String appId, @RequestParam(defaultValue = "true") boolean appendNamespacePrefix, @
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceController.java:247
MethodcreateAppNamespace
(Env env, AppNamespaceDTO appNamespace)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java:121
MethodcreateAppNamespaceShouldRejectBlankConsumerOperator
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerParamBindLowLevelTest.java:225
MethodcreateAppNamespaceShouldUseAppNamespacePermissionForPortalUser
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerParamBindLowLevelTest.java:172
MethodcreateAppNamespaceShouldUseCreateNamespacePermissionForConsumer
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerParamBindLowLevelTest.java:201
MethodcreateAppNamespaceShouldUseCurrentPortalUserAndIgnoreSpoofedPayloadOperator
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerParamBindLowLevelTest.java:140
MethodcreateApp_shouldKeepAuditAnnotation
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:252
MethodcreateApp_shouldNotAssignConsumerRole_whenPortalUserRequestsAssignAppRoleToSelf
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:168
MethodcreateApp_shouldPassRequestOperatorToServiceAndConsumerRoleAssignment
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:144
MethodcreateApp_shouldRejectBlankAppId
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:196
MethodcreateApp_shouldRejectBlankPortalAppName
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:216
MethodcreateApp_shouldRejectInvalidPortalAppId
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/AppControllerParamBindLowLevelTest.java:234
MethodcreateAutoProvisionAccessKey
()
apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/ControllerExceptionTest.java:110
MethodcreateAutoProvisionAccessKeyFailedShouldNotAffectAppCreation
()
apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/ControllerExceptionTest.java:126
FunctioncreateBranch
()
apollo-portal/src/main/resources/static/scripts/controller/config/ConfigNamespaceController.js:343
MethodcreateBranch
(String appId, String parentClusterName, String namespaceName, String operator)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/service/NamespaceBranchService.java:60
MethodcreateBranch
(String appId, String env, String clusterName, String namespaceName, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceBranchController.java:77
MethodcreateBranch
(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable S
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceBranchController.java:88
MethodcreateBranch
(String appId, Env env, String clusterName, String namespaceName, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java:549
MethodcreateBranch
(@PathVariable String appId, @PathVariable String clusterName, @PathVariable String namespaceName, @Requ
apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceBranchController.java:58
MethodcreateBranchShouldAcceptLowercaseEnv
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:535
MethodcreateBranchShouldUseCurrentPortalUser
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:521
MethodcreateBranchShouldUseCurrentUserTokenUser
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:549
MethodcreateCluster
(String env, OpenClusterDTO openClusterDTO, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerClusterOpenApiService.java:44
MethodcreateCluster
(String appId, String env, OpenClusterDTO cluster)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/ClusterController.java:62
MethodcreateCluster
(@PathVariable String appId, @PathVariable String env, @Valid @RequestBody ClusterDTO cluster)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ClusterController.java:55
MethodcreateCluster
(Env env, ClusterDTO cluster, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ClusterService.java:48
MethodcreateCluster_shouldBind_path_and_body
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ClusterControllerParamBindLowLevelTest.java:129
MethodcreateCluster_shouldRejectUserTokenWithoutClusterScope
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ClusterControllerParamBindLowLevelTest.java:160
MethodcreateComment
(@PathVariable("appId") String appId, @PathVariable("clusterName") String clusterName, @PathVariab
apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/ItemController.java:114
MethodcreateCommentItem
(String appId, Env env, String clusterName, String namespace, ItemDTO item)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java:273
FunctioncreateConfigDBConfig
()
apollo-portal/src/main/resources/static/scripts/controller/ServerConfigController.js:181
MethodcreateConfigDBConfigShouldPassKeyAndClusterForNewClusterWhenSameKeyExists
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ServerConfigControllerTest.java:124
MethodcreateConfigShouldUseKeyAndClusterAsIdentity
()
apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/service/ServerConfigServiceTest.java:78
MethodcreateConfigShouldUseKeyAndClusterAsIdentity
()
apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/ServerConfigControllerTest.java:79
FunctioncreateConsumer
()
apollo-portal/src/main/resources/static/scripts/controller/open/OpenManageController.js:167
MethodcreateConsumer
(Object body, String expires)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/PortalManagementController.java:350
MethodcreateConsumerShouldAssignManageUsersRole
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/PortalManagementControllerTest.java:305
MethodcreateFailed
()
apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/ControllerExceptionTest.java:95
MethodcreateGrayDelReleaseShouldRejectNonBranchClusterAsBranchName
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:308
MethodcreateGrayDelReleaseShouldRejectUserTokenEmergencyPublishWhenEnvDisallowsIt
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:339
FunctioncreateGrayRelease
(appId, env, clusterName, namespaceName, branchName, releaseTitle, comment, isEmergencyPublish)
apollo-portal/src/main/resources/static/scripts/services/ReleaseService.js:92
MethodcreateGrayRelease
(String appId, String env, String clusterName, String namespaceName, String branchName, NamespaceR
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseController.java:134
MethodcreateGrayReleaseShouldRejectNonBranchClusterAsBranchName
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:290
MethodcreateGrayReleaseShouldRejectUserTokenEmergencyPublishWhenEnvDisallowsIt
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:326
MethodcreateGrayReleaseShouldUseBranchClusterAndCurrentPortalUser
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ReleaseBranchInstanceControllerTest.java:274
FunctioncreateItem
(namespace)
apollo-portal/src/main/resources/static/scripts/controller/config/ConfigNamespaceController.js:278
MethodcreateItem
(Item item)
apollo-biz/src/main/java/com/ctrip/framework/apollo/biz/utils/ConfigChangeContentBuilder.java:37
MethodcreateItem
(String appId, String env, String clusterName, String namespaceName, OpenItemDTO item, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/ItemController.java:92
MethodcreateItem
(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName, @PathVariable S
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/ItemController.java:91
MethodcreateItem
(String appId, Env env, String clusterName, String namespaceName, ItemDTO item)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/service/ItemService.java:123
MethodcreateItem
(String appId, Env env, String clusterName, String namespace, ItemDTO item)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java:266
MethodcreateItemShouldUseCurrentPortalUserAndIgnoreSpoofedPayloadOperator
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ItemControllerParamBindLowLevelTest.java:157
MethodcreateItemShouldUseCurrentUserTokenUserAndIgnoreSpoofedPayloadOperator
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ItemControllerParamBindLowLevelTest.java:189
MethodcreateItemShouldUsePayloadOperatorForConsumerWhenQueryOperatorMissing
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/ItemControllerParamBindLowLevelTest.java:123
MethodcreateLocalUser
(UserInfo newUserInfo)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/spi/oidc/OidcLocalUserServiceImpl.java:62
MethodcreateMissingNamespaces
(String appId, String env, String clusterName, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerNamespaceManagementOpenApiService.java:226
MethodcreateMissingNamespaces
(String appId, String env, String clusterName, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceController.java:247
MethodcreateMissingNamespaces
(@PathVariable String appId, @PathVariable String env, @PathVariable String clusterName)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceController.java:312
MethodcreateMissingNamespacesShouldRejectUserTokenWithoutClusterScope
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerParamBindLowLevelTest.java:705
MethodcreateMissingNamespaces_isAllowedForPrivilegedUser_createsMissing
Positive control: a user with the create-namespace permission can still create the missing namespace structures for their own app.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceControllerCreateMissingNamespacesAuthTest.java:211
MethodcreateMissingNamespaces_isAllowedForPrivilegedUser_whenNothingMissing
Positive control: a user with the create-namespace permission can still trigger the sync when nothing is missing, and no creation call is made.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceControllerCreateMissingNamespacesAuthTest.java:197
MethodcreateMissingNamespaces_isForbiddenForUnprivilegedUser
The fix: creating missing namespaces must reject a user without the create-namespace permission on the target app, and must not reach the backend call
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceControllerCreateMissingNamespacesAuthTest.java:178
FunctioncreateNamespace
(appId, namespaceCreationModel)
apollo-portal/src/main/resources/static/scripts/services/NamespaceService.js:192
MethodcreateNamespace
(@PathVariable String appId, @RequestBody List<NamespaceCreationModel> models)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller/NamespaceController.java:159
MethodcreateNamespace
(Env env, NamespaceDTO namespace)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/api/AdminServiceAPI.java:115
MethodcreateNamespaces
(List<OpenCreateNamespaceDTO> namespaces, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerNamespaceManagementOpenApiService.java:164
MethodcreateNamespaces
(List<OpenCreateNamespaceDTO> openCreateNamespaceDTO, String operator)
apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceController.java:192
MethodcreateNamespacesShouldRejectAnyAppWithoutCreatePermission
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceControllerParamBindLowLevelTest.java:266
← previousnext →3,801–3,900 of 6,804, ranked by callers