https://issues.apache.org/jira/browse/ARIES-1931

On Fri, Sep 20, 2019 at 8:25 AM Raymond Auge <[email protected]>
wrote:

> I think I'm the only one that likes it so I guess we should remove it ☺️.
>
> - Ray
>
> On Fri, Sep 20, 2019, 03:35 Christian Schneider, <[email protected]>
> wrote:
>
>> I can not speak for other users of jax-rs but for me personally it was
>> rather annoying that the main page of my web server suddenly shows some
>> kind of advertisement for Aries JAX-RS. The page also does not really help
>> in getting your first jax-rs sevice up.
>>
>> Of course better documentation allows to easily understand how to remove
>> it
>> again, but it forces everyone to apply this configuration. No one will
>> want
>> this information page on top level in their finished product.
>>
>> How about instead of showing this page we offer a pre built example bundle
>> that can simply be installed to show the system is running. This would
>> leave the main jar ready for production use and still allow the user to
>> easily check jax-rs works in his environment. I am willing to create such
>> an example and document how to use it.
>>
>> Christian
>>
>> Am Do., 19. Sept. 2019 um 17:02 Uhr schrieb Raymond Auge <
>> [email protected]>:
>>
>> > In fact I could add this tidbit of information in the default web page
>> > itself.
>> >
>> > I think it's nice to boot up a bare jaxrs runtime with at least
>> something
>> > that shows it works.
>> >
>> > - Ray
>> >
>> > On Thu, Sep 19, 2019 at 11:00 AM Raymond Auge <[email protected]
>> >
>> > wrote:
>> >
>> > > Is setting the configuration property `default.web=false` in a
>> > > configuration for PID `org.apache.aries.jax.rs.whiteboard.default`
>> not
>> > > sufficient?
>> > >
>> > > - Ray
>> > >
>> > > On Thu, Sep 19, 2019 at 8:48 AM Jean-Baptiste Onofré <[email protected]
>> >
>> > > wrote:
>> > >
>> > >> +1
>> > >>
>> > >> it makes sense and it would avoid to eventually "conflict" with user
>> > >> space servlet.
>> > >>
>> > >> Regards
>> > >> JB
>> > >>
>> > >> On 19/09/2019 14:46, Christian Schneider wrote:
>> > >> > Currently when you install the Aries JAX-RS whiteboard it installs
>> a
>> > >> > servlet on top level of the http server with some information
>> around
>> > >> Aries
>> > >> > JAX-RS.
>> > >> > I think this is not a good idea as it interferes with possible
>> other
>> > >> > servlets. It can be deactivated with a property but I think this is
>> > >> still a
>> > >> > bad default.
>> > >> >
>> > >> > So I propose to not install the servlet by default and instead
>> allow
>> > to
>> > >> > activate it via a property or even better an OSGi config.
>> > >> >
>> > >> > WDYT?
>> > >> >
>> > >> > Christian
>> > >> >
>> > >>
>> > >> --
>> > >> Jean-Baptiste Onofré
>> > >> [email protected]
>> > >> http://blog.nanthrax.net
>> > >> Talend - http://www.talend.com
>> > >>
>> > >
>> > >
>> > > --
>> > > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>> > >  (@rotty3000)
>> > > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>> > >  (@Liferay)
>> > >
>> >
>> >
>> > --
>> > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>> >  (@rotty3000)
>> > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>> >  (@Liferay)
>> >
>>
>>
>> --
>> --
>> Christian Schneider
>> http://www.liquid-reality.de
>>
>> Computer Scientist
>> http://www.adobe.com
>>
>

-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)

Reply via email to