반응형
SMALL
pom.xml에 추가
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
application.properties에 추가
management.endpoints.web.exposure.include=*
위 코드는 더 많은 정보를 보여줌
http://localhost:8080/actuator
pom.xml에 추가
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-rest-hal-explorer</artifactId>
</dependency>
http://localhost:8080
접속 후 actutaor, users 등 살펴보기
초록색 화살표가 GET을 의미
반응형
LIST
'Spring > Spring Boot' 카테고리의 다른 글
User @Entity, @id, @GeneratedValue 적용 (0) | 2023.10.06 |
---|---|
Rest API 동적 필터링 (0) | 2023.10.06 |
REST API 버전 관리 (params, headers, produces) (0) | 2023.10.05 |
name, password 구현 (0) | 2023.09.21 |
logging (0) | 2023.09.21 |