Closed
Description
As part of #29334, the HTTP observability types were moved from org.springframework.web.observation
to org.springframework.http.observation
. While this improved the overall structure of the codebase, it also introduced a package tangle since classes in org.springframework.http.observation.reactive
depend on org.springframework.web.*
types like PathPattern
and ServerWebExchange
.
We should either ensure that observation types don't depend on higher level types (by flattening the ServerWebExchange
dependency and using raw String
instead of path pattern), or move back types where they were.
As part of this issue, we should ensure that no cycle remains and that the package structure is consistent, including in client observations.