[JBoss JIRA] (WFCORE-4650) Move to jakarta.inject:jakarta.inject-api
by James Perkins (Jira)
James Perkins created WFCORE-4650:
-------------------------------------
Summary: Move to jakarta.inject:jakarta.inject-api
Key: WFCORE-4650
URL: https://issues.jboss.org/browse/WFCORE-4650
Project: WildFly Core
Issue Type: Task
Components: Build System
Reporter: Yeray Borges
Assignee: Yeray Borges
Migrate from javax.inject:javax.inject:1 to jakarta.inject:jakarta.inject-api:1.0 once it has been formally released and available at maven central.
Jakarta specification release: https://github.com/jakartaee/specifications/pull/63
WildFly boms would need to be revised.
WildFly feature-packs are also using the javax.inject:javax.inject dependency.
Exclusions for other dependencies could be required
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (WFLY-12501) Migrate javax.json to jakarta.json
by James Perkins (Jira)
[ https://issues.jboss.org/browse/WFLY-12501?page=com.atlassian.jira.plugin... ]
James Perkins updated WFLY-12501:
---------------------------------
Description:
This will be a two commit, three step process since the {{javax.json.api}} module is in WildFly Core.
# Create the {{javax.json.api}} and {{org.glassfish.javax.json}} modules in full. This is the first commit
# Change the {{javax.json:javax.json-api}} and {{org.glassfish:javax.json}} dependencies in other modules to {{jakarta.json:jakarta.json-api}} and {{org.glassfish:jakarta.json}} respectively. This is the second commit.
# Once core, WFCORE-4648, is merged into WildFly revert the first commit.
was:
* Migrate {{javax.json:javax.json-api:1.1.2}} to {{jakarta.json:jakarta-json-api:1.1.6}}.
* Migrate {{org.glassfish:javax.json:1.1.2}} to {{org.glassfish:jakarta.json:1.1.6}}
> Migrate javax.json to jakarta.json
> ----------------------------------
>
> Key: WFLY-12501
> URL: https://issues.jboss.org/browse/WFLY-12501
> Project: WildFly
> Issue Type: Sub-task
> Components: EE
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Blocker
> Fix For: 18.0.0.Final
>
>
> This will be a two commit, three step process since the {{javax.json.api}} module is in WildFly Core.
> # Create the {{javax.json.api}} and {{org.glassfish.javax.json}} modules in full. This is the first commit
> # Change the {{javax.json:javax.json-api}} and {{org.glassfish:javax.json}} dependencies in other modules to {{jakarta.json:jakarta.json-api}} and {{org.glassfish:jakarta.json}} respectively. This is the second commit.
> # Once core, WFCORE-4648, is merged into WildFly revert the first commit.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (WFLY-12501) Migrate javax.json to jakarta.json
by James Perkins (Jira)
[ https://issues.jboss.org/browse/WFLY-12501?page=com.atlassian.jira.plugin... ]
James Perkins moved WFCORE-4649 to WFLY-12501:
----------------------------------------------
Project: WildFly (was: WildFly Core)
Key: WFLY-12501 (was: WFCORE-4649)
Component/s: EE
(was: Modules)
Fix Version/s: 18.0.0.Final
(was: 10.0.0.Final)
> Migrate javax.json to jakarta.json
> ----------------------------------
>
> Key: WFLY-12501
> URL: https://issues.jboss.org/browse/WFLY-12501
> Project: WildFly
> Issue Type: Task
> Components: EE
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Blocker
> Fix For: 18.0.0.Final
>
>
> * Migrate {{javax.json:javax.json-api:1.1.2}} to {{jakarta.json:jakarta-json-api:1.1.6}}.
> * Migrate {{org.glassfish:javax.json:1.1.2}} to {{org.glassfish:jakarta.json:1.1.6}}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (WFCORE-4649) Migrate javax.json to jakarta.json
by James Perkins (Jira)
James Perkins created WFCORE-4649:
-------------------------------------
Summary: Migrate javax.json to jakarta.json
Key: WFCORE-4649
URL: https://issues.jboss.org/browse/WFCORE-4649
Project: WildFly Core
Issue Type: Task
Components: Modules
Reporter: James Perkins
Assignee: James Perkins
Fix For: 10.0.0.Final
* Migrate {{javax.json:javax.json-api:1.1.2}} to {{jakarta.json:jakarta-json-api:1.1.6}}.
* Migrate {{org.glassfish:javax.json:1.1.2}} to {{org.glassfish:jakarta.json:1.1.6}}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (WFCORE-4648) Migrate javax.json to jakarta.json
by James Perkins (Jira)
James Perkins created WFCORE-4648:
-------------------------------------
Summary: Migrate javax.json to jakarta.json
Key: WFCORE-4648
URL: https://issues.jboss.org/browse/WFCORE-4648
Project: WildFly Core
Issue Type: Task
Components: Modules
Reporter: James Perkins
Assignee: James Perkins
Fix For: 10.0.0.Final
* Migrate {{javax.json:javax.json-api:1.1.2}} to {{jakarta.json:jakarta-json-api:1.1.6}}.
* Migrate {{org.glassfish:javax.json:1.1.2}} to {{org.glassfish:jakarta.json:1.1.6}}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months
[JBoss JIRA] (WFLY-12500) Allow to change RESTEasy settings via HAL
by Harald Pehl (Jira)
Harald Pehl created WFLY-12500:
----------------------------------
Summary: Allow to change RESTEasy settings via HAL
Key: WFLY-12500
URL: https://issues.jboss.org/browse/WFLY-12500
Project: WildFly
Issue Type: Feature Request
Reporter: Harald Pehl
Assignee: Ronald Sigal
Fix For: 18.0.0.Final
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:
{noformat}
/deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:read-resource
{noformat}
CLI should be able to set values of this properties per each deployment:
{noformat}
/deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:write-attribute(name=resteasy.use.builtin.providers,value=false)
{noformat}
CLI should be able to specify values of this attributes globally for all deployments (global settings override deployment settings):
{noformat}
/subsystem=jaxrs:write-attribute(name=resteasy.media.type.mappings,value="html : text/html, txt : text/plain")
{noformat}
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:
{noformat}
./providers/jackson2/src/main/resources/META-INF/services/javax.ws.rs.ext.Providers
./providers/yaml/src/main/resources/META-INF/services/javax.ws.rs.ext.Providers
./resteasy-jaxrs/src/main/resources/META-INF/services/javax.ws.rs.ext.Providers
...
{noformat}
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:
{noformat}
/subsystem=jaxrs:list-add(name=disabled-providers,value=org.jboss.resteasy.plugins.providers.DataSourceProvider)
/subsystem=jaxrs:list-add(name=allowed-providers,value=org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor)
/deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:list-add(name=disabled-providers,value=org.jboss.resteasy.plugins.providers.DataSourceProvider)
/deployment=${NAME_OF_DEPLOYMENT}/subsystem=jaxrs:list-add(name=allowed-providers,value=org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor)
{noformat}
----
*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
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 10 months