Commit Graph

1621 Commits

Author SHA1 Message Date
Romain Grecourt
af9a5e77a4 hot fix 2.1.0 tag to include missing artifact io.helidon.microprofile.tests:helidon-microprofile-tests-junit5 2.1.0 2020-10-24 12:31:56 -07:00
Helidon Robot
e80e5e9525 Release 2.1.0 [ci skip] 2020-10-16 01:40:48 +00:00
Joe Di Pol
b8a611aec2 Final CHANGELOG.md update for 2.1.0 release 2020-10-15 17:37:31 -07:00
Joe Di Pol
878a2661dd Update version to 2.1.0-SNAPSHOT 2020-10-15 17:14:52 -07:00
Joe DiPol
8a44af7f9b Add third-party-license-report execution to archetype project poms (#2459) 2020-10-15 16:35:04 -07:00
Joe DiPol
a45582c779 Upgrade to build tools 2.1.2 (#2458) 2020-10-15 14:36:31 -07:00
Joe DiPol
73884ad0c2 Fix doc issues for config (#2449) and grpc (#2451) (#2457) 2020-10-15 13:20:37 -07:00
Joe DiPol
6e742ec8fe Update changelog in prep for 2.1.0 (#2452) 2020-10-15 12:08:16 -07:00
Tomas Langer
b300e54b7f CDI.current().getBeanManager() now available during shutdown (#2438)
* CDI.current().getBeanManager() now available during shutdown

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

* Guarding debug statement

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-10-15 12:07:31 -07:00
Romain Grecourt
2dd6a2fa9d Update the helidon-cli profile to declare the helidon-cli-maven-plugin as an extension instead of the helidon-maven-plugin. (#2446)
Also remove the version since the plugin is already managed.

Fixes #2398
2020-10-15 10:03:40 -07:00
David Král
80909a0926 Config now supports merging of objects and lists (#2448)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-10-15 17:40:36 +02:00
Daniel Kec
1cb9fbd6b9 Log Kafka sending error which caused channel cancel (#2447)
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-10-15 11:46:25 +02:00
Tomas Langer
69d0ae25c6 Public API to get absolute URI of the request. (#2441)
* Public API to get absolute URI of the request.
* Absolute URI uses lazy value, added test.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-10-15 10:32:44 +02:00
Tomas Langer
7b1266f1b8 Junit 4 upgrade (used in MP TCKs). (#2450)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-10-15 00:34:48 +02:00
Tomas Langer
f198919104 Attempt to start a stopped server will fail with IllegalStateException (#2439)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-10-14 19:39:59 +02:00
Daniel Kec
52734e1815 Fix NPE on error in tx #2286 (#2437)
* Fix NPE on error in tx #2286
* Switch to Single
* Fix nullability
* Fix single result handling

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-10-14 12:53:23 +02:00
Joe DiPol
eb2115dc16 New licensing module (#2403)
* New licensing module to contain licensing info and HELIDON_THIRD_PARTY_LICENSES.xml
* Add third-party-license-report execution to helidon-maven-plugin
2020-10-13 16:12:39 -07:00
Tim Quinn
bde9564a60 MP health edits (#2443)
* MP health edits

Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
2020-10-13 12:09:10 -05:00
Tomas Langer
6a9ece1b0e Fix test that caused NPE in other tests. (#2440)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-10-12 19:39:18 +02:00
Tomáš Kraus
317d5e36fb DBClient integration tests for MySQL, MadiaDB, PostgreSQL and MS SQL (#2383)
* DBClient integration tests for MySQL, MadiaDB, PostgreSQL and MS SQL Server.
* Changes requested in PR.
* Fixed javadoc build issue.

Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com>
2020-10-12 15:04:14 +02:00
Joe DiPol
154786c3e2 Third party attributions for MicroProfile Rest Client 1.4.1 (#2432)
* Update third party attributions for MicroProfile Rest Client 1.4.1
2020-10-09 14:05:15 -07:00
Tim Quinn
6a6fbe23ff Avoid race condition by using ConcurrentHashMap (#2435)
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
2020-10-09 14:49:34 -05:00
Santiago Pericasgeertsen
b1ddbe8828 Allow user-provided CDI extensions to veto JAX-RS classes (#2429)
* Allow user-provided CDI extensions to veto JAX-RS classes so that they are not included as part of an application during discovery. Changed JaxRsCdiExtension to use a different event to process classes. Updated the bookstore-mp test to verify the veto process and also modernized its tests.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Fixed checkstyle issues.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
2020-10-08 16:00:11 -04:00
Tomas Langer
2a992422f9 Documentation review fixes. (#2428)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-10-08 16:29:50 +02:00
David Král
59c71a2868 MP rest client version updated to 1.4.1 (#2426)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-10-08 15:47:55 +02:00
Tomas Langer
c674f851d5 Secure static content (#2411)
* Securing static content.

- Documentation update.
- Example

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-10-08 14:40:51 +02:00
David Král
80886a4844 Jersey update to version 2.32 (#2406)
Jersey update to version 2.32

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-10-08 10:30:53 +02:00
Joe DiPol
c6ee227a4e Update attributions for Prometheus Simple Client 0.9.0 (#2422) 2020-10-07 13:07:43 -07:00
Tim Quinn
6322b7e9c7 Update release of Prometheus Java client (#2419)
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
2020-10-07 13:51:33 -05:00
Joe DiPol
fda1102a1c Update THIRD_PARTY_LICENSES for Jersey 2.32 (#2414) 2020-10-07 10:38:22 -07:00
Daniel Kec
9aa8185441 Multi discrepancies (#2413)
* Multi discrepancies

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-10-07 18:28:21 +02:00
Víctor Orozco
3d9a3f944a Fixing broken link for SubtrateVM limitations on GraalVN Native Docs (#2410) 2020-10-05 15:01:40 -07:00
Santiago Pericasgeertsen
ac3ff4f168 Support for a name for all those operations that implement FtHandler. These names can be used for debugging, error reporting and future config support. Fixed some warnings too. (#2404)
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
2020-10-01 14:51:34 -04:00
David Král
84b97ef3e6 Git config native-image support (#2400)
Git config native-image support

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-10-01 18:12:41 +02:00
David Král
0dc4d4b408 DataChunkedInputStream deadlock protection removed (#2401)
Deadlock protection removed from DataChunkedInputStream

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-10-01 18:11:52 +02:00
Daniel Kec
86e7cdc8bd ClassPathContentHandler can survive tmp folder cleanup (#2361)
* ClassPathContentHandler can survive tmp folder cleanup

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-09-30 21:44:59 +02:00
Santiago Pericasgeertsen
24e39b9710 Fault Tolerance SE Documentation (#2399)
* Initial draft.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* New section and fixed some typos.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Some new sections and a new file name.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Links to Javadocs.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Updated sitegen.yaml with new entry for FT.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Updated sitegen.yaml with new entry for FT.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Updates to the Handler Composition section with new example. Some minor fixes in Javadocs referenced from this document.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Some minor rewording in Bulkhead section.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* A couple of more typos.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
2020-09-30 14:34:49 -04:00
Daniel Kec
64f3e04916 Messaging health check (#2352)
Messaging health

* readiness check
* aliveness check

Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-09-30 19:25:13 +02: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
6881ec8787 Update for MP tracing documentation. (#2397)
Extracted common parts into shared section.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-25 23:07:09 +02:00
Joe DiPol
b6aa1e8ce7 Add license text to THIRD_PARTY_LICENSES.xml (#2394) 2020-09-25 08:25:10 -07:00
Joe DiPol
388c622171 Fix 2391 Bug in generated Dockerfile.native from quickstart-mp (#2393) 2020-09-24 13:39:24 -07:00
Santiago Pericasgeertsen
147166a08f New WebServer document describing how to enable HTTP compression.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
2020-09-24 13:45:41 -04:00
Santiago Pericasgeertsen
c31a3f07c5 Enable support for HTTP compression in the webserver (#2379)
* Enable support for HTTP compression in the webserver. Netty provides support for gzip and deflate encodings. Some new tests to show how it works.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Support for enable-compression flag, set to false by default. Test updated.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* New functional test for HTTP compression in MP. Restored old Jersey test.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Some cleanup of pom and test files.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* 2334 webserver compression (#2)

* Enable support for HTTP compression in the webserver. Netty provides support for gzip and deflate encodings. Some new tests to show how it works.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Support for enable-compression flag, set to false by default. Test updated.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* New functional test for HTTP compression in MP. Restored old Jersey test.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Some cleanup of pom and test files.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Changes for new test support.

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

Co-authored-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Fixing some problems after a merge.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Fixing some problems after a merge.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

* Fixed location and annotations on enableCompression method in builder.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>

Co-authored-by: Tomas Langer <tomas.langer@gmail.com>
2020-09-24 13:45:15 -04:00
Joe DiPol
f834d11ce9 Update gRPC attribution for 1.32.1 (#2389) 2020-09-24 08:55:14 -07:00
Jonathan Knight
53b9834b7e Update to the latest gRPC Java version to match with the version of Netty being used by Helidon. (#2388) 2020-09-23 12:12:45 -07:00
Santiago Pericasgeertsen
4a4c4542ef Updated test to verify @CircuitBreaker does not interfere with request scope in latest implementation.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
2020-09-23 14:05:13 -04:00
David Král
f750827271 media-jackson native-image support (#2385)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-09-23 16:16:03 +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
Tomas Langer
446afa7675 Injection of web target with correct endpoint. (#2380)
* Injection of web target with correct endpoint.
* Support for junit5 tests already in MP Config implementation
* Support for inherited repeating annotations.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-23 13:40:01 +02:00