Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
JBIDE-17796 - BeanParam: unbound @PathParam error is present after the problem had been fixed

Introduced the 'working copies' for JAX-RS elements being validated

Fixed a problem where some Java element changes would not be processed (linked to https://issues.jboss.org/browse/JBIDE-18009)

    • -129
    • +134
    ./internal/validation/Jaxrs11ResourceValidatorTestCase.java
    • -0
    • +38
    ./internal/validation/Jaxrs20BeanParamValidatorTestCase.java
    • -0
    • +73
    ./internal/validation/Jaxrs20ResourceValidatorTestCase.java
    • -3
    • +2
    ./internal/validation/JaxrsHttpMethodValidatorTestCase.java
    • -1
    • +4
    ./internal/validation/JaxrsMetamodelValidatorAsYouTypeTestCase.java
    • -3
    • +3
    ./internal/validation/JaxrsNameBindingValidatorTestCase.java
    • -0
    • +9
    ./internal/validation/ValidationUtils.java
    • -3
    • +5
    ./quickfix/JavaCompletionProposalUtils.java
    • -6
    • +6
    ./quickfix/RetentionAnnotationMarkerResolutionTestCase.java
    • -8
    • +8
    ./quickfix/TargetAnnotationMarkerResolutionTestCase.java
  1. … 54 more files in changeset.
JBIDE-17801 - JAX-RS validation: Bogus warning for parameter whose type is an enumeration

    • -1
    • +18
    ./internal/validation/Jaxrs11ResourceValidatorTestCase.java
    • -1140
    • +0
    ./internal/validation/JaxrsResourceValidatorTestCase.java
    • -1
    • +1
    ./internal/validation/Jaxrs20ResourceValidatorTestCase.java
    • -237
    • +0
    ./internal/validation/JaxrsResource20ValidatorTestCase.java
  1. … 2 more files in changeset.
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
    • +1
    ./internal/validation/JaxrsApplicationValidatorTestCase.java
  1. … 5 more files in changeset.
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

    • -0
    • +61
    ./internal/validation/JaxrsResource20ValidatorTestCase.java
    • -6
    • +10
    ./internal/validation/JaxrsResourceValidatorTestCase.java
  1. … 6 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

    • -6
    • +228
    ./internal/validation/JaxrsResourceValidatorTestCase.java
  1. … 14 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.

    • -1
    • +94
    ./internal/validation/JaxrsResourceValidatorTestCase.java
  1. … 11 more files in changeset.
JBIDE-17711 - BeanParam: type of path parameter is not recognized

Problem fixed, and change of parameter aggregator field/property type also works, now ;)

    • -1
    • +0
    ./internal/validation/Jaxrs20ParamConverterProviderTestCase.java
  1. … 11 more files in changeset.
ParamConverterProvider is not registered until Clean is invoked

    • -0
    • +68
    ./internal/validation/Jaxrs20ParamConverterProviderTestCase.java
  1. … 5 more files in changeset.
JBIDE-17667 - Quick fix for HTTPMethod annotation without @Target and @Retention doesn't add all imports

    • -0
    • +65
    ./quickfix/JavaCompletionProposalUtils.java
    • -0
    • +405
    ./quickfix/RetentionAnnotationMarkerResolutionTestCase.java
    • -0
    • +451
    ./quickfix/TargetAnnotationMarkerResolutionTestCase.java
  1. … 29 more files in changeset.
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

    • -20
    • +4
    ./configuration/ProjectNatureUtilsTestCase.java
    • -114
    • +121
    ./internal/validation/Jaxrs11ProviderValidatorTestCase.java
    • -0
    • +211
    ./internal/validation/Jaxrs20BeanParamValidatorTestCase.java
    • -30
    • +15
    ./internal/validation/Jaxrs20ParamConverterProviderTestCase.java
    • -145
    • +129
    ./internal/validation/Jaxrs20ProviderValidatorTestCase.java
    • -163
    • +158
    ./internal/validation/JaxrsApplicationValidatorTestCase.java
    • -87
    • +105
    ./internal/validation/JaxrsHttpMethodValidatorTestCase.java
    • -9
    • +14
    ./internal/validation/JaxrsMetamodelValidatorAsYouTypeTestCase.java
    • -112
    • +110
    ./internal/validation/JaxrsNameBindingValidatorTestCase.java
    • -0
    • +176
    ./internal/validation/JaxrsResource20ValidatorTestCase.java
    • -92
    • +196
    ./internal/validation/JaxrsResourceValidatorTestCase.java
    • -5
    • +33
    ./internal/validation/ValidationUtils.java
    • -15
    • +15
    ./wizards/JaxrsApplicationCreationWizardPageTestCase.java
    • -1
    • +1
    ./wizards/JaxrsResourceCreationWizardPageTestCase.java
  1. … 129 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')

    • -14
    • +14
    ./internal/validation/Jaxrs11ProviderValidatorTestCase.java
    • -5
    • +10
    ./internal/validation/Jaxrs20ParamConverterProviderTestCase.java
    • -20
    • +20
    ./internal/validation/Jaxrs20ProviderValidatorTestCase.java
    • -2
    • +2
    ./internal/validation/ValidationUtils.java
  1. … 29 more files in changeset.
JBIDE-17541 - Replace use of Slf4j with Eclipse Logger in JAX-RS UI tests

    • -0
    • +154
    ./internal/utils/Logger.java
    • -17
    • +14
    ./internal/validation/Jaxrs11ProviderValidatorTestCase.java
    • -4
    • +2
    ./internal/validation/Jaxrs20ParamConverterProviderTestCase.java
    • -22
    • +20
    ./internal/validation/Jaxrs20ProviderValidatorTestCase.java
    • -5
    • +2
    ./internal/validation/ValidationUtils.java
  1. … 2 more files in changeset.
