WildFly Swarm 2018.5.0 已发布,带来了以下的更新内容:
修复和改进 Eclipse MicroProfile
升级 fractions 以与 WildFly 11 配置相匹配
其中关于 Eclipse MicroProfile 的修复和改进如下:
MicroProfile JWT
It’s now possible to load public keys from JWKS URI using the swarm.microprofile.jwt.token.jwks-uri
config property
It’s now possible to specify a file:
or classpath:
reference to the public key in swarm.microprofile.jwt.token.signer-pub-key
config property
Configuration - roles properties file is now optional
A JAX-RS resource with no @RolesAllowed
annotation is now secured properly
By default, if there is no class-level security annotation, an unconstrained resource method has always an implicit @DenyAll
. It’s now configurable through swarm.microprofile.jwt.default-missing-method-permissions-deny-access
config property
MicroProfile Fault Tolerance
Support @Asynchronous
@CircuitBreaker
and @Asynchronous
@Retry
combinations
Fraction configuration properties and limitations are now properly documented
MicroProfile OpenAPI
Endpoints that accept arrays and generic types are supported properly
详情请查看发布主页: http://wildfly-swarm.io/posts/announcing-wildfly-swarm-2018-5-0/
WildFly 是红帽公司新一代应用服务器。支持动态模块化、集中化管理、Java EE 7,而 WildFly Swarm 是 WildFly 的微服务化支持,和 Spring Boot 类似。但是 WildFly Swarm 完整的支持 Java EE 标准
WildFly Swarm 采取的可执行文件"uberjars"打包方式。支持传统 JavaEE Api 的任何功能。此外,WildFly Swarm 还包含了诸多其他先进的组件,并可以无缝的集成到用户的程序中去。这包括用于身份验证/授权的 Keycloak、通过 NetflixOSS Ribbon/Hystrix 来实现的负载平衡、通过 Logstash 实现日志聚合功能。
服务架构:
服务故障转移: