spring-projects / spring-projects/spring-modulith

spring-modulith-observability breaks RestControllers implementing an Interface

オープン
#653 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Java
スター
1.2k
フォーク
222
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンクされている spring-modulith-observability reproducer から始め、一覧にある Spring Modulith および Spring Boot のバージョンに対して実行します。依存関係がある場合とない場合で、インターフェースを実装する RestControllers を比較し、エンドポイントの利用可能性と OpenAPI ドキュメントを確認します。インターフェースを実装するコントローラーが両方の場合で動作すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, spring, spring-boot
領域
api, backend, observability
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。