Package com.profile.searcher
Class LinkedProfileSearcherAutoConfiguration
java.lang.Object
com.profile.searcher.LinkedProfileSearcherAutoConfiguration
@Configuration
@ComponentScan
@EnableScheduling
@EnableConfigurationProperties({PhantomBusterProperties.class,ApplicationProperties.class})
public class LinkedProfileSearcherAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applicationStart
(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event) linkedInSearchService
(PhantomBusterService phantomBusterService, PhantomAgentTaskService phantomAgentTaskService, AlumniRepository alumniRepository) io.swagger.v3.oas.models.OpenAPI
openAPI()
phantomAgentTaskProcessingJob
(PhantomAgentTaskRepository phantomAgentTaskRepository, PhantomBusterClient phantomBusterClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, GenericModelMapper genericModelMapper, UniversityRepository universityRepository) phantomAgentTaskService
(GenericModelMapper modelMapper, PhantomAgentTaskRepository phantomAgentTaskRepository) phantomBusterClient
(org.springframework.web.client.RestTemplate restTemplate, PhantomBusterProperties phantomBusterProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) phantomBusterService
(PhantomBusterClient busterClient, PhantomAgentTaskService phantomAgentTaskService) org.springframework.web.client.RestTemplate
-
Constructor Details
-
LinkedProfileSearcherAutoConfiguration
public LinkedProfileSearcherAutoConfiguration()
-
-
Method Details
-
phantomAgentTaskProcessingJob
@Bean public PhantomAgentTaskProcessingJob phantomAgentTaskProcessingJob(PhantomAgentTaskRepository phantomAgentTaskRepository, PhantomBusterClient phantomBusterClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, GenericModelMapper genericModelMapper, UniversityRepository universityRepository) -
phantomAgentTaskService
@Bean public PhantomAgentTaskService phantomAgentTaskService(GenericModelMapper modelMapper, PhantomAgentTaskRepository phantomAgentTaskRepository) -
restTemplate
@Bean public org.springframework.web.client.RestTemplate restTemplate() -
phantomBusterClient
@Bean public PhantomBusterClient phantomBusterClient(org.springframework.web.client.RestTemplate restTemplate, PhantomBusterProperties phantomBusterProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
phantomBusterService
@Bean public PhantomBusterService phantomBusterService(PhantomBusterClient busterClient, PhantomAgentTaskService phantomAgentTaskService) -
linkedInSearchService
@Bean public LinkedInSearchService linkedInSearchService(PhantomBusterService phantomBusterService, PhantomAgentTaskService phantomAgentTaskService, AlumniRepository alumniRepository) -
openAPI
@Bean public io.swagger.v3.oas.models.OpenAPI openAPI() -
applicationStart
@EventListener(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent.class) public void applicationStart(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event)
-