| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| IndexController |
|
| 1.0;1 |
| 1 | package com.ctrip.apollo.adminservice.controller; | |
| 2 | ||
| 3 | import org.springframework.web.bind.annotation.RequestMapping; | |
| 4 | import org.springframework.web.bind.annotation.RestController; | |
| 5 | ||
| 6 | @RestController | |
| 7 | @RequestMapping(path = "/") | |
| 8 | 1 | public class IndexController { |
| 9 | ||
| 10 | @RequestMapping(path = "") | |
| 11 | public String index() { | |
| 12 | 0 | return "apollo-adminservice"; |
| 13 | } | |
| 14 | } |