@@ -0,0 +1,304 @@
+@RestController%0A@RequestMapping(%22/nbp%22)%0A@RequiredArgsConstructor%0Apublic class SimpleController %7B%0A   %0A    private final Environment environment;%0A%0A    @GetMapping(%22/info%22)%0A    String getMessage()%7B%0A        return %22sample message from  NBP : port : %22 +  environment.getProperty(%22server.port%22); %0A    %7D%0A    %0A%7D%0A

Create SimpleController.java