Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ public void locateShouldNotThrowExceptionOnFailureWhenFailFastIsDisabled(Capture
assertThat(composite.getPropertySources()).hasSize(0);
assertThat(output.getOut()).contains("Failed to load source:");


}

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
@SpringBootApplication
@EnableScheduling
public class Application {
class Application {

public static void main(String[] args) {
SpringApplication.run(Application.class, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @author wind57
*/
@Service
public class EndpointNameAndNamespaceService {
class EndpointNameAndNamespaceService {

private List<EndpointNameAndNamespace> result;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
* @author wind57
*/
@Component
public class HeartBeatListener implements ApplicationListener<ApplicationEvent> {
class HeartBeatListener implements ApplicationListener<ApplicationEvent> {

private final EndpointNameAndNamespaceService service;

public HeartBeatListener(EndpointNameAndNamespaceService service) {
HeartBeatListener(EndpointNameAndNamespaceService service) {
this.service = service;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HeartbeatController {
class HeartbeatController {

private final EndpointNameAndNamespaceService service;

public HeartbeatController(EndpointNameAndNamespaceService service) {
HeartbeatController(EndpointNameAndNamespaceService service) {
this.service = service;
}

@GetMapping("/result")
public List<EndpointNameAndNamespace> result() {
List<EndpointNameAndNamespace> result() {
return service.result();
}

Expand Down
Loading