|
|
@@ -7,6 +7,7 @@ import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.client.RestTemplate; |
|
|
|
import org.springframework.web.context.ContextLoader; |
|
|
|
|
|
|
|
import java.time.Duration; |
|
|
|
import java.time.LocalDateTime; |
|
|
@@ -25,6 +26,6 @@ public class DipperPositionController { |
|
|
|
|
|
|
|
@RequestMapping("/getPos") |
|
|
|
public String getPos() { |
|
|
|
return "Helle world!"; |
|
|
|
return "Helle world!" + ContextLoader.getCurrentWebApplicationContext().toString(); |
|
|
|
} |
|
|
|
} |