MCPcopy Create free account

hub / github.com/Washingtonwei/hogwarts-artifacts-online / functions

Functions298 in github.com/Washingtonwei/hogwarts-artifacts-online

MethodWizardController
(WizardService wizardService, WizardDtoToWizardConverter wizardDtoToWizardConverter, WizardToWizardDtoConverte
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardController.java:25
MethodWizardService
(WizardRepository wizardRepository, ArtifactRepository artifactRepository)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardService.java:20
MethodaddArtifact
(@Valid @RequestBody ArtifactDto artifactDto)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactController.java:63
MethodaddCorsMappings
(CorsRegistry registry)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/CorsConfiguration.java:14
MethodaddInterceptors
(InterceptorRegistry registry)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/WebConfig.java:18
MethodaddUser
We are not using UserDto, but User, since we require password. @param newHogwartsUser @return
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserController.java:58
MethodaddWizard
(@Valid @RequestBody WizardDto wizardDto)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardController.java:49
MethodassignArtifact
(@PathVariable Integer wizardId, @PathVariable String artifactId)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardController.java:71
MethodbeanCount
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/actuator/CustomBeansEndpoint.java:18
MethodchangePassword
(@PathVariable Integer userId, @RequestBody Map<String, String> passwordMap)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserController.java:80
Methodcheck
(Supplier<Authentication> authenticationSupplier, RequestAuthorizationContext context)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/UserRequestAuthorizationManager.java:27
Methodcommence
(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/CustomBasicAuthenticationEntryPoint.java:32
Methodcommence
(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/CustomBearerTokenAuthenticationEntryPoint.java:31
MethodcontextLoads
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/HogwartsArtifactsOnlineApplicationTests.java:11
Methodconvert
(Wizard source)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/converter/WizardToWizardDtoConverter.java:11
Methodconvert
(ArtifactDto source)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/artifact/converter/ArtifactDtoToArtifactConverter.java:11
Methodconvert
(UserDto source)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/converter/UserDtoToUserConverter.java:11
MethodcorsConfigurer
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/CorsConfiguration.java:11
Methoddelete
(String key)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/client/rediscache/RedisCacheClient.java:26
MethoddeleteArtifact
(@PathVariable String artifactId)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactController.java:80
MethoddeleteUser
(@PathVariable Integer userId)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserController.java:74
MethoddeleteWizard
(@PathVariable Integer wizardId)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardController.java:65
MethodfindAllArtifacts
(Pageable pageable)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactController.java:54
MethodfindAllUsers
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserController.java:32
MethodfindAllWizards
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardController.java:31
MethodfindArtifactById
(@PathVariable String artifactId)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactController.java:46
MethodfindArtifactsByCriteria
(@RequestBody Map<String, String> searchCriteria, Pageable pageable)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactController.java:97
MethodfindUserById
(@PathVariable Integer userId)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserController.java:45
MethodfindWizardById
(@PathVariable Integer wizardId)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardController.java:42
Methodgenerate
(ChatRequest chatRequest)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/client/ai/chat/OpenAiChatClient.java:28
MethodgetCode
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/Result.java:42
MethodgetData
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/Result.java:58
MethodgetLoginInfo
Generate a JSON web token if username and password has been authenticated by the BasicAuthenticationFilter. In summary, this filter is responsible for
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/AuthController.java:36
MethodgetPassword
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/MyUserPrincipal.java:30
MethodgetUsername
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/MyUserPrincipal.java:35
Methodhandle
(HttpServletRequest request, HttpServletResponse response, AccessDeniedException accessDeniedException)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/CustomBearerTokenAccessDeniedHandler.java:27
MethodhandleAccessDeniedException
(AccessDeniedException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:83
MethodhandleAccountStatusException
(AccountStatusException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:71
MethodhandleAuthenticationException
(Exception ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:59
MethodhandleCustomBlobStorageException
(CustomBlobStorageException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:122
MethodhandleInsufficientAuthenticationException
(InsufficientAuthenticationException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:65
MethodhandleInvalidBearerTokenException
(InvalidBearerTokenException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:77
MethodhandleNoHandlerFoundException
(NoHandlerFoundException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:89
MethodhandleObjectNotFoundException
(ObjectNotFoundException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:34
MethodhandleOtherException
Fallback handles any unhandled exceptions. @param ex @return
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:140
MethodhandlePasswordChangeIllegalArgumentException
(PasswordChangeIllegalArgumentException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:128
MethodhandleRestClientException
(HttpStatusCodeException ex)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:95
MethodhandleValidationException
This handles invalid inputs. @param ex @return
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/exception/ExceptionHandlerAdvice.java:46
Methodhealth
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/actuator/UsableMemoryHealthIndicator.java:13
MethodhttpExchangeRepository
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/actuator/ActuatorConfiguration.java:11
MethodidWorker
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/HogwartsArtifactsOnlineApplication.java:15
MethodisAccountNonExpired
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/MyUserPrincipal.java:40
MethodisAccountNonLocked
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/MyUserPrincipal.java:45
MethodisCredentialsNonExpired
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/MyUserPrincipal.java:50
MethodisEnabled
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/MyUserPrincipal.java:55
MethodisFlag
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/Result.java:34
MethodjwtDecoder
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/SecurityConfiguration.java:111
MethodjwtEncoder
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/SecurityConfiguration.java:104
MethodloadUserByUsername
(String username)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserService.java:83
Methodmain
(String[] args)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/HogwartsArtifactsOnlineApplication.java:11
MethodpasswordEncoder
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/SecurityConfiguration.java:99
MethodpreHandle
(HttpServletRequest request, HttpServletResponse response, Object handler)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/JwtInterceptor.java:23
MethodsecurityFilterChain
(HttpSecurity http)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/security/SecurityConfiguration.java:64
MethodsetArtifacts
(List<Artifact> artifacts)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/wizard/Wizard.java:46
MethodsetCode
(Integer code)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/Result.java:46
MethodsetData
(Object data)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/Result.java:62
MethodsetFlag
(boolean flag)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/Result.java:38
MethodsetMessage
(String message)
src/main/java/edu/tcu/cs/hogwartsartifactsonline/system/Result.java:54
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/client/ai/chat/OpenAiChatClientTest.java:43
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerTest.java:51
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardServiceTest.java:42
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerIntegrationTest.java:57
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactControllerIntegrationTest.java:62
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactServiceTest.java:55
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactControllerTest.java:56
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/HogwartsUserControllerIntegrationTest.java:60
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserControllerTest.java:50
MethodsetUp
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserServiceTest.java:50
MethodsummarizeArtifacts
()
src/main/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactController.java:86
MethodtearDown
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardServiceTest.java:62
MethodtearDown
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactServiceTest.java:74
MethodtearDown
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactControllerTest.java:103
MethodtearDown
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserServiceTest.java:79
MethodtestAddArtifactErrorWithInvalidInput
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactControllerIntegrationTest.java:132
MethodtestAddArtifactSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactControllerIntegrationTest.java:106
MethodtestAddArtifactSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/artifact/ArtifactControllerTest.java:157
MethodtestAddUserErrorWithInvalidInput
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/HogwartsUserControllerIntegrationTest.java:163
MethodtestAddUserSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/HogwartsUserControllerIntegrationTest.java:136
MethodtestAddUserSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/hogwartsuser/UserControllerTest.java:123
MethodtestAddWizardErrorWithInvalidInput
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerIntegrationTest.java:121
MethodtestAddWizardSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerTest.java:156
MethodtestAddWizardSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerIntegrationTest.java:99
MethodtestAssignArtifactErrorWithNonExistentArtifactId
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerTest.java:271
MethodtestAssignArtifactErrorWithNonExistentArtifactId
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardServiceTest.java:261
MethodtestAssignArtifactErrorWithNonExistentArtifactId
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerIntegrationTest.java:241
MethodtestAssignArtifactErrorWithNonExistentWizardId
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerTest.java:258
MethodtestAssignArtifactErrorWithNonExistentWizardId
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardServiceTest.java:232
MethodtestAssignArtifactErrorWithNonExistentWizardId
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerIntegrationTest.java:231
MethodtestAssignArtifactSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardControllerTest.java:245
MethodtestAssignArtifactSuccess
()
src/test/java/edu/tcu/cs/hogwartsartifactsonline/wizard/WizardServiceTest.java:203
← previousnext →101–200 of 298, ranked by callers