Many RESTEasy properties can be set in web.xml. CLI should be able to show values of these properties per each deployment by this command:
CLI should be able to set values of this properties per each deployment:
CLI should be able to specify values of this attributes globally for all deployments (global settings override deployment settings):
We should consider which properties should be available via CLI.
Default providers, interceptors, etc. are set in many javax.ws.rs.ext.Providers files in RESTEasy sources:
CLI shoud allow to add other providers, interceptors, etc., or disable some in global level for all deployments. CLI should allow to add or disable it for specific deployment. Disabling should have higher priority then allowing. Global settings override deployment settings.
Proposal for CLI attributes (list-add is standard CLI function) - examples:
Example without this RFE:
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