Jump To Close Expand all Collapse all Table of contents 使用 JBoss EAP XP 3.0.0 使开源包含更多 对红帽文档提供反馈 1. 适用于最新 MicroProfile 功能的 JBoss EAP XP Expand section "1. 适用于最新 MicroProfile 功能的 JBoss EAP XP" Collapse section "1. 适用于最新 MicroProfile 功能的 JBoss EAP XP" 1.1. 关于 JBoss EAP XP 1.2. JBoss EAP XP 安装 1.3. JBoss EAP XP 管理器 1.4. JBoss EAP XP Manager 3.0 命令 1.5. 在 JBoss EAP 7.4.x 上安装 JBoss EAP XP 3.0.0 1.6. 卸载 JBoss EAP XP 1.7. 查看 JBoss EAP XP 的状态 1.8. 回滚 JBoss EAP XP 和 JBoss EAP 7.4.x 基本补丁 2. 了解 MicroProfile Expand section "2. 了解 MicroProfile" Collapse section "2. 了解 MicroProfile" 2.1. MicroProfile Config Expand section "2.1. MicroProfile Config" Collapse section "2.1. MicroProfile Config" 2.1.1. JBoss EAP 中的 MicroProfile 配置 2.1.2. MicroProfile 配置中支持的 MicroProfile 配置源 2.2. MicroProfile 容错 Expand section "2.2. MicroProfile 容错" Collapse section "2.2. MicroProfile 容错" 2.2.1. 关于 MicroProfile 容错规范 2.2.2. JBoss EAP 中的 MicroProfile 容错 2.3. MicroProfile Health Expand section "2.3. MicroProfile Health" Collapse section "2.3. MicroProfile Health" 2.3.1. JBoss EAP 中的 MicroProfile 健康 2.4. MicroProfile JWT Expand section "2.4. MicroProfile JWT" Collapse section "2.4. MicroProfile JWT" 2.4.1. JBoss EAP 中的 MicroProfile JWT 集成 2.4.2. 传统部署和 MicroProfile JWT 部署之间的区别 2.4.3. JBoss EAP 中的 MicroProfile JWT 激活 2.4.4. JBoss EAP 中 MicroProfile JWT 的限制 2.5. MicroProfile Metrics Expand section "2.5. MicroProfile Metrics" Collapse section "2.5. MicroProfile Metrics" 2.5.1. JBoss EAP 中的 MicroProfile 指标 2.6. MicroProfile OpenAPI Expand section "2.6. MicroProfile OpenAPI" Collapse section "2.6. MicroProfile OpenAPI" 2.6.1. JBoss EAP 中的 MicroProfile OpenAPI 2.7. MicroProfile OpenTracing Expand section "2.7. MicroProfile OpenTracing" Collapse section "2.7. MicroProfile OpenTracing" 2.7.1. MicroProfile OpenTracing 2.7.2. JBoss EAP 中的 MicroProfile OpenTracing 2.8. MicroProfile REST 客户端 Expand section "2.8. MicroProfile REST 客户端" Collapse section "2.8. MicroProfile REST 客户端" 2.8.1. MicroProfile REST 客户端 3. 在 JBoss EAP 中管理 MicroProfile Expand section "3. 在 JBoss EAP 中管理 MicroProfile" Collapse section "3. 在 JBoss EAP 中管理 MicroProfile" 3.1. MicroProfile OpenTracing 管理 Expand section "3.1. MicroProfile OpenTracing 管理" Collapse section "3.1. MicroProfile OpenTracing 管理" 3.1.1. 启用 MicroProfile Open Tracing 3.1.2. 删除 microprofile-opentracing-smallrye 子系统 3.1.3. 添加 microprofile-opentracing-smallrye 子系统 3.1.4. 安装 Jaeger 3.2. MicroProfile 配置 Expand section "3.2. MicroProfile 配置" Collapse section "3.2. MicroProfile 配置" 3.2.1. 在 ConfigSource 管理资源中添加属性 3.2.2. 将目录配置为 ConfigSources 3.2.3. 从 ConfigSource 类获取 ConfigSource 3.2.4. 从 ConfigSourceProvider 类获取 ConfigSource 配置 3.3. MicroProfile 容错配置 Expand section "3.3. MicroProfile 容错配置" Collapse section "3.3. MicroProfile 容错配置" 3.3.1. 添加 MicroProfile 容错扩展 3.4. MicroProfile 健康配置 Expand section "3.4. MicroProfile 健康配置" Collapse section "3.4. MicroProfile 健康配置" 3.4.1. 使用管理 CLI 检查健康状况 3.4.2. 使用管理控制台检查健康状况 3.4.3. 使用 HTTP 端点检查健康状况 3.4.4. 为 MicroProfile 健康启用身份验证 3.4.5. 决定服务器健康和就绪度的就绪度探测 3.4.6. 未定义探测时的全局状态 3.5. MicroProfile JWT 配置 Expand section "3.5. MicroProfile JWT 配置" Collapse section "3.5. MicroProfile JWT 配置" 3.5.1. 启用 microprofile-jwt-smallrye 子系统 3.6. MicroProfile 指标管理 Expand section "3.6. MicroProfile 指标管理" Collapse section "3.6. MicroProfile 指标管理" 3.6.1. 管理界面中提供的指标 3.6.2. 使用 HTTP 端点检查指标 3.6.3. 为 MicroProfile 指标 HTTP 端点启用身份验证 3.6.4. 获取 web 服务的请求数 3.7. MicroProfile OpenAPI 管理 Expand section "3.7. MicroProfile OpenAPI 管理" Collapse section "3.7. MicroProfile OpenAPI 管理" 3.7.1. 启用 MicroProfile OpenAPI 3.7.2. 使用 Accept HTTP 标头请求 MicroProfile OpenAPI 文档 3.7.3. 使用 HTTP 参数请求 MicroProfile OpenAPI 文档 3.7.4. 配置 JBoss EAP 以提供静态 OpenAPI 文档 3.7.5. 禁用 microprofile-openapi-smallrye 3.8. 单机服务器配置 Expand section "3.8. 单机服务器配置" Collapse section "3.8. 单机服务器配置" 3.8.1. 单机服务器配置文件 3.8.2. 使用 MicroProfile 子系统和扩展更新独立配置 4. 为 JBoss EAP 开发 MicroProfile 应用 Expand section "4. 为 JBoss EAP 开发 MicroProfile 应用" Collapse section "4. 为 JBoss EAP 开发 MicroProfile 应用" 4.1. Maven 和 JBoss EAP MicroProfile Maven 存储库 Expand section "4.1. Maven 和 JBoss EAP MicroProfile Maven 存储库" Collapse section "4.1. Maven 和 JBoss EAP MicroProfile Maven 存储库" 4.1.1. 下载 JBoss EAP MicroProfile Maven 存储库补丁作为存档文件 4.1.2. 在您的本地系统中应用 JBoss EAP MicroProfile Maven 存储库补丁 4.1.3. 支持的 JBoss EAP MicroProfile BOM 4.1.4. 使用 JBoss EAP MicroProfile Maven 存储库 4.2. MicroProfile 配置开发 Expand section "4.2. MicroProfile 配置开发" Collapse section "4.2. MicroProfile 配置开发" 4.2.1. 为 MicroProfile 配置创建 Maven 项目 4.2.2. 在应用中使用 MicroProfile Config 属性 4.3. MicroProfile 容错应用开发 Expand section "4.3. MicroProfile 容错应用开发" Collapse section "4.3. MicroProfile 容错应用开发" 4.3.1. 添加 MicroProfile 容错扩展 4.3.2. 为 MicroProfile 容错配置 Maven 项目 4.3.3. 创建容错应用程序 4.4. MicroProfile 健康开发 Expand section "4.4. MicroProfile 健康开发" Collapse section "4.4. MicroProfile 健康开发" 4.4.1. 自定义健康检查示例 4.4.2. @Liveness 注释示例 4.4.3. @Readiness 注释示例 4.5. MicroProfile JWT 应用程序开发 Expand section "4.5. MicroProfile JWT 应用程序开发" Collapse section "4.5. MicroProfile JWT 应用程序开发" 4.5.1. 启用 microprofile-jwt-smallrye 子系统 4.5.2. 配置 Maven 项目以开发 JWT 应用程序 4.5.3. 使用 MicroProfile JWT 创建应用 4.6. MicroProfile 指标开发 Expand section "4.6. MicroProfile 指标开发" Collapse section "4.6. MicroProfile 指标开发" 4.6.1. 创建 MicroProfile 指标应用 4.7. 开发 MicroProfile OpenAPI 应用 Expand section "4.7. 开发 MicroProfile OpenAPI 应用" Collapse section "4.7. 开发 MicroProfile OpenAPI 应用" 4.7.1. 启用 MicroProfile OpenAPI 4.7.2. 为 MicroProfile OpenAPI 配置 Maven 项目 4.7.3. 创建 MicroProfile OpenAPI 应用 4.7.4. 配置 JBoss EAP 以提供静态 OpenAPI 文档 4.8. MicroProfile REST 客户端开发 Expand section "4.8. MicroProfile REST 客户端开发" Collapse section "4.8. MicroProfile REST 客户端开发" 4.8.1. MicroProfile REST 客户端与 Jakarta RESTful Web 服务语法的比较 4.8.2. MicroProfile REST 客户端中的提供程序编程注册 4.8.3. 在 MicroProfile REST 客户端中声明提供程序注册 4.8.4. MicroProfile REST 客户端中的标头声明规格 4.8.5. MicroProfile REST 客户端中的 ResponseExceptionMapper 4.8.6. 使用 MicroProfile REST 客户端进行上下文依赖项注入 5. 在 OpenShift 镜像上构建并运行 JBoss EAP XP 的微服务应用程序 Expand section "5. 在 OpenShift 镜像上构建并运行 JBoss EAP XP 的微服务应用程序" Collapse section "5. 在 OpenShift 镜像上构建并运行 JBoss EAP XP 的微服务应用程序" 5.1. 为应用程序部署准备 OpenShift 5.2. 配置 Red Hat Container Registry 的身份验证 5.3. 为 JBoss EAP XP 导入最新的 OpenShift 镜像流和模板 5.4. 在 OpenShift 上部署 JBoss EAP XP Source-to-image(S2I)应用 5.5. 为 JBoss EAP XP Source-to-image(S2I)应用完成部署后的任务 6. 功能修剪 Expand section "6. 功能修剪" Collapse section "6. 功能修剪" 6.1. 可用的 JBoss EAP 层 Expand section "6.1. 可用的 JBoss EAP 层" Collapse section "6.1. 可用的 JBoss EAP 层" 6.1.1. 基础层 6.1.2. decorator 层 7. 在红帽 CodeReady Studio 上为 JBoss EAP 启用 MicroProfile 应用开发 Expand section "7. 在红帽 CodeReady Studio 上为 JBoss EAP 启用 MicroProfile 应用开发" Collapse section "7. 在红帽 CodeReady Studio 上为 JBoss EAP 启用 MicroProfile 应用开发" 7.1. 配置 CodeReady Studio 以使用 MicroProfile 功能 7.2. 将 MicroProfile 快速入门用于 CodeReady Studio 8. 可引导 JAR Expand section "8. 可引导 JAR" Collapse section "8. 可引导 JAR" 8.1. 关于可引导 JAR 8.2. JBoss EAP Maven 插件 8.3. 可引导 JAR 参数 8.4. 为您的可引导 JAR 服务器指定 Galleon 层 8.5. 在 JBoss EAP 裸机平台上使用可引导 JAR 8.6. 在 JBoss EAP 裸机平台上创建 hollow 可引导 JAR 8.7. CLI 脚本 8.8. 在 JBoss EAP OpenShift 平台上使用可引导 JAR 8.9. 为 OpenShift 配置可引导 JAR 8.10. 在 OpenShift 上的应用程序中使用 ConfigMap 8.11. 创建可引导 JAR Maven 项目 8.12. 为可引导 JAR 启用 JSON 日志记录 8.13. 为多个可引导 JAR 实例启用 Web 会话数据存储 8.14. 使用 CLI 脚本为可引导 JAR 启用 HTTP 身份验证 8.15. 使用红帽单点登录保护 JBoss EAP 可引导 JAR 应用程序 8.16. 在 dev 模式下打包可引导 JAR 8.17. 将 JBoss EAP 补丁应用到可引导 JAR 9. reference Expand section "9. reference" Collapse section "9. reference" 9.1. MicroProfile 配置参考 Expand section "9.1. MicroProfile 配置参考" Collapse section "9.1. MicroProfile 配置参考" 9.1.1. 默认 MicroProfile 配置属性 9.1.2. MicroProfile Config SmallRye ConfigSources 9.2. MicroProfile 容错参考 Expand section "9.2. MicroProfile 容错参考" Collapse section "9.2. MicroProfile 容错参考" 9.2.1. MicroProfile 容错配置属性 9.3. MicroProfile JWT 参考 Expand section "9.3. MicroProfile JWT 参考" Collapse section "9.3. MicroProfile JWT 参考" 9.3.1. MicroProfile 配置 JWT 标准属性 9.4. MicroProfile OpenAPI 参考 Expand section "9.4. MicroProfile OpenAPI 参考" Collapse section "9.4. MicroProfile OpenAPI 参考" 9.4.1. MicroProfile OpenAPI 配置属性 Settings Close Language: 简体中文 한국어 日本語 English Language: 简体中文 한국어 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 简体中文 한국어 日本語 English Language: 简体中文 한국어 日本語 English Format: Multi-page Single-page Format: Multi-page Single-page 3.2. MicroProfile 配置 3.2.1. 在 ConfigSource 管理资源中添加属性 您可以将属性直接作为管理资源存储在 config-source 子系统中。 流程 创建 ConfigSource 并添加属性: /subsystem=microprofile-config-smallrye/config-source=props:add(properties={"name" = "jim"}) Previous Next