Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBIDE-17078 - JAX-RS Problems doesn't appears after the JAX-RS Support is activated

Add the WST validator if missing in the project configuration when adding the JAX-RS nature

Perform a full validation when the '.project' file alone changed.

  1. … 5 more files in changeset.
JBIDE-17745 - NPE while editing ParamConverterProvider

Adding a ull check on the range as it might be null in some circumstances (no annotation value for example)

JBIDE-17734 - NPE when creating JAX-RS resource using undefined/empty Bean class

Fixed, for undefined type on method parameters, resource fields and resource properties

    • -7
    • +1
    ./JaxrsParameterValidatorDelegate.java
    • -3
    • +5
    ./JaxrsResourceFieldValidatorDelegate.java
    • -4
    • +14
    ./JaxrsResourceMethodValidatorDelegate.java
    • -4
    • +6
    ./JaxrsResourcePropertyValidatorDelegate.java
  1. … 4 more files in changeset.
JBIDE-17730 - JAX-RS @PathParam Field is not validated against @Path annotation value

Fixed for the "as-you-type" validation mode

Also added validation for resource properties

    • -17
    • +54
    ./JaxrsResourceFieldValidatorDelegate.java
    • -13
    • +1
    ./JaxrsResourceMethodValidatorDelegate.java
    • -0
    • +125
    ./JaxrsResourcePropertyValidatorDelegate.java
  1. … 8 more files in changeset.
JBIDE-17717 - Validation of @Path annotation with invalid argument cause error

Fixed for @Path annotation values on both Resource and Resource Methods

Fixed for missing '{' and '}' brackets.

    • -0
    • +25
    ./JaxrsResourceMethodValidatorDelegate.java
    • -0
    • +28
    ./JaxrsResourceValidatorDelegate.java
  1. … 8 more files in changeset.
ParamConverterProvider is not registered until Clean is invoked

  1. … 5 more files in changeset.
JBIDE-17653 - Node 'JAX-RS Web Services' doesn't appear after JAX-RS Support is added

  1. … 14 more files in changeset.
JBIDE-17578 - NPE when editing XHTML file with JAX-RS support enabled for the project

JBIDE-16825 - Provide support for new @BeanParam JAX-RS Annotation

Also implemented JBIDE-17575 - Support JAX-RS annotations on bean properties

Improved JUnit tests speed by avoiding building a full metamodel for each test

    • -8
    • +8
    ./AbstractJaxrsElementValidatorDelegate.java
    • -3
    • +3
    ./JaxrsHttpMethodValidatorDelegate.java
    • -3
    • +3
    ./JaxrsJavaApplicationValidatorDelegate.java
    • -8
    • +8
    ./JaxrsMetamodelValidatorDelegate.java
    • -3
    • +3
    ./JaxrsNameBindingValidatorDelegate.java
    • -7
    • +7
    ./JaxrsParamConverterProviderValidatorDelegate.java
    • -9
    • +6
    ./JaxrsParameterValidatorDelegate.java
    • -12
    • +12
    ./JaxrsProviderValidatorDelegate.java
    • -6
    • +7
    ./JaxrsResourceFieldValidatorDelegate.java
    • -48
    • +145
    ./JaxrsResourceMethodValidatorDelegate.java
  1. … 128 more files in changeset.
JBIDE-17543 - Investigate JUnit test duration

Not major improvement, despite a few changes

Also fixed JBIDE-17551 (renamed ui.test 'Logger' to 'TestLogger')

    • -1
    • +1
    ./JaxrsResourceMethodValidatorDelegate.java
  1. … 35 more files in changeset.
JBIDE-17368 - Revalidate JAX-RS Resources when type used as a method parameter changed

  1. … 7 more files in changeset.
JBIDE-17308 - Enable 'as-you-type' validation

    • -4
    • +45
    ./AbstractJaxrsElementValidatorDelegate.java
    • -1
    • +0
    ./JaxrsHttpMethodValidatorDelegate.java
    • -1
    • +0
    ./JaxrsJavaApplicationValidatorDelegate.java
    • -1
    • +0
    ./JaxrsNameBindingValidatorDelegate.java
    • -1
    • +0
    ./JaxrsParamConverterProviderValidatorDelegate.java
    • -1
    • +0
    ./JaxrsResourceFieldValidatorDelegate.java
    • -1
    • +0
    ./JaxrsResourceMethodValidatorDelegate.java
    • -1
    • +0
    ./JaxrsWebxmlApplicationValidatorDelegate.java
  1. … 7 more files in changeset.