JBIDE-17537 - JAX-RS Problem marker are not removed when JAX-RS support is removed on project

    • -28
    • +100
    ./configuration/ProjectNatureUtilsTestCase.java
    • -1
    • +2
    ./internal/validation/JaxrsApplicationValidatorTestCase.java
    • -1
    • +0
    ./internal/validation/JaxrsHttpMethodValidatorTestCase.java
  1. … 2 more files in changeset.
JBIDE-17368 - Revalidate JAX-RS Resources when type used as a method parameter changed

    • -20
    • +0
    ./internal/validation/JaxrsHttpMethodValidatorTestCase.java
    • -2
    • +33
    ./internal/validation/JaxrsResourceValidatorTestCase.java
  1. … 6 more files in changeset.
JBIDE-17308 - Enable 'as-you-type' validation

    • -6
    • +10
    ./internal/validation/Jaxrs20ProviderValidatorTestCase.java
    • -0
    • +110
    ./internal/validation/JaxrsMetamodelValidatorAsYouTypeTestCase.java
  1. … 15 more files in changeset.
JBIDE-17391 - Provide JAX-RS Fields type validation

    • -1
    • +1
    ./internal/validation/Jaxrs11ProviderValidatorTestCase.java
    • -3
    • +0
    ./internal/validation/Jaxrs20ProviderValidatorTestCase.java
    • -0
    • +43
    ./internal/validation/JaxrsResourceValidatorTestCase.java
  1. … 20 more files in changeset.
JBIDE-17515 - Fix broken tests :-/

    • -0
    • +28
    ./wizards/JaxrsResourceCreationWizardPageTestCase.java
JBIDE-16763 - Add support for JAX-RS ParamConverterProvider

    • -0
    • +157
    ./internal/validation/Jaxrs20ParamConverterProviderTestCase.java
    • -0
    • +5
    ./internal/validation/Jaxrs20ProviderValidatorTestCase.java
    • -0
    • +5
    ./internal/validation/JaxrsNameBindingValidatorTestCase.java
    • -0
    • +1
    ./internal/validation/ValidationUtils.java
  1. … 19 more files in changeset.
JBIDE-15592 - Provide JAX-RS Fields and Parameters type validation

    • -62
    • +133
    ./internal/validation/JaxrsResourceValidatorTestCase.java
  1. … 24 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.

    • -26
    • +90
    ./internal/validation/JaxrsApplicationValidatorTestCase.java
  1. … 6 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

    • -0
    • +83
    ./internal/utils/CollectionsUtilTestCase.java
    • -0
    • +16
    ./internal/utils/package-info.java
    • -48
    • +178
    ./internal/validation/JaxrsHttpMethodValidatorTestCase.java
    • -81
    • +230
    ./internal/validation/JaxrsNameBindingValidatorTestCase.java
    • -15
    • +144
    ./internal/validation/ValidationUtils.java
  1. … 29 more files in changeset.
JBIDE-17276 - JAX-RS Endpoints should not display an error marker when error is on JAX-RS Application

Error marker is only shown on the "JAX-RS Web Services" node in the Project Explorer, not on all Endpoint child nodes.

    • -122
    • +211
    ./internal/validation/JaxrsApplicationValidatorTestCase.java
    • -8
    • +16
    ./internal/validation/JaxrsHttpMethodValidatorTestCase.java
  1. … 1 more file in changeset.
JBIDE-16981 - Validation of @Path parameters binding ignores @PathParam fields

    • -2
    • +2
    ./internal/validation/JaxrsNameBindingValidatorTestCase.java
    • -5
    • +22
    ./internal/validation/JaxrsResourceValidatorTestCase.java
    • -0
    • +11
    ./internal/validation/ValidationUtils.java
  1. … 4 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.

    • -5
    • +32
    ./internal/validation/JaxrsApplicationValidatorTestCase.java
  1. … 7 more files in changeset.
JBIDE-17151 - Improve the Restful Services Wizard

    • -0
    • +273
    ./wizards/JaxrsApplicationCreationWizardPageTestCase.java
    • -0
    • +351
    ./wizards/JaxrsResourceCreationWizardPageTestCase.java
    • -0
    • +16
    ./wizards/package-info.java
  1. … 50 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
    • +46
    ./JBossJaxrsUITestPlugin.java
    • -61
    • +49
    ./internal/validation/Jaxrs11ProviderValidatorTestCase.java
    • -0
    • +522
    ./internal/validation/Jaxrs20ProviderValidatorTestCase.java
    • -92
    • +97
    ./internal/validation/JaxrsApplicationValidatorTestCase.java
    • -31
    • +31
    ./internal/validation/JaxrsHttpMethodValidatorTestCase.java
    • -0
    • +315
    ./internal/validation/JaxrsNameBindingValidatorTestCase.java
    • -18
    • +18
    ./internal/validation/JaxrsResourceValidatorTestCase.java
    • -7
    • +15
    ./internal/validation/ValidationUtils.java
    • -0
    • +8
    ./internal/validation/package-info.java
  1. … 223 more files in changeset.
JBIDE-15520 - Clean UI and Core dependencies

Also moved some UI tests in a new org.jboss.tools.ws.jaxrs.ui.test project

    • -0
    • +30
    ./JBossJaxrsUITestsPlugin.java
    • -3
    • +3
    ./configuration/ProjectNatureUtilsTestCase.java
  1. … 29 more files in changeset.