33992 added support for importing HTTP service proxies into a registry and declaring them as beans for direct autowiring. This can be done centrally through@ImportHttpServices
and also through extensions of AbstractHttpServiceRegistrar
as described in the docs.
It would be useful to have an alternative, more decentralized option too, e.g. an @HttpServiceClient
annotation to put on an HTTP service interface with the option to declare the group it belongs to through an attribute. We can provide this along with dedicated extension of AbstractHttpServiceRegistrar
that looks for such annotated interfaces in specified base packages.