spring-projects / spring-projects/spring-modulith
spring-modulith-observability breaks RestControllers implementing an Interface
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Java
- Star
- 1.2k
- Fork
- 222
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
When the spring-modulith-observability dependency is present, RestControllers that implement any interface are no longer serving their endpoints or apear in the OpenAPI documentation (Swagger).
This is not limited to interfaces with Rest Annotations (like @GetMapping), or OpenAPI Annotations, but also to interfaces that are not related to the REST API, including empty marker interfaces.
The expected behavior is, that the spring-modulith-observability doesn't have an effect on the availability of RestControllers implementing an interface.
Reproducer https://github.com/gmuecke/spring-modulith-observability-reproducer
Spring Modulith: 1.2.0, 1.1.5
Spring Boot: 3.3.0, 3.2.6
JDK 21
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với reproducer spring-modulith-observability được liên kết và chạy nó với các phiên bản Spring Modulith và Spring Boot được liệt kê. So sánh các RestControllers triển khai các interface khi có và không có dependency, kiểm tra khả năng có sẵn của các endpoint và tài liệu OpenAPI; hoàn thành khi các controller triển khai interface hoạt động trong cả hai trường hợp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java, spring, spring-boot
- Lĩnh vực
- api, backend, observability
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100