JBIDE-17391 - Provide JAX-RS Fields type validation

    • -0
    • +15
    ./AbstractJaxrsElementValidatorDelegate.java
    • -0
    • +5
    ./JaxrsHttpMethodValidatorDelegate.java
    • -1
    • +6
    ./JaxrsJavaApplicationValidatorDelegate.java
    • -1
    • +6
    ./JaxrsMetamodelValidatorDelegate.java
    • -0
    • +5
    ./JaxrsNameBindingValidatorDelegate.java
    • -11
    • +4
    ./JaxrsParamConverterProviderValidatorDelegate.java
    • -0
    • +88
    ./JaxrsResourceFieldValidatorDelegate.java
    • -12
    • +6
    ./JaxrsResourceMethodValidatorDelegate.java
    • -0
    • +11
    ./JaxrsResourceValidatorDelegate.java
    • -1
    • +6
    ./JaxrsWebxmlApplicationValidatorDelegate.java
  1. … 12 more files in changeset.
JBIDE-17430 - Broken link from JAX-RS Validator property page to preference pages

  1. … 2 more files in changeset.
JBIDE-17430 - Broken link from JAX-RS Validator property page to preference pages

  1. … 2 more files in changeset.
JBIDE-17421 - Invalid '}' character in a validation message

JBIDE-17421 - Invalid '}' character in a validation message

JBIDE-16763 - Add support for JAX-RS ParamConverterProvider

    • -0
    • +168
    ./JaxrsParamConverterProviderValidatorDelegate.java
    • -0
    • +7
    ./JaxrsResourceMethodValidatorDelegate.java
  1. … 21 more files in changeset.
JBIDE-15592 - Provide JAX-RS Fields and Parameters type validation

    • -0
    • +137
    ./JaxrsParameterValidatorDelegate.java
    • -32
    • +71
    ./JaxrsResourceMethodValidatorDelegate.java
  1. … 20 more files in changeset.
JBIDE-15526 - JAX-RS validation problems are not linked

Fixed by keeping info about removed elements in the metamodel

until the validation runs.

Added and fixed some JUnit tests to verify.

  1. … 5 more files in changeset.
JBIDE-17177 - Wrong @NameBinding quick fix for a @Target annotation

Fixing the quick fix applied

Refactoring the code for quickfixes

Including Java Proposals when missing values (with or without parenthesis)

Adding JUnit tests to check the quckfixes proposals and their application

Also adding a content assist proposal for the @HttpMethod annotation value, based on the annotation name.

Also fixed JBIDE-17307 Missing label and broken link for JAX-RS problem severity configuration

    • -35
    • +26
    ./JaxrsHttpMethodValidatorDelegate.java
    • -30
    • +24
    ./JaxrsNameBindingValidatorDelegate.java
  1. … 31 more files in changeset.
JBIDE-16981 - Validation of @Path parameters binding ignores @PathParam fields

    • -1
    • +9
    ./JaxrsResourceMethodValidatorDelegate.java
  1. … 6 more files in changeset.
JBIDE-17296 - Missing warning decorator on the "JAX-RS Web Services" node when no application is defined

"JAX-RS Web Services" node in project explorer shows a "warning" decorator (by default)

if no application was defined, unless no JAX-RS element exists in the project.

    • -1
    • +1
    ./JaxrsMetamodelValidatorDelegate.java
  1. … 5 more files in changeset.
JBIDE-16753 - Provide support for server-side Filters and Interceptors

Added support for ContainerRequestFilter, ContainerResponseFilter, ReaderInterceptor and WriterInterceptor

Renamed org.jboss.tools.ws.jaxrs.core.jdt to org.jboss.tools.ws.jaxrs.utils to better reflect the content of this package

Removed org.jboss.tools.ws.jaxrs.core.utils.JavaFieldsVisitor and replaced by using org.eclipse.jdt.core.dom.NodeFinder

Added Hyperlink navigation when selecting a NameBinding element, to navigate from a Resource/ResourceMethod/Application to

its associated Filter/Interceptor.

Added JUnit tests in core and ui (validation) to cover new code

Also fixed:

* JBIDE-16790 - Should add/remove Resource Methods and Endpoints when adding/removing @HttpMethod annotation

* JBIDE-15526 - JAX-RS validation problems are not linked

    • -0
    • +64
    ./AbstractJaxrsElementValidatorDelegate.java
    • -0
    • +148
    ./JaxrsElementsCache.java
    • -9
    • +8
    ./JaxrsHttpMethodValidatorDelegate.java
    • -0
    • +132
    ./JaxrsJavaApplicationValidatorDelegate.java
    • -0
    • +41
    ./JaxrsMarkerResolutionIds.java
    • -0
    • +632
    ./JaxrsMetamodelValidator.java
    • -26
    • +7
    ./JaxrsMetamodelValidatorDelegate.java
    • -0
    • +116
    ./JaxrsNameBindingValidatorDelegate.java
    • -0
    • +344
    ./JaxrsProviderValidatorDelegate.java
    • -14
    • +60
    ./JaxrsResourceMethodValidatorDelegate.java
    • -0
    • +97
    ./JaxrsResourceValidatorDelegate.java
    • -3
    • +11
    ./JaxrsValidationMessages.properties
  1. … 219 more files in changeset.