Revision 60960
Added by Konstantina Galouni about 3 years ago
TestController.java | ||
---|---|---|
17 | 17 |
@Autowired |
18 | 18 |
private StakeholderDAO stakeholderDAO; |
19 | 19 |
|
20 |
@RequestMapping("/") |
|
21 |
public String index() { |
|
22 |
return "Greetings from Spring Boot!"; |
|
23 |
} |
|
20 |
// @RequestMapping("/")
|
|
21 |
// public String index() {
|
|
22 |
// return "Greetings from Spring Boot!";
|
|
23 |
// }
|
|
24 | 24 |
|
25 | 25 |
// Check ExceptionHandler |
26 | 26 |
@RequestMapping(value = "/test-error1", method = RequestMethod.GET) |
Also available in: Unified diff
[Trunk | Monitor Service]:
1. MonitorServiceCheckDeployController.java: [NEW] Controller added and
a. "hello()" method (@RequestMapping(value = {"", "/health_check"}, method = RequestMethod.GET)) which just prints and returns a greeting message.
b. "checkEverything()" method @RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET) only accessible by PORTAL ADMINS which checks connection with db and prints properties.
2. TestController.java: Comment "index()" method with @RequestMapping("/").
3. IndicatorController.java: [Bug fix]
a. Added a check when the value of an indicator path parameter is null
b. When an indicator path parameter from a default profile is deleted, delete this parameter also from all profiles based on this default.