org.apache.cxf.endpoint.private property doesn't work

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

org.apache.cxf.endpoint.private property doesn't work

Punter-2
I want to hide some api's from services list page. I try use
/org.apache.cxf.endpoint.private/ but it doesn't work. In karaf logs, 0
warnings/errors, I think that property just skiping. I know how hide
services list page, but i want to hide some api's from that page.
Blueprint file code:
    <jaxrs:server id="restControlServer" address="/control">
       
        <jaxrs:properties>
            <entry key="org.apache.cxf.endpoint.private" value="true"/>
        </jaxrs:properties>
        <jaxrs:serviceBeans>
            <ref component-id="v1RestControlImpl"/>
        </jaxrs:serviceBeans>
        <jaxrs:providers>
            <bean
class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>
        </jaxrs:providers>
    </jaxrs:server>



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-dev-f569328.html
Reply | Threaded
Open this post in threaded view
|

Re: org.apache.cxf.endpoint.private property doesn't work

coheigea
Administrator
Hi,

It's a bug, which I've fixed for the next release:
https://issues.apache.org/jira/browse/CXF-8246

Colm.

On Tue, Mar 17, 2020 at 12:22 PM Punter <[hidden email]>
wrote:

> I want to hide some api's from services list page. I try use
> /org.apache.cxf.endpoint.private/ but it doesn't work. In karaf logs, 0
> warnings/errors, I think that property just skiping. I know how hide
> services list page, but i want to hide some api's from that page.
> Blueprint file code:
>     <jaxrs:server id="restControlServer" address="/control">
>
>         <jaxrs:properties>
>             <entry key="org.apache.cxf.endpoint.private" value="true"/>
>         </jaxrs:properties>
>         <jaxrs:serviceBeans>
>             <ref component-id="v1RestControlImpl"/>
>         </jaxrs:serviceBeans>
>         <jaxrs:providers>
>             <bean
> class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>
>         </jaxrs:providers>
>     </jaxrs:server>
>
>
>
> --
> Sent from: http://cxf.547215.n5.nabble.com/cxf-dev-f569328.html
>