[JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19014?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-19014:
----------------------------------
Fix Version/s: 4.3.x
> JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-19014
> URL: https://issues.jboss.org/browse/JBIDE-19014
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.2.1.Final
> Reporter: Marián Labuda
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> I am having abstract class and it's descendant with following code.
> {code:title=AbstractResource.java}
> @Path("/resource")
> public abstract class AbstractResource {
> @GET
> public abstract void getSomeObject();
> }
> {code}
> {code:title=SpecificResource.java}
> public class SpecificResource extends AbstractResource {
> @GET
> @Path("specific-object")
> @Override
> public void getSomeObject() {
> // some code
> }
> }
> {code}
> Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class _/resource_ instead of _/resource/specific-object_.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19014?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-19014:
----------------------------------
Issue Type: Bug (was: Feature Request)
> JAX-RS Web Services in Project Explorer does not show properly inherited metadata (abstract class)
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-19014
> URL: https://issues.jboss.org/browse/JBIDE-19014
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.1.Final
> Reporter: Marián Labuda
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> I am having abstract class and it's descendant with following code.
> {code:title=AbstractResource.java}
> @Path("/resource")
> public abstract class AbstractResource {
> @GET
> public abstract void getSomeObject();
> }
> {code}
> {code:title=SpecificResource.java}
> public class SpecificResource extends AbstractResource {
> @GET
> @Path("specific-object")
> @Override
> public void getSomeObject() {
> // some code
> }
> }
> {code}
> Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class _/resource_ instead of _/resource/specific-object_.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-16145) All wizards: Consider replacing "*"-decoration for for fields that require input
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16145?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-16145:
-------------------------------------
Priority: Minor (was: Major)
> All wizards: Consider replacing "*"-decoration for for fields that require input
> --------------------------------------------------------------------------------
>
> Key: JBIDE-16145
> URL: https://issues.jboss.org/browse/JBIDE-16145
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.1.CR1
> Reporter: Michelle Murray
> Assignee: Michelle Murray
> Priority: Minor
> Fix For: 4.3.x
>
> Attachments: OpenShift_newapp.png, required-field.png
>
>
> In New OpenShift Application wizard, the following have * (asterisk) at the beginning:
> * use existing application check box
> * name field
> * type field
> This should be the (i) icon (blue i in a circle) like in Window>Install New Software wizard.
> There maybe more in the wizard but I haven't got past the first page.
> !OpenShift_newapp.png!
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19014?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-19014:
----------------------------------
Description:
I am having abstract class and it's descendant with following code.
{code:title=AbstractResource.java}
@Path("/resource")
public abstract class AbstractResource {
@GET
public abstract void getSomeObject();
}
{code}
{code:title=SpecificResource.java}
public class SpecificResource extends AbstractResource {
@GET
@Path("specific-object")
@Override
public void getSomeObject() {
// some code
}
}
{code}
Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class _/resource_ instead of _/resource/specific-object_.
was:
I am having abstract class and it's descendant with following code.
{code:title=AbstractResource.java}
@Path("/resource")
public abstract class AbstractResource {
@GET
public abstract void getSomeObject();
}
{code}
{code:title=SpecificResource.java}
public class SpecificResource extends AbstractResource {
@GET
@Path("specific-object")
@Override
public void getSomeObject() {
// some code
}
}
{code}
Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class "/resource" instead of "/resource/specific-object".
> JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class
> -----------------------------------------------------------------------------------------------------
>
> Key: JBIDE-19014
> URL: https://issues.jboss.org/browse/JBIDE-19014
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.2.1.Final
> Reporter: Marián Labuda
> Labels: jax-rs
>
> I am having abstract class and it's descendant with following code.
> {code:title=AbstractResource.java}
> @Path("/resource")
> public abstract class AbstractResource {
> @GET
> public abstract void getSomeObject();
> }
> {code}
> {code:title=SpecificResource.java}
> public class SpecificResource extends AbstractResource {
> @GET
> @Path("specific-object")
> @Override
> public void getSomeObject() {
> // some code
> }
> }
> {code}
> Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class _/resource_ instead of _/resource/specific-object_.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-18954) JAX-RS Web Services in Project Explorer does not show properly inherited metadata
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18954?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-18954:
----------------------------------
Description:
I have an interface with annotated JAX-RS methods (HTTP method type, path, consumes...) CarResourceInterface and implementation of this interface CarResourceImpl. Inheriting all metadata related to one method should affect processing of this JAX-RS web services - new values from Impl should be used and probably it would be good to show it also in JAX-RS Web Services node in Project Explorer view. Currently there are shown only interface JAX-RS web services and any change in Impl is ignored in this view.
There are chunk of codes for interface and implementation. At first I was having only interface and it's web service has been shown in JAX-RS Web Services. Then I have added implementation and overrode interface but still in JAX-RS Web Services the interface is shown.
{code:title=CarResource.java}
@Path("car")
public interface CarResource {
@GET
@Path("/{id:[0-9][0-9]*}")
@Produces({ "application/xml", "application/json" })
public Response findById(@PathParam("id") final Long id);
}
{code}
{code:title=CarResourceImpl.java}
public class CarResourceImpl implements CarResource {
@GET
@Path("/{carid:a[0-9]*}")
@Produces({ "text", "application/json" })
public Response findById(@PathParam("carid") final Long id) {
//TODO: retrieve the car
return null;
}
}
{code}
was:
I have an interface with annotated JAX-RS methods (HTTP method type, path, consumes...) CarResourceInterface and implementation of this interface CarResourceImpl. Inheriting all metadata related to one method should affect processing of this JAX-RS web services - new values from Impl should be used and probably it would be good to show it also in JAX-RS Web Services node in Project Explorer view. Currently there are shown only interface JAX-RS web services and any change in Impl is ignored in this view.
There are chunk of codes for interface and implementation. At first I was having only interface and it's web service has been shown in JAX-RS Web Services. Then I have added implementation and overrode interface but still in JAX-RS Web Services the interface is shown.
{code:title=CarResource.java}
@Path("car")
public interface CarResource {
@GET
@Path("/{id:[0-9][0-9]*}")
@Produces({ "application/xml", "application/json" })
public Response findById(@PathParam("id") final Long id);
}
{code}
{code:title=CarResourceImpl.java}
public class CarResourceImpl implements CarResource {
@GET
@Path("/{carid:a[0-9]*}")
@Produces({ "text", "application/json" })
public Response findById(@PathParam("carid") final Long id) {
//TODO: retrieve the car
return null;
}
}
{code}
*Same behaviour is spotted with abstract classes. In JAX-RS Web Services is shown only abstract class and specific implementation is ignored.*
> JAX-RS Web Services in Project Explorer does not show properly inherited metadata
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-18954
> URL: https://issues.jboss.org/browse/JBIDE-18954
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.1.Final
> Reporter: Marián Labuda
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.x
>
>
> I have an interface with annotated JAX-RS methods (HTTP method type, path, consumes...) CarResourceInterface and implementation of this interface CarResourceImpl. Inheriting all metadata related to one method should affect processing of this JAX-RS web services - new values from Impl should be used and probably it would be good to show it also in JAX-RS Web Services node in Project Explorer view. Currently there are shown only interface JAX-RS web services and any change in Impl is ignored in this view.
> There are chunk of codes for interface and implementation. At first I was having only interface and it's web service has been shown in JAX-RS Web Services. Then I have added implementation and overrode interface but still in JAX-RS Web Services the interface is shown.
> {code:title=CarResource.java}
> @Path("car")
> public interface CarResource {
>
> @GET
> @Path("/{id:[0-9][0-9]*}")
> @Produces({ "application/xml", "application/json" })
> public Response findById(@PathParam("id") final Long id);
> }
> {code}
> {code:title=CarResourceImpl.java}
> public class CarResourceImpl implements CarResource {
> @GET
> @Path("/{carid:a[0-9]*}")
> @Produces({ "text", "application/json" })
> public Response findById(@PathParam("carid") final Long id) {
> //TODO: retrieve the car
> return null;
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-19014:
-------------------------------------
Summary: JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class
Key: JBIDE-19014
URL: https://issues.jboss.org/browse/JBIDE-19014
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: webservices
Affects Versions: 4.2.1.Final
Reporter: Marián Labuda
I am having abstract class and it's descendant with following code.
{code:title=AbstractResource.java}
@Path("/resource")
public abstract class AbstractResource {
@GET
public abstract void getSomeObject();
}
{code}
{code:title=SpecificResource.java}
public class SpecificResource extends AbstractResource {
@GET
@Path("specific-object")
@Override
public void getSomeObject() {
// some code
}
}
{code}
Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class "/resource" instead of "/resource/specific-object".
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19014?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-19014:
----------------------------------
Labels: jax-rs (was: )
> JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class
> -----------------------------------------------------------------------------------------------------
>
> Key: JBIDE-19014
> URL: https://issues.jboss.org/browse/JBIDE-19014
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.2.1.Final
> Reporter: Marián Labuda
> Labels: jax-rs
>
> I am having abstract class and it's descendant with following code.
> {code:title=AbstractResource.java}
> @Path("/resource")
> public abstract class AbstractResource {
> @GET
> public abstract void getSomeObject();
> }
> {code}
> {code:title=SpecificResource.java}
> public class SpecificResource extends AbstractResource {
> @GET
> @Path("specific-object")
> @Override
> public void getSomeObject() {
> // some code
> }
> }
> {code}
> Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class "/resource" instead of "/resource/specific-object".
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBIDE-16526) Markers wizard: Description of Enable JPDA states JBoss AS for apps using JBossEAP cartridge
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16526?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-16526:
-------------------------------------
Fix Version/s: 4.3.x
(was: 4.2.x)
> Markers wizard: Description of Enable JPDA states JBoss AS for apps using JBossEAP cartridge
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-16526
> URL: https://issues.jboss.org/browse/JBIDE-16526
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.1.Final
> Reporter: Michelle Murray
> Priority: Minor
> Labels: markers_wizard
> Fix For: 4.3.x
>
> Attachments: OpenShift_markers.png
>
>
> In Project Explorer view, right-click project and click OpenShift > Configure Markers. Click Enable JPDA check box. The text description of this marker states '.. the JBoss AS 7 application server' twice.
> But when I created my app I selected the JBoss EAP 6 cartridge so this text seems wrong.
> To resolve either:
> a) make two versions of the text one for JBoss AS cartridge and one for JBoss EAP cartridge
> b) make description neutral, e.g. just 'the application server'
> ^ neutral is probably best as could also presumably select Tomcat cartridge for app and would also be able to set enable jpda marker.
> !OpenShift_markers.png!
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months