Class PropertyPathEndpoint

java.lang.Object
org.springframework.cloud.config.monitor.PropertyPathEndpoint
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

@RestController @RequestMapping(path="${spring.cloud.config.monitor.endpoint.path:}/monitor") public class PropertyPathEndpoint extends Object implements org.springframework.context.ApplicationEventPublisherAware
HTTP endpoint for webhooks coming from repository providers.
Author:
Dave Syer
  • Constructor Details

  • Method Details

    • setApplicationEventPublisher

      public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
      Specified by:
      setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware
    • notifyByPath

      @PostMapping public Set<String> notifyByPath(@RequestHeader org.springframework.http.HttpHeaders headers, @RequestBody Map<String,Object> request)
    • notifyByForm

      @PostMapping(consumes="application/x-www-form-urlencoded") public Set<String> notifyByForm(@RequestHeader org.springframework.http.HttpHeaders headers, @RequestParam("path") List<String> request)