Class ProjectGenerationStatPublisher

java.lang.Object
io.spring.initializr.actuate.stat.ProjectGenerationStatPublisher

public class ProjectGenerationStatPublisher extends Object
Publish stats for each project generated to an Elastic index.
Author:
Stephane Nicoll
  • Constructor Details

  • Method Details

    • handleEvent

      @EventListener @Async public void handleEvent(ProjectRequestEvent event)
    • getRestTemplate

      protected org.springframework.web.client.RestTemplate getRestTemplate()
    • updateRequestUrl

      protected void updateRequestUrl(URI requestUrl)