MCPcopy Create free account

hub / github.com/apolloconfig/apollo / functions

Functions6,804 in github.com/apolloconfig/apollo

MethodshouldHideConfigToCurrentUser
(String appId, String env, String clusterName, String namespaceName)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/AbstractPermissionValidator.java:90
MethodshouldHideConfigToCurrentUser
(String appId, String env, String clusterName, String namespaceName)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidator.java:69
MethodshouldHideConfigToCurrentUser
(String appId, String env, String clusterName, String namespaceName)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/component/UnifiedPermissionValidator.java:121
MethodshouldHideConfigToCurrentUser_configViewNotMemberOnly
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTest.java:153
MethodshouldHideConfigToCurrentUser_consistency_allProdVariants
Test consistency: all prod variants (prod/PROD/PRO) should behave identically.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:293
MethodshouldHideConfigToCurrentUser_consistency_fwsAndFat
Test consistency: FWS and FAT should behave identically (FWS maps to FAT).
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:310
MethodshouldHideConfigToCurrentUser_emptyString_throwsBadRequestException
Test empty string environment - should throw BadRequestException.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:168
MethodshouldHideConfigToCurrentUser_endToEnd_prodToPRO
Test end-to-end scenario: user configures env=prod → normalizes to PRO → permission check uses PRO. This verifies the complete flow from user input to
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:276
MethodshouldHideConfigToCurrentUser_envNormalization_devAlias
Test DEV environment normalization.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:134
MethodshouldHideConfigToCurrentUser_envNormalization_fatAndFwsAliases
Test FAT environment and its alias FWS (FWS maps to FAT). Verifies issue #5442 fix for environment alias normalization.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:80
MethodshouldHideConfigToCurrentUser_envNormalization_localAlias
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTest.java:263
MethodshouldHideConfigToCurrentUser_envNormalization_lptAlias
Test LPT environment normalization.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:102
MethodshouldHideConfigToCurrentUser_envNormalization_prodAlias
Test that shouldHideConfigToCurrentUser normalizes env names correctly. Verifies fix for issue #5442 where env aliases (prod/PROD/PRO) caused permissi
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTest.java:246
MethodshouldHideConfigToCurrentUser_envNormalization_toolsAlias
Test TOOLS environment normalization.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:118
MethodshouldHideConfigToCurrentUser_envNormalization_uatAlias
Test UAT environment normalization.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:150
MethodshouldHideConfigToCurrentUser_extraLongString_throwsBadRequestException
Test extra-long environment string - should throw BadRequestException.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:219
MethodshouldHideConfigToCurrentUser_invalidEnv_throwsBadRequestException
Test invalid environment name - should throw BadRequestException.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:253
MethodshouldHideConfigToCurrentUser_mixedCaseVariations
Test mixed case variations - should normalize correctly.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:230
MethodshouldHideConfigToCurrentUser_publicNamespace
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTest.java:135
MethodshouldHideConfigToCurrentUser_randomString_throwsBadRequestException
Test random string as environment - should throw BadRequestException.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:263
MethodshouldHideConfigToCurrentUser_specialCharacters_throwsBadRequestException
Test special characters in environment name - should throw BadRequestException.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:199
MethodshouldHideConfigToCurrentUser_userIsNotAppAdmin
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTest.java:146
MethodshouldHideConfigToCurrentUser_whitespaceStrings_throwsBadRequestException
Test whitespace-only environment strings - should throw BadRequestException.
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserPermissionValidatorTestSupplement.java:178
MethodshouldHideConfigWhenAppScopeDenies
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserTokenPermissionValidatorTest.java:100
MethodshouldHideConfigWhenReadScopeMissing
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/UserTokenPermissionValidatorTest.java:93
MethodshouldImportConfigFileWithStandardizedFilename
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConfigsImportControllerTest.java:75
MethodshouldImportNameAtDatabaseLimitWithoutAddingPrefixOrSuffix
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceServiceValidationTest.java:106
MethodshouldKeepConfiguredAuthenticationAndRejectAnonymousRequests
(String profile)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:144
MethodshouldKeepCustomAuthentication
(String profiles)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:166
MethodshouldLeaveBootDefaultsWhenStoreTypeIsAbsent
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SessionStoreAutoConfigurationImportFilterTest.java:54
MethodshouldLoadClusterFromService
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ClusterControllerTest.java:104
MethodshouldLoadOrganizationsFromPortalConfig
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/OrganizationControllerTest.java:42
MethodshouldNameDeletedFailedAndSkippedEnvironmentsAfterPartialDeletion
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceDeletionServiceTest.java:166
MethodshouldNameEnvironmentWhoseAdminServiceFails
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceDeletionServiceTest.java:129
MethodshouldNotBypassJwtForNonOpenApiRequestInOidcResolver
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:481
MethodshouldNotCreateAnUnusedRedisConnectionOrHealthContributor
(String storeType)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SpringSessionConfigTest.java:68
MethodshouldNotFilter
(HttpServletRequest request)
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/filter/UserTokenAuthenticationFilter.java:77
MethodshouldNotInventAuditTimestamps
(String name, Object source, Supplier<?> convert)
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/util/OpenApiModelConvertersFieldPreservationTest.java:80
MethodshouldPaginated
()
apollo-biz/src/test/java/com/ctrip/framework/apollo/biz/repository/InstanceConfigRepositoryTest.java:43
MethodshouldParseCoverConflictActionWhenImportingAllConfigs
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConfigsImportControllerTest.java:105
MethodshouldParseReleaseIdsAndDeduplicateWhenQueryingInstances
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/InstanceControllerTest.java:114
MethodshouldPassUserTokenThroughOidcSecurityFilterChain
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:191
MethodshouldPersistPathIdentityAndLeaveOtherApplicationUnchanged
(String appId, String clusterName, String namespaceName, String branchName)
apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceBranchControllerTest.java:93
MethodshouldPreferUserTokenOverActivePortalSessionOnOpenApi
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:245
MethodshouldPreferUserTokenOverCustomRequestAuthenticationConverterOnOpenApi
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:420
MethodshouldPreserveCustomBearerTokenResolverBeanInOidcChain
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:287
MethodshouldPreserveCustomRequestAuthenticationConverterBeanInOidcChain
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:378
MethodshouldPreserveEveryAuditTimestamp
(String name, Object source, Supplier<?> convert)
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/util/OpenApiModelConvertersFieldPreservationTest.java:65
MethodshouldPreserveTwoZeroReleases
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:170
MethodshouldPreserveZeroBaseRelease
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:144
MethodshouldPreserveZeroTargetRelease
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:157
MethodshouldPropagateIncompleteAppNamespaceDeletion
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceControllerTest.java:155
MethodshouldPublishGrayReleaseToRealBranch
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:182
MethodshouldRecordErrorMessageWhenLoadingServicesFails
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/SystemInfoControllerTest.java:92
MethodshouldRegisterOpenApiFiltersInAuthenticationOrder
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/AuthFilterConfigurationTest.java:43
MethodshouldRejectCompareWhenBaseReleaseIsHidden
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:93
MethodshouldRejectCompareWhenTargetReleaseIsHidden
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:106
MethodshouldRejectCreateAppNamespaceWhenPathAppIdDiffersFromPayload
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceControllerTest.java:110
MethodshouldRejectCreateClusterWhenPathAppIdDiffersFromPayload
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ClusterControllerTest.java:78
MethodshouldRejectCreateNamespaceWhenPathAppIdDiffersFromPayload
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceControllerTest.java:85
MethodshouldRejectDefaultIdentityEvenWhenAuthenticationProfileIsPresent
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:494
MethodshouldRejectDeletionOfAppNamespaceMissingInPortalWithoutCallingEnvironments
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceDeletionServiceTest.java:189
MethodshouldRejectEmptyReleaseIds
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/InstanceControllerTest.java:132
MethodshouldRejectFinalNameOverDatabaseLimitBeforePersistence
(boolean isPublic, boolean appendPrefix, String format, int baseLength, String prefix, String suffix)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceServiceValidationTest.java:78
MethodshouldRejectGrayReleaseTargetingNonBranchCluster
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:198
MethodshouldRejectInvalidConflictActionWhenImportingAllConfigs
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConfigsImportControllerTest.java:118
MethodshouldRejectInvalidConflictActionWhenImportingAppConfigs
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ConfigsImportControllerTest.java:143
MethodshouldRejectMissingAuthentication
(String profiles)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:121
MethodshouldRejectMissingAuthenticationWithLazyInitialization
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/spi/configuration/PortalAuthenticationConfigurationTest.java:132
MethodshouldRejectMissingBaseRelease
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:122
MethodshouldRejectMissingPathBranchWithoutWritingRules
()
apollo-adminservice/src/test/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceBranchControllerTest.java:127
MethodshouldRejectMissingTargetRelease
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseControllerTest.java:133
MethodshouldRejectOversizedImportedNameBeforePersistence
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceServiceValidationTest.java:94
MethodshouldRejectUnsupportedStoreTypes
(String storeType)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SessionStoreAutoConfigurationImportFilterTest.java:59
MethodshouldResolveAnonymousWhenOnlyAnonymousAuthenticationExists
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/filter/UserTypeResolverFilterTest.java:81
MethodshouldResolveAnonymousWhenRequestIsUnauthenticated
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/filter/UserTypeResolverFilterTest.java:93
MethodshouldResolveConsumerWhenConsumerIdExists
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/filter/UserTypeResolverFilterTest.java:57
MethodshouldResolveUserWhenSecurityContextHasAuthenticatedUser
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/filter/UserTypeResolverFilterTest.java:68
MethodshouldRestoreOAuth2AuthorizationRequestOnAnotherInstance
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SpringSessionConfigTest.java:243
MethodshouldRetainHealthChecksForExplicitRedisConnections
(String storeType)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SpringSessionConfigTest.java:88
MethodshouldRetainIndependentRedisConfiguration
(String storeType)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SpringSessionConfigTest.java:202
MethodshouldRetainIndependentlyConfiguredRedisWithJdbcSessions
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SessionStoreAutoConfigurationImportFilterTest.java:77
MethodshouldRetainRedisHealthWithACustomRepositoryAndJdbcStoreType
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SpringSessionConfigTest.java:108
MethodshouldReturnActiveEnvNames
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/EnvControllerTest.java:41
MethodshouldReturnBranchGrayRulesForPortalUserWhenConfigVisible
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/openapi/v1/controller/NamespaceBranchControllerTest.java:107
MethodshouldReturnBranchGrayRulesWhenConfigVisibleToCurrentUser
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/NamespaceBranchControllerTest.java:86
MethodshouldReturnConfiguredPrefixPath
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/PrefixPathControllerTest.java:39
MethodshouldReturnEmptyListWhenConfigShouldBeHidden
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ReleaseHistoryControllerTest.java:49
MethodshouldReturnInstanceCountByNamespace
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/InstanceControllerTest.java:138
MethodshouldReturnNotFoundAndSkipTracerErrorForNoHandlerFoundException
()
apollo-common/src/test/java/com/ctrip/framework/apollo/common/controller/GlobalDefaultExceptionHandlerTest.java:104
MethodshouldReturnNotFoundAndSkipTracerErrorForNoResourceFoundException
()
apollo-common/src/test/java/com/ctrip/framework/apollo/common/controller/GlobalDefaultExceptionHandlerTest.java:82
MethodshouldSelectJdbc
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SessionStoreAutoConfigurationImportFilterTest.java:39
MethodshouldSelectRedisCaseInsensitively
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SessionStoreAutoConfigurationImportFilterTest.java:44
MethodshouldSelectRedisEvenWhenDataSourceIsAvailable
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/config/SpringSessionConfigTest.java:169
MethodshouldSendUrlSafeUtf8KeyToAdminService
(String key, String encodedKey)
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/api/ItemAPITest.java:82
MethodshouldSkipAndNameEnvironmentMarkedDown
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/service/AppNamespaceDeletionServiceTest.java:147
MethodshouldSplitTimeoutConfigurationBetweenHttpClientAndRequestFactory
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/component/RestTemplateFactoryTest.java:76
MethodshouldStillLogTracerErrorForUnhandledException
()
apollo-common/src/test/java/com/ctrip/framework/apollo/common/controller/GlobalDefaultExceptionHandlerTest.java:126
MethodshouldSuccessWhenParameterValidForPortalDBConfig
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/ServerConfigControllerTest.java:67
MethodshouldThrowWhenInstanceIdDoesNotExist
()
apollo-portal/src/test/java/com/ctrip/framework/apollo/portal/controller/SystemInfoControllerTest.java:131
← previousnext →5,701–5,800 of 6,804, ranked by callers