Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-08[release] Version 11.0.4-beta.1features/staging/11.0.4-beta.1Arthur van Dorp1-1/+1
2021-02-05URI encoding, Connection header rest client propsDominik Landtwing2-0/+50
Request URI encoding can be overridden to accommodate REST-APIs with non-standard path encoding, most notably S3. Signed-off-by: Dominik Landtwing <dominik.landtwing@bsi-software.com> Change-Id: I00d4067ee6503059e147a59367a7b8630f6f1174 Reviewed-on: https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/175859 Tested-by: Scout Bot <scout-bot@eclipse.org> Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com>
2020-10-29REST: Added support for JAX-RS ContainerResponseFilterPaolo Bazzi3-0/+42
Using new IRestContainerResponseFilter (bean-) marker interface custom ContainerResponseFilter implementations are auto-registered within the JAX-RS application using the same mechanism as IRestContainerRequestFilter. 280132 Change-Id: I255534a457b339acf5044c0c862cb06d6c45d3a4 Reviewed-on: https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/171426 Tested-by: Scout Bot <scout-bot@eclipse.org> Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com> Signed-off-by: Paolo Bazzi <paolo.bazzi@bsi-software.com> Reviewed-on: https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/171436
2020-08-19RestApplication: reduce default log outputBeat Schwarzentrub1-3/+17
Change-Id: I3063e221635528421aa65c4f414e74c295a66b0f Reviewed-on: https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/167886 Tested-by: Paolo Bazzi <paolo.bazzi@bsi-software.com> Tested-by: Scout Bot <scout-bot@eclipse.org> Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com> (cherry picked from commit c039ff98a929a34869464c660073bd290c04409e)
2020-05-11Add cancellation support for REST resourcesAndi Bur9-0/+472
Change-Id: I0b083e2f818ba760b46a0590e455a540580dbc2c (cherry picked from commit 50ced556225b24cdc66e004f5cc588efaeb6f2fd) Reviewed-on: https://git.eclipse.org/r/162853 Tested-by: CI Bot Reviewed-by: Andi Bur <andi.bur@gmail.com>
2020-03-25Update IntelliJ meta dataRalph Steiner1-4/+3
Change-Id: I08bf45ec9c676c75eeb36d730597b93d4e8c4beb
2020-03-25javax to jakarta name migrationIvan Motsch1-6/+7
Phase 1: Change artifact names (the box) but keep package names and binary contents. For more details see https://eclipse-foundation.blog/2019/05/03/jakarta-ee-java-trademarks/ The pom excludes were updated as well. Excludes are typically in the dependency-management of the pom defining the version of a dependency. Signed-off-by: Ivan Motsch <ivan.motsch@bsiag.com>
2020-03-02Do not use '/pom.xml' in maven project.parent.relativePathRalph Steiner1-1/+1
Change-Id: I6d50712f4602b87fc7d7d181da869709347d2bd0 Reviewed-on: https://git.eclipse.org/r/158681 Tested-by: CI Bot Reviewed-by: Ralph Steiner <rst@bsiag.com>
2020-02-17ApiDocGenerator: update JavaDocBeat Schwarzentrub2-3/+2
- change recommended paths in JavaDoc to avoid ambiguity - remove unnecessary color from doc.css Change-Id: Ia127395d43dfc13c7687391630836751870e2d99
2020-02-13Refactor external Rest resource scopesMichael Rudolf3-8/+45
2020-02-12Add annotation to allow rest resources to be marked as externalMichael Rudolf1-0/+22
2020-02-06REST Client: Added properties to enable logging featurePaolo Bazzi3-3/+70
Added four properties allowing to enable Jersey request/response logging feature. Change-Id: Ied1eeafcf386bd03cb82a91851c8ecce64d2c9eb Reviewed-on: https://git.eclipse.org/r/157192 Tested-by: CI Bot Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com> Reviewed-on: https://git.eclipse.org/r/157202 Reviewed-on: https://git.eclipse.org/r/157250
2019-12-06Rest client: add option to enable cookies and to disable chunkedStephan Merkli1-0/+38
transfer encoding Cookies are disabled by default in Scout 10. Two scout specific client properties: - scout.rest.client.enableCookies - scout.rest.client.disableChunkedTransferEncoding 258282, 258600 Change-Id: I39ea37380175bcd279e380c3010a9cf1e8232817 Reviewed-on: https://git.eclipse.org/r/153883 Tested-by: CI Bot Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com>
2019-11-25Update Eclipse meta dataMatthias Villiger1-0/+2
2019-11-06Remove HikariCP-java7 dependencyMatthias Villiger1-1/+0
It was introduced with the quartz update without adapting the exclusion
2019-11-02Replace statement lambda with expression lambdaMatthias Villiger1-49/+43
2019-11-02Replace lambda with method reference where possibleMatthias Villiger1-1/+1
2019-11-02Remove unnecessary interface modifiersMatthias Villiger1-3/+3
2019-10-31update quartz to 2.3.2Ivan Motsch1-1/+2
Signed-off-by: Ivan Motsch <ivan.motsch@bsiag.com>
2019-10-10Adjust scout change f2eb36b621d0e9bbb14749c87154205a401f7e24Paolo Bazzi1-1/+1
Fix change after cherry pick Change-Id: Iec1bf9dafebaa67fa1f88e76302ccc3e9dbfe7b8
2019-10-10REST: Added mapper for RemoteSystemUnavailableExceptionMapper (503)Paolo Bazzi1-0/+42
Mapping RemoteSystemUnavailableExceptionMapper back to HTTP status 503 is required in the following situation: - Client C invokes a REST service on server A - As part of the REST resource implementation on server A, the server invokes another REST service on server B If the server B is unavailable, the response is transformed into a RemoteSystemUnavailableException on server A by the response error handler and returned to the resource implementation. The RemoteSystemUnavailableExceptionMapper then maps the RemoteSystemUnavailableException back to HTTP status 503 which is transferred to the client C which initiated the call. Change-Id: I7bda8e269f584e2a0c12b2e9f18b3fd037e59bc3 Reviewed-on: https://git.eclipse.org/r/150887 Tested-by: CI Bot Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com>
2019-10-03fix AntiCsrfHelper exclusionsMichael Rudolf1-1/+1
fix prepareRequest
2019-10-02fix AntiCsrfHelper exclusionsMichael Rudolf1-1/+1
fix wrong if stmt
2019-10-02Make AntiCsrfHelper more flexible for defining exclusionsMichael Rudolf3-39/+88
Exclusions for the AntiCsrfHelper shall not only be definable by HTTP method but also in more flexible ways. Add @BEAN annotated interface that can be implemented to add exclusions to this filter
2019-09-11Transform JAX-RS ProcessingException to RemoteSystemUnavailableExceptionRalph Steiner1-0/+15
Change-Id: Ic40c57932290d32a63b9b108447458e687e12dfd Reviewed-on: https://git.eclipse.org/r/149324 Tested-by: CI Bot Reviewed-by: Ralph Steiner <rst@bsiag.com>
2019-08-10Update copyright header template for EclipseMatthias Villiger2-2/+2
2019-08-10Update copyright file header to block commentMatthias Villiger31-63/+63
2019-08-05Fix 'Connection manager is shut down'Andi Bur1-1/+1
Fixture setup must not create a PoolingHttpClientConnectionManager without referencing it. Change-Id: I026b594b9a158618e8b7a27508b7aba2483ccae7 (cherry picked from commit 49f420c77f65467dc362da72d4ecd12ea51a6951) Reviewed-on: https://git.eclipse.org/r/147071 Tested-by: CI Bot Reviewed-by: Andi Bur <andi.bur@gmail.com>
2019-08-05Adjust to 10.0 after cherry pickThomas Siegrist1-3/+3
Change-Id: Iab2a330ee44fd9552bc1443695aacb48a236d956
2019-08-05ApiDocGenerator: add methods for text/plain and application/json formatsPaolo Bazzi1-41/+214
Change-Id: I4bea7a472a5cd20c40c29926e3ec0627debb34f8 Reviewed-on: https://git.eclipse.org/r/146461 Tested-by: CI Bot Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com>
2019-07-31Rename ErrorDo attributesRalph Steiner11-41/+41
- rename ErrorDo#status to ErrorDo#httpStatus - rename ErrorDo#code to ErrorDo#errorCode Change-Id: Iffa0593d4cb5bde5fe0ec4bea2c1b3f52b87e044 Reviewed-on: https://git.eclipse.org/r/146605 Tested-by: CI Bot Reviewed-by: Ralph Steiner <rst@bsiag.com>
2019-07-31Map VetoException to 400 - BAD_REQUEST instead of 403 - FORBIDDENRalph Steiner2-6/+15
Change-Id: I698492dbe5fbafa36ccfd40337d4a279292de7ca Reviewed-on: https://git.eclipse.org/r/146604 Tested-by: CI Bot Reviewed-by: Ralph Steiner <rst@bsiag.com>
2019-07-31Add AccessForbiddenException and ResourceNotFoundExceptionRalph Steiner9-69/+219
New dedicated VetoException classes to represent HTTP status codes 403 and 404. - Add new ExceptionMapper for new exceptions In order to not change current behavior: - VetoExceptionMapper still uses HTTP status 403 instead of 400. - ErrorDoRestClientExceptionTransformer transforms 403 to VetoException Change-Id: I52b39dea03af3026d860d5721c33ca2a0dca8405 Reviewed-on: https://git.eclipse.org/r/146603 Tested-by: CI Bot Reviewed-by: Ralph Steiner <rst@bsiag.com>
2019-07-10Revert "Change Snapshot version from 10.0.0-SNAPSHOT to 10-SNAPSHOT"Arthur van Dorp1-1/+1
This reverts commit 32da0693607a88a29b8f1c094de837f818a07418. Change-Id: I5a5c86cb36087d365de457b13bbd63ce0d4601ae Reviewed-on: https://git.eclipse.org/r/145748 Reviewed-by: Arthur van Dorp <Arthur.vanDorp@bsi-software.com> Tested-by: Arthur van Dorp <Arthur.vanDorp@bsi-software.com>
2019-07-09Change Snapshot version from 10.0.0-SNAPSHOT to 10-SNAPSHOTArthur van Dorp1-1/+1
Usually Scout does not increase the minor version within a release cycle. The change reduces the need for pom-editing. Starting with release 10 a versioning scheme with shorter version names will be used. Change-Id: Ib20541be71f8342f523498da6d708be466a648ab Signed-off-by: Arthur van Dorp <Arthur.vanDorp@bsi-software.com> Reviewed-on: https://git.eclipse.org/r/145695
2019-07-04Update IntelliJ Meta data after mergeAndreas Hoegger1-0/+1
2019-07-04Update Maven module marker in iml filesMatthias Villiger1-2/+1
2019-07-04Update module filesMatthias Villiger1-1/+2
2019-07-04Create IntelliJ module filesMatthias Villiger1-0/+22
2019-06-21Refactored getRequestFiltersToRegister() methodAndré Wegmüller2-6/+9
Changed return type from IGlobalRestRequestFilter to ClientRequestFilter. Otherwise it is not possible to use the method to register filters that should not be global. Refactored existing code to use getRequestFiltersToRegister() instead of overriding registerRequestFilters (which was the workaround for the issue above). Also renamed getClientConfiguratorsToRegister because it does not register anything, but calls the configure method immediately.
2019-05-29Moved data object support to org.eclipse.scout.rt.dataobject modulePaolo Bazzi2-6/+6
Change-Id: I9a1ee16ea33780c3cd972c37ac3a92140c12a9df Reviewed-on: https://git.eclipse.org/r/142939 Tested-by: CI Bot Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com>
2019-05-21Add ParamConverters for Locale and IIdAndi Bur3-1/+141
Change-Id: I7d82064e29133fd65e0a9cf0f0d34769e205406c (cherry picked from commit 44c9d9d70d166e152fbc92d9bce2783d04cf1d46) Reviewed-on: https://git.eclipse.org/r/142499 Tested-by: CI Bot Reviewed-by: Andi Bur <andi.bur@gmail.com>
2019-04-23RestApplication: Provide contributors for JAX-RS applicationPaolo Bazzi2-37/+128
- Added contributor interfaces for classes, singletons and properties of JAX-RS application class allowing to extend a rest application with own objects without needing to subclass the Scout RestApplication class - Extended RestApplicationTest for all sort of objects 245677 Conflicts: org.eclipse.scout.rt.rest.test/src/test/java/org/eclipse/scout/rt/rest/RestApplicationTest.java Change-Id: I35b32215a283778a428bbf853f67eb8b4f30142f Reviewed-on: https://git.eclipse.org/r/140818 Tested-by: CI Bot Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com>
2019-04-12Format source codeClaudio Guglielmo1-5/+5
Formatted all the Java and JavaScript code using the eclipse formatter and JsBeautifier
2019-04-03Update Sonar Settings to version 10Matthias Villiger1-1/+1
2019-03-27Initial Commit for Scout 10.Patrick Bänziger1-1/+1
Update version number in: - POMs - OfficialVersion class
2019-03-19Minor JavaDoc simplificationBeat Schwarzentrub1-3/+3
Change-Id: Ibcf4691e3e8019f32854d1f7544b90853ee47165
2019-03-13Remove deprecated methodBeat Schwarzentrub2-12/+0
IRestClientHelper.emptyJson() was marked deprecated in 8.0.x. Change-Id: I2e81a83ce4a24b13fdb52347f7ce23d1b8229ec6
2019-03-07Add helper classes for REST clientsBeat Schwarzentrub3-5/+113
- IRestResourceClient (marker interface) - HttpHeadersRequestFilter (filter that adds language and correlation ID to the HTTP headers of each rest call) - Add "getXyzToRegister()" methods to AbstractRestClientHelper to allow easier customization of default behavior for individual REST client helpers. Change-Id: I90975649925c71c57fc290c1d6d7cc030b14df18
2019-02-06REST: add ApiDocGeneratorBeat Schwarzentrub6-0/+884
ApiDocGenerator can be added to a REST resource to provide HTML documentation of all REST resources. Change-Id: I08bc3918d10119cef0f1da82e0ce239129fed47b Reviewed-on: https://git.eclipse.org/r/136150 Tested-by: CI Bot Reviewed-by: Paolo Bazzi <paolo.bazzi@bsi-software.com>

Back to the top