[resteasy-dev] RESTEasy global settings for all deployments

Rostislav Svoboda rsvoboda at redhat.com
Thu Sep 22 11:08:56 EDT 2016


> Yes, this would be a nice new feature, you can create a jira for it. Not sure

JIRA for RESTEasy or directly EAP7 one ?

Rostislav

> if this would be easily applied to running deployments or only to those
> started after the server configuration has been changed (we'll have to think
> about this).
> Cheers
> Alessio
> 
> Il 22/09/2016 16:02, Marek Kopecky ha scritto:
> 
> 
> 
> 
> Hi Alessio.
> 
> I'm thinking about global RESTEasy settings in server. Currently, there are
> no option for change of global RESTEasy settings for all deployment. All
> RESTEasy settings needs to be done in deployment.
> 
> Ideally global RESTEasy settings should be available from WildFly CLI.
> 
> 
> 
> 
> Example: Let's say that server admin needs to disable DataSourceProvider for
> all deployments on server. Now, AFAIK, he needs to:
> 
> 
>     * set "resteasy.use.builtin.providers" property in web.xml of all
>     deployments to "false"
> 
> 
>         * It disable all default providers.
>     * explicitly set providers used in each deployment by
>     "resteasy.providers" property in web.xml of all deployments
> These steps are really uncomfortable, server admin needs to manually update
> all deployments in server. Ideally WildFly server admin could be able to
> disable DataSourceProvider by CLI. But at least server admin could be able
> to disable DataSourceProvider by system properties.
> 
> 
> We can create feature request for this, WDYT?
> 
> 
> Marek
> 
> 
> 
> 
> --
> Alessio Soldano
> Web Service Lead, JBoss
> 
> _______________________________________________
> resteasy-dev mailing list
> resteasy-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/resteasy-dev
> 


More information about the resteasy-dev mailing list