cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Shakirin (JIRA)" <>
Subject [jira] [Commented] (CXF-7010) Swagger2Feature can not auto-link to SwaggerUi in OSGI
Date Sun, 02 Apr 2017 14:43:41 GMT


Andrei Shakirin commented on CXF-7010:

Hi Sergey,

I have discovered one case in OSGi, where the default bus fix doesn't really solve the problem.
It happens, if jax-rs service initializes a jax-rs or jax-ws client proxy on startup and this
client proxy is created not through the blueprint, but programmatically for example using
If such client is created before the registration of first blueprint jax-rs service or blueprint
jax-rs client in OSGi, the BusFactory will be initialized with ExtensionManagerBus as default
bus (instead BlueprintBus).
This ExtensionManagerBus doesn't used by WadlGeneratior and doesn't know about "wadl.service.description.available"
As result the WADL links still wouldn't be shown in service list page.
Of course it is a bit "exotic" case, anyway the service page view will changed after migration
on CXF 3.X.
I haven't a good idea how to fix it, perhaps introducing optional JVM property that always
force WADL links. What do you think?


> Swagger2Feature can not auto-link to SwaggerUi in OSGI
> ------------------------------------------------------
>                 Key: CXF-7010
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.7
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.8, 3.2.0

This message was sent by Atlassian JIRA

View raw message