[JBoss JIRA] (JBIDE-18516) JAX-RS Validator should report problem when @DefaultValue is used alone
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18516?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-18516:
----------------------------------
Fix Version/s: 4.3.0.Alpha2
(was: 4.3.0.Alpha1)
> JAX-RS Validator should report problem when @DefaultValue is used alone
> -----------------------------------------------------------------------
>
> Key: JBIDE-18516
> URL: https://issues.jboss.org/browse/JBIDE-18516
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.2.0.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.0.Alpha2
>
>
> If a method parameter is annotated with {{@DefaultValue}} but has _no_ {{@QueryParam}} (or similar) annotation, then the application will most certainly fail with an error message such as:
> {code}
> failed to execute: javax.ws.rs.NotSupportedException: Could not find message body reader for type: int of content type: */*
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-17822) Launch shortcut enablement expression caused exception
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17822?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-17822:
----------------------------------
Fix Version/s: 4.3.0.Alpha2
(was: 4.3.0.Alpha1)
> Launch shortcut enablement expression caused exception
> ------------------------------------------------------
>
> Key: JBIDE-17822
> URL: https://issues.jboss.org/browse/JBIDE-17822
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.0.Alpha2
>
> Attachments: error1, error2, error3, error4, error5
>
>
> Sometimes when expanding JAX-RS Explorer, a bunch of errors appears in Error Log.
> There are 5 similar errors:
> {code}
> Launch shortcut 'org.testng.eclipse.shortcut' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesPattern to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.testng.eclipse.shortcut.testngSuite' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesPattern to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.jboss.tools.maven.actions.LifeCycleCleanVerify' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.jboss.tools.maven.ui.isCleanVerifyMenuEnabled to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.eclipse.ant.ui.antShortcutWithDialog' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesContentType to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.eclipse.ant.ui.antShortcut' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesContentType to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-13003) No support for inheritance in JAX-RS API scan
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13003?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-13003:
----------------------------------
Fix Version/s: (was: 4.3.0.Alpha1)
Affects Version/s: 4.3.x
> No support for inheritance in JAX-RS API scan
> ---------------------------------------------
>
> Key: JBIDE-13003
> URL: https://issues.jboss.org/browse/JBIDE-13003
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.0.0.Alpha2, 4.3.x
> Reporter: Ron Ratovsky
> Assignee: Xavier Coulon
> Labels: jax-rs
>
> Assume:
> class BaseRest {
> @POST
> public Response save(Object o) {
> ....
> }
> }
> @Path("/url")
> class RealRest extends BaseRest {}
> The JAX-RS tools won't add a "POST /url" entry to the JAX-RS calls overview.
> While not tested (due to another bug) - they may also apply to definitions of @PathParam's in the parent class.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-13279) Generate JAX-RS Resource class from POJO
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13279?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-13279:
----------------------------------
Fix Version/s: LATER
(was: 4.3.x)
> Generate JAX-RS Resource class from POJO
> ----------------------------------------
>
> Key: JBIDE-13279
> URL: https://issues.jboss.org/browse/JBIDE-13279
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.0.0.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: LATER
>
>
> Provide a way to generate a JAX-RS resource skeleton from a selected POJO (no need to be annotated with anything particular)
> A wizard could let the user select the endpoints (@GET @GET@PATH("/{id"), etc.) that she want to have.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-17477) Remember to skip application creation in JAX-RS Wizard
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17477?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-17477:
----------------------------------
Fix Version/s: LATER
(was: 4.3.x)
> Remember to skip application creation in JAX-RS Wizard
> ------------------------------------------------------
>
> Key: JBIDE-17477
> URL: https://issues.jboss.org/browse/JBIDE-17477
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.2.0.Beta2
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: LATER
>
>
> The JAX-RS Resource creation wizard provides a page to create a JAX-RS Application in the project if none was found, but the user may want to skip this step if she plans to deploy her application in a non JEE6/7 environment - which would require a custom configuration (e.g.: a servlet dispatcher) to activate and use the JAX-RS resources.
> The wizard should remember that choice, so the user would not have to explicitly skip this step for each new JAX-RS resource she wants to create.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months