7.2. CodeReady Studio에 대한 MicroProfile 빠른 시작 사용
MicroProfile 빠른 시작을 활성화하면 설치된 서버에서 간단한 예제를 실행하고 테스트할 수 있습니다.
이 예제에서는 다음과 같은 MicroProfile 기능을 보여줍니다.
- MicroProfile Config
- MicroProfile Fault Tolerance
- MicroProfile Health
- MicroProfile JWT
- MicroProfile Metrics
- MicroProfile OpenAPI
- MicroProfile OpenTracing
- MicroProfile REST Client
프로세스
-
빠른 시작 부모 Artifact에서
pom.xml
파일을 가져옵니다. 사용 중인 빠른 시작에 환경 변수가 필요한 경우 환경 변수를 구성합니다.
서버 개요 대화 상자의 시작 구성에 환경 변수를 정의합니다.
예를 들어
microprofile-opentracing
빠른 시작에서는 다음 환경 변수를 사용합니다.-
JAEGER_REPORTER_LOG_SPANS
가true
로 설정 -
JAEGER_SAMPLER_PARAM
을1
로 설정 -
JAEGER_SAMPLER_TYPE
을const
로 설정
-
추가 리소스
JBoss Enterprise Application Platform 확장 팩 정보
Red Hat JBoss Enterprise Application Platform 확장 팩 지원 및 라이프 사이클 정책