[JBoss JIRA] (JBIDE-18040) BrowserSim: Weinre doesn't work OOTB
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18040?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov commented on JBIDE-18040:
------------------------------------------------
Looks like debug.phonegap.com is dead. So, I think we should set some other default weinre url, for example from openshift
> BrowserSim: Weinre doesn't work OOTB
> ------------------------------------
>
> Key: JBIDE-18040
> URL: https://issues.jboss.org/browse/JBIDE-18040
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta3
> Reporter: Ilya Buziuk
> Assignee: Konstantin Marmalyukov
> Fix For: 4.2.0.CR1
>
> Attachments: weinre-error.png, weinre-javafx.png
>
>
> Always getting this error pop-up when trying to open weinre with SWT web engine - !weinre-error.png|thumbnail!
> With JavaFx web engine weinre pop-up is blank - !weinre-javafx.png|thumbnail!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-17976) Problem markers are not removed on related Parameter Aggregators
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17976?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-17976:
----------------------------------
Description:
Let's have those 2 classes:
{code}
@Path("/rest")
public class RestService {
@POST
@Path("{id}")
public void post(@BeanParam BeanClass bean) {
}
}
{code}
and
{code}
public class BeanClass {
@PathParam("id")
private Integer id;
}
{code}
if the users changes {{@Path("\{id\}")}} to {{@Path("\{i\}")}} in the {{RestService}}, a problem marker will be set on {{@PathParam("id")}} in {{BeanClass}}, which is fine.
If the user changes {{@Path("\{i\}")}} back to {{@Path("\{id\}")}}, the problem marker is not removed :(
was:
Let's have those 2 classes:
{code}
@Path("/rest")
public class RestService {
@POST
@Path("{id}")
public void post(@BeanParam BeanClass bean) {
}
}
{code}
and
{code}
public class BeanClass {
@PathParam("id")
private Integer id;
}
{code}
if the users changes {{@Path("{id}")}} to {{@Path("{i}")}} in the {{RestService}}, a problem marker will be set on {{@PathParam("id") }} in {{BeanClass}}, which is fine.
If the user changes {{@Path("{i}")}} back to {{@Path("{id}")}}, the problem marker is not removed :(
> Problem markers are not removed on related Parameter Aggregators
> ----------------------------------------------------------------
>
> Key: JBIDE-17976
> URL: https://issues.jboss.org/browse/JBIDE-17976
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Fix For: 4.2.0.CR1
>
>
> Let's have those 2 classes:
> {code}
> @Path("/rest")
> public class RestService {
> @POST
> @Path("{id}")
> public void post(@BeanParam BeanClass bean) {
>
> }
> }
> {code}
> and
> {code}
> public class BeanClass {
>
> @PathParam("id")
> private Integer id;
>
> }
> {code}
> if the users changes {{@Path("\{id\}")}} to {{@Path("\{i\}")}} in the {{RestService}}, a problem marker will be set on {{@PathParam("id")}} in {{BeanClass}}, which is fine.
> If the user changes {{@Path("\{i\}")}} back to {{@Path("\{id\}")}}, the problem marker is not removed :(
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-16829) Provide hyperlink navigation between Filter/Interceptors and other resources
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16829?page=com.atlassian.jira.plugi... ]
Radoslav Rábara closed JBIDE-16829.
-----------------------------------
Verified with JBDS 8.0.0 Beta3-v20140722-2011-B194
> Provide hyperlink navigation between Filter/Interceptors and other resources
> ----------------------------------------------------------------------------
>
> Key: JBIDE-16829
> URL: https://issues.jboss.org/browse/JBIDE-16829
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: new_and_noteworthy
> Fix For: 4.2.0.Beta1
>
>
> When a Filter or Interceptor is annotated with a user-defined name binding annotation (ie, an annotation itself annotated with @NameBinding), then some hyperlink navigation on this annotation should let the user navigate to the associated resources/resource methods/application that have the same user-defined annotation.
> Eg:
> {code}
> @Target({ ElementType.TYPE, ElementType.METHOD })
> @Retention(value = RetentionPolicy.RUNTIME)
> @NameBinding
> public @interface CustomInterceptorBinding {
> }
> {code}
> and
> {code}
> @ApplicationPath("/app")
> @CustomInterceptorBinding
> public class RestApplication extends Application {
> }
> {code}
> and
> {code}
> @Provider
> @CustomInterceptorBinding
> public class CustomResponseFilterWithBinding implements ContainerResponseFilter {
> @Override
> public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
> throws IOException {
> responseContext.getHeaders().add("Cache-Control", "no-cache");
> }
>
> }
> {code}
> In that case, ctrl (or cmd) + click on {{CustomInterceptorBinding}} should allow for navigation between all those 3 elements
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-16754) Provide support for new @PreMatching JAX-RS Annotation
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16754?page=com.atlassian.jira.plugi... ]
Radoslav Rábara closed JBIDE-16754.
-----------------------------------
Verified with JBDS 8.0.0 Beta3-v20140722-2011-B194
> Provide support for new @PreMatching JAX-RS Annotation
> ------------------------------------------------------
>
> Key: JBIDE-16754
> URL: https://issues.jboss.org/browse/JBIDE-16754
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: new_and_noteworthy
> Fix For: 4.2.0.Beta1
>
>
> See JAX-RS Spec Appendix A (p66):
> PreMatching
> {quote}
> Global binding annotation that can be applied to a container filter to indicate that it should be applied globally and before the resource method is matched.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months
[JBoss JIRA] (JBIDE-16763) Add support for JAX-RS ParamConverterProvider
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16763?page=com.atlassian.jira.plugi... ]
Radoslav Rábara closed JBIDE-16763.
-----------------------------------
Verified with JBDS 8.0.0 Beta3-v20140722-2011-B194
> Add support for JAX-RS ParamConverterProvider
> ---------------------------------------------
>
> Key: JBIDE-16763
> URL: https://issues.jboss.org/browse/JBIDE-16763
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: new_and_noteworthy
> Fix For: 4.2.0.Beta2
>
>
> From the spec:
> {quote}
> Valid parameter types for each of the above annotations are listed in the corresponding Javadoc, however in general (excluding @Context) the following types are supported:
> 1. Types for which a ParamConverter is available via a registered ParamConverterProvider. See Javadoc for these classes for more information.
> 2. Primitive types.
> 3. Types that have a constructor that accepts a single String argument.
> 4. Types that have a static method named valueOf or fromString with a single String argument that return an instance of the type. If both methods are present then valueOf MUST be used unless the type is an enum in which case fromString MUST be used1.
> 5. List<T>, Set<T>, or SortedSet<T>, where T satisfies 3 or 4 above.
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 8 months