58 Commits

Author SHA1 Message Date
David Král
3811a5bef6 Methods contentLength and transferEncoding added (#2490)
Methods contentLength and transferEncoding added to response headers

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-11-11 14:08:45 +01:00
David Král
1619da9193 Double query escaping fixed (#2513)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-11-10 20:59:40 +01:00
Joe DiPol
437fbd730d Update version to 2.1.1-SNAPSHOT (#2462) 2020-10-16 15:37:23 -07:00
Tomas Langer
7f1a1ad865 Disable automatic propagation from security providers (#2357)
* Security providers no long automatically propagate.
* Updated security provider documentation

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-30 18:18:45 +02:00
Tomas Langer
5e28f8d87b OIDC fixes (#2378)
* Outbound security disabled in OidcConfig when invoking OIDC identity provider.
* Pre-matching filter now using security executor service instead of jersey async executor service.
* Async executor was triggered by pre-matching security filter, now by test itself.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-23 13:40:49 +02:00
David Král
7d3261c7d3 Changes of the request via WebClientService are now propagated (#2321)
Change of the request via WebClientService is now supported.

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-09-07 13:26:25 +00:00
Joe DiPol
78eddfe47a Update version to 2.0.3-SNAPSHOT (#2323) 2020-09-04 11:18:57 -07:00
David Král
38e3fe8cb3 Webclient uses relative uri in request instead of full uri (#2309)
Webclient uses relative uri in request instead of full uri

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-09-03 09:49:16 +02:00
David Král
38f2e60f7f WebClient request id added and logging messages updated (#2257)
WebClient request id added and logging messages updated

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-08-31 08:21:45 +00:00
Tomas Langer
e1d125607c Fix failures caused by memory leak when sending bad requests. (#2260)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-08-14 11:16:52 +02:00
David Král
b5606e750d Intermittent test failure with keep-alive enabled fixed (#2238)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-08-07 10:25:06 +02:00
David Král
8c82732e28 Location of the default value for header validation changed (#2228)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-08-03 20:20:01 +02:00
David Král
57008e4e09 Media support for forms improved (#2144)
* Media support for forms improved

Signed-off-by: David Kral <david.k.kral@oracle.com>

* Sending multipart forms from client is now supported

Signed-off-by: David Kral <david.k.kral@oracle.com>

* checkstyle fix

Signed-off-by: David Kral <david.k.kral@oracle.com>

* spotbugs fix

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-07-20 13:12:08 -07:00
Tomas Langer
545f8d8b64 Configuration of server socket(s) (#2189)
* Advanced configuration of HTTP request processing in Netty.
* Documentation update.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-07-20 15:48:37 +02:00
David Král
926a633ac2 Webclient keep-alive (#2139)
WebClient keep-alive support

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-07-14 19:56:02 +02:00
David Král
5239a8cf62 WebClient redirection to path fix (#2150)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-07-13 17:33:45 +02:00
Joe DiPol
0bb8d792da Bump version to 2.0.2-SNAPSHOT. Update CHANGELOG (#2111)
* Bump version to 2.0.2-SNAPSHOT Update CHANGELOG
2020-06-30 14:47:34 -07:00
Joe DiPol
8bbe29ecc8 2.0: Update version to 2.0.1-SNAPSHOT. Update CHANGELOG (#2082)
* Update CHANGELOG.md after 2.0.0 release

* Update version to 2.0.1-SNAPSHOT
2020-06-23 11:32:04 -07:00
David Král
a6ce023316 WebClient doc update (#2064)
WebClient doc update

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-06-19 17:58:02 +02:00
Romain Grecourt
f0c0610803 Fluent API for explicit media reader and writer usages. (#2010)
* Fluent API for explicit media reader and writer usages.

* update javadocs

* update javadocs

* support stream reader/writer

* update javadocs

* Update HealthSupport and MetricsSupport to use the new API

* fix checkstyle errors

* rename internal constant FEATURE_NAME to SERVICE_NAME is both HealthSupport and MetricsSupport

* Update FileSystemContentHandler.send to use the new API
2020-06-18 13:11:33 -07:00
David Král
8bc6a410da SSL in WebClient and WebServer changed to TLS (#2006)
WebClient SSL naming aligned with WebServer

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-06-17 10:29:49 +02:00
Tomas Langer
4abd0a3cd6 Feature refactoring (#1944)
* Features simplification.
* Added  excludes
* Moved initialization of log to native image extension
* Log statements for unsupported features in native image

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-06-16 18:21:24 +02:00
David Král
217fdf268f TemporalUnit methods removed (#2004)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-06-15 14:56:19 +02:00
David Král
06dd30cd8b Mutual TLS implementation, example and tests (#1992)
Mutual TLS implementation, example and tests

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-06-15 11:36:46 +02:00
Tomas Langer
a1e70f4fa8 Correctly disable Jersey WADL support and built-in providers. (#1971)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-06-12 14:33:42 -07:00
Romain Grecourt
a9363a3d22 DataChunk ByteBuffer array (#1877)
Update DataChunk to hold an array of ByteBuffer instead of a single ByteBuffer.
2020-06-02 13:39:39 -07:00
David Král
a80c90069e WebClient system loader not automatically registers every service anymore (#1903)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-06-01 09:46:58 +02:00
Daniel Kec
9d209a1a55 Deprecated Multi#from (#1888)
* Deprecated Multi#from
* Switch to Multi#create and Single#create

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-05-29 15:30:08 +02:00
Tomas Langer
8185c08069 Removed deprecations (#1892)
- Removed deprecated methods
- Updated deprecated comments to clearly mark 2.0.0 deprecations
2020-05-29 11:17:43 +02:00
David Král
2567d31443 ResponseCloser now supports Single (#1883)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-28 10:59:35 +02:00
Tomas Langer
c494634cf7 Alignment of client service APIs between Db and Web Clients. (#1863)
* Alignment of client service APIs between Db and Web Clients.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-05-27 14:00:19 +02:00
David Král
4e55096c71 Service loader added to MediaContext (#1861)
Media support now loadable via service loader

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-27 12:54:09 +02:00
David Král
0353776d0e WebClient API update (#1870)
WebClient connection and reader timeout methods now supports TimeUnit
Uri is now loadable via config
Create method now supports Config as parameter

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-27 11:15:22 +02:00
Romain Grecourt
ab23ce10cb Multipart (#1787)
Initial implementation of multipart media support
2020-05-26 13:00:01 -07:00
Daniel Kec
8743523211 Emit after close fix (#1856)
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-05-25 16:24:38 +02:00
Daniel Kec
66200b545a BufferedEmittingPublisher as replacement for OriginThreadPublisher (#1830)
* BufferedEmittingPublisher as replacement for OriginThreadPublisher

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Cleanup

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Align with OTP use-cases

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Switch webclient to new OTP replacement

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Noop emit for webclient workaround

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Javadoc fix

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Noop emit for webclient workaround

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Javadoc fix

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Switch webserver to new OTP replacement

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* OTP in webserver Jersey test fix

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Performance boost for unbounded use-cases

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Another performance boost

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Cleanup and review issues

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Kafka connector with new emitter

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* Release subscriber reference on complete/error

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>

* OnEmit callback

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-05-22 11:05:50 -07:00
David Král
c856b44012 WebClient API changed from CompletionStage to Single (#1832)
WebClient API changed from CompletionStage to Single

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-21 09:47:00 +02:00
David Král
c0154b9318 DataChunkInputStream char duplication fix (#1824)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-19 13:36:54 +02:00
David Král
378d5d5a88 WebClient minor proxy fixes (#1792)
WebClient minor proxy fixes

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-14 14:28:32 +02:00
David Král
0db055dd0a Several minor fixes and improvements to WebClient (#1751)
* Build fix for console path in Windows.

Signed-off-by: David Kral <david.k.kral@oracle.com>

* Fix to how readers and writers should be returned by MediaSupport

Signed-off-by: David Kral <david.k.kral@oracle.com>

* Minor fixes and tests added

Signed-off-by: David Kral <david.k.kral@oracle.com>

* Sending large entity fix

Signed-off-by: David Kral <david.k.kral@oracle.com>

* Changelog update

Signed-off-by: David Kral <david.k.kral@oracle.com>

* helidon-build-tools version update

Signed-off-by: David Kral <david.k.kral@oracle.com>

* redundant import removed

Signed-off-by: David Kral <david.k.kral@oracle.com>

* minor changes

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-07 14:54:51 -07:00
David Král
4df31fdde8 WebClient used in SE examples and tests (#1646)
WebClient used in SE examples and tests

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-07 18:14:44 +02:00
David Král
05ed35d22e MediaSupport usage redesigned (#1720)
MediaSupport usage redesigned
Http methods added to WebClient interface
package private RequestConfiguration is no longer returned by public interface

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-07 11:17:04 +02:00
Daniel Kec
d93910edca Enable reflection init of NioSocketChannel with native image (#1722)
* Enable reflection init of NioSocketChannel with native image

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-05-05 18:02:22 +02:00
Tomas Langer
0c94ec317a Dependency convergence + jakarta libraries. (#1600)
* Dependency convergence + jakarta libraries.
* Tests for jar and module path fro MP.
* Dependency fixes to resolve javadoc issues.
* Fixed the command line scripts that validate classpath and module path.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-04-14 20:14:44 +02:00
David Král
6d76be1e22 Proxy changed from interface to class (#1537)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-03-23 08:54:34 +00:00
Joe DiPol
7d500a2784 Java 11 javadoc fixes. Turn on failOnError (#1386)
* Java 11 javadoc fixes. Turn on failOnError
* Switch to javadoc aggregate goal. Docs are generated as part of site lifecycle
* Update build.sh to build aggregated javadocs after build
* Cleanup based on PR feedback
* Removed requires java.activation
* Update jpa-cdi module-info
* Javadoc: update webclient module-info. Restore webserver dep in native-image-extension
* Update build.sh to use tagged release of javadoc-pluing
2020-03-13 13:03:58 -07:00
David Král
6ca7d5e6be Webclient implementation (#1205) (#1431)
Webclient implementation (#1205)

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-03-11 15:18:38 +00:00
Tomas Langer
ab1e27191b Jersey upgrade (#1438)
* this not work does

* Upgrade to Jersey 2.30.1

* Increased timeout for failing test (intermittent)

* Disabled offending test, related to config changes.
2020-02-26 19:01:44 +01:00
Joe DiPol
e25fdd4774 Update version to 2.0.0-SNAPSHOT. update-version now edits build.grad… (#1348)
* Update version to 2.0.0-SNAPSHOT. update-version now edits build.gradle file
2020-02-03 22:23:42 -08:00
Tomas Langer
5bfcff2b68 Java 11 as the minimal version (#1187)
* Java 11 as the minimal version

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Use release 8 for javadoc.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-10 10:02:05 +01:00