Commit Graph

63 Commits

Author SHA1 Message Date
Helidon Robot
1c8537d139 Release 1.4.7 [ci skip] 2020-08-14 21:51:55 +00:00
Joe DiPol
266666e573 Update version to 1.4.7-SNAPSHOT (#2243) 2020-08-11 12:54:13 -07:00
Joe DiPol
368643bde2 Bump version to 1.4.6-SNAPSHOT (#2083) 2020-06-23 11:31:42 -07:00
Tomas Langer
19e62aa243 Executor service for Jersey managed async executor is now configurable and correctly wrapped.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-04-16 23:02:55 +02:00
Tomas Langer
61f6af67b5 Fix for prioritized custom MP config sources in Helidon config.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-04-14 15:30:45 +02:00
Joe DiPol
02cbaff0b5 1.4: Update version to 1.4.5-SNAPSHOT (#1534)
* Update CHANGELOG for 1.4.4
* Update version to 1.4.5-SNAPSHOT
2020-03-18 14:51:32 -07:00
Joe DiPol
bcfc610dca Update version in pom files that were missed in merge (#1496) 2020-03-11 15:32:19 -07:00
Joe DiPol
e76b28314f Update version to 1.4.4-SNAPSHOT (#1480)
* Update version to 1.4.4-SNAPSHOT
2020-03-11 12:38:14 -07:00
Tomas Langer
6cf27b8e1e Fail fast when policy validation fails because of setup/syntax 1.x. (#1492)
* Fail fast when policy validation fails because of setup/syntax.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-03-11 18:14:07 +01:00
Joe DiPol
f5de2bc596 Update version to 1.4.3-SNAPSHOT (#1470)
* Update version to 1.4.3-SNAPSHOT
2020-03-04 14:52:53 -08:00
Tomas Langer
3d76fd9121 Provider autodiscovery (#1448)
* Support for @Provider discovery in MP server (#1432)
* Remove Provider.class from a list of bean defining annotations
* Add tests for provider auto-discovery
* Fixes so TCK for OpenAPI passes.
* Removed support for Singleton as not a bean defining annotation.
Co-authored-by: Aleks Seovic <aleks.seovic@gmail.com>
2020-02-26 11:42:08 -08:00
Bryan Atsatt
d8f5a87d4b Add jlink-image support to helidon-1.x (#1423)
* Add jlink-image support.

* Update standalone quickstart poms.

* Fix copyrights

* Replace use of List.of() with Collections.singletonList().
2020-02-23 09:53:34 -08:00
Joe DiPol
75f5dd1b04 Update version to 1.4.2-SNAPSHOT (#1252) 2019-12-19 16:21:52 -08:00
Tomas Langer
962dfe7365 Next snapshot version
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-11-23 13:39:06 +01:00
Joe Di Pol
59a3cfa7b8 Update version and CHANGELOG for 1.4.0 2019-11-21 13:08:24 -08:00
Tim Quinn
59b478ecf1 Support MP 3.2; add full and core MP bundles and deprecate existing numbered ones (#1143)
Add new MP bundles for core and full
2019-11-19 17:03:29 -06:00
Bryan Atsatt
c082748709 Changes default logging to write to System.out. (#1145)
* Changes default logging to write to System.out. Fixes #1144.

* Fixed copyrights.
2019-11-18 14:58:03 -08:00
David Kral
7086ed96ad Windows build fixed 2019-10-21 08:19:46 +00:00
Santiago Pericasgeertsen
50fec5ac67 New bundle for MP 3.1 (#1108)
* New bundle for MP 3.1.

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

* Make the MP 3.1 bundle the default for archetypes, tests and samples.

Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-10-18 09:30:22 -04:00
Santiago Pericasgeertsen
f92638c6e1 Support for Health 2.1 (#1092)
* Support for MP Health 2.1: (1) New backward compatible flag 'health.backward-compatible' to enable/disable Metrics 1.X JSON support; by default it is set to true. New Health 2.1 TCKs enforce schema validation, so this flag is required. (2) Support to disable all built-in health checks using 'mp.health.disable-default-procedures' property; built-in checks are decorated with a new qualifier for the purpose of filtering when this property is set.

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

* Required pom file.

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

* New section describing backward compatible flag and recommending use of new property.

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

* Extended functional test to verify support for property mp.health.disable-default-procedures.

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

* Fixed references to Health spec.

Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-10-15 10:51:25 -04:00
Tomas Langer
0db01d9f08 Mp ws services (#1073)
* Support for WebServer services in Helidon MP.
Named routing for applications and services using annotations.
Override routing name and path using configuration.

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

* Test that we can inject dependent and application scoped to webserver service.

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

* Documentation added.

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

* Rebase

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

* Checkstyle fix.

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

* Javadoc fix.

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

* Typo fix.

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

* Removed parts of another PR. Fixed long lambda.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-10-09 23:26:27 +02:00
Santiago Pericasgeertsen
53f4daad68 Switching back to using metrics2 by default where possible. (#1077)
Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-10-08 12:52:54 -04:00
Joe DiPol
3994b8e730 Update version to 1.3.2-SNAPSHOT. Update CHANGELOG.md (#1068) 2019-09-27 17:37:34 -07:00
Romain Grecourt
ea5df4b293 Update POM names for consistency. (#1032) 2019-09-13 17:44:33 -07:00
Joe DiPol
de805c92ea Fixes from 1.3.0 release branch and version update (#1027)
* Fix release.sh update-version to work with new parent pom hierarchy

* Update CHANGELOG for 1.3.0 release

* fix release script to deal with maven timestamps

* Update graal tests to work with new parent pom hierarchy

* Update release.sh to set helidon.version correctly

* Move gpg plugin management and execution for the release profile under parent/pom.xml
Move nexus plugin extension for the release profile under parent/pom.xml
Move the staging profile under parent/pom.xml
Added missing snapshot repository under distribution management in parent/pom.xml

* Fixes #1024 - Bad build time subsitution for bare archetypes pom
Fixes #1025 - archetype-packaging plugin needs to be declared as an extension
Reverting dependencies on helidon-metrics2 back helidon-metrics for all SE examples
Removing helidon-metrics2 from the BOM pom to prevent end-user from using it
Update examples/grpc/metrics README to fix test step.

* Update version to 1.3.1-SNAPSHOT
2019-09-13 13:17:44 -07:00
Romain Grecourt
0f6403374f Application poms (#1022)
Create a new parent pom hierarchy to fit new applications-pom
Updated all examples to use the new application-poms
Normalized examples README.md
Updated examples Dockerfile to multi-stage
Remove dependency management for microprofile-metrics-api and leverage the transitive dependencies of helidon-metrics and helidon-metrics2.
2019-09-12 15:48:09 -07:00
Tim Quinn
7708105a22 Support for MP Metrics 2.0 (#992)
Add support for Microprofile Metrics 2.0, including a Helidon metrics compatibility layer which allows some existing metrics 1.1 clients to run without change using  this Helidon release (which uses metrics 2.0).
2019-09-10 15:39:19 -05:00
Tomas Langer
c24eacfc34 Health check endpoint can now be disabled. (#990)
* Health check endpoint can now be disabled.
Added an MP integration test as well.

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

* Copyright fix.

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

* HealthSupport is now enabled by default.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-09-06 15:25:12 +02:00
Tomas Langer
70e49db9f8 Static content for Graal native-image (#962)
* Upgrade GraalVM to 19.2.0

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

* Support security algorithms in Graal native-image.

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

* Static content update to work with any classpath resource.

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

* Integration test for Graal native-image.

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

* Copyright fixes.

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

* Fix directory behavior when classpath based on files.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-08-30 21:42:52 +02:00
Joe DiPol
8c1d15f5e7 Set useBaseVersion to false when copying dependencies to address Narayana use of pinned snapshots (#972) 2019-08-30 05:45:24 -07:00
Tomas Langer
ce295ccf46 Propagate security automatically (#943)
* Security for Jersey client now autodiscoverable

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

* Missed tests added.

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

* Copyright fix.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-08-26 11:39:54 +02:00
Joe DiPol
a152dd5914 Update version to 1.2.2-SNAPSHOT. Update CHANGELOG (#937) 2019-08-21 18:23:50 -07:00
Joe DiPol
2cee5b3b37 Fix use of deprecated add() method on HealthSupport in quickstart and bookstore test (#936)
* Correct GraalVM version in README
* Fix deprecated use of health method
* Don't use deprecated method in health documentation
2019-08-21 08:44:53 -07:00
Tomas Langer
747e8f5d6f Zipkin integration no longer fails in MP due to class cast exception. (#901)
* Zipkin integration no longer fails in MP due to class cast exception.
+ test

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

* Copyright fix.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-08-15 23:11:05 +02:00
Joe DiPol
2c23b04154 Netty 4.1.39 (#899)
* Update Netty to 4.1.39.Final
* Fix order of test assertion to give proper message on failure
2019-08-13 22:09:19 -07:00
Joe DiPol
153ab91cd1 Update version to 1.2.1-SNAPSHOT (#869) 2019-07-30 16:29:07 -07:00
Joe DiPol
856942a256 Change version to 1.2.0-SNAPSHOT (#855) 2019-07-24 09:48:56 -07:00
Joe DiPol
7fbb0a675a Update maven-compiler-plugin version in quickstarts. Cleanup bookstore pom. (#851) 2019-07-22 08:03:51 -07:00
Joe DiPol
571ae20a62 Update examples and tests to use microprofile-2.2 bundle (#843)
* Fix typo in bom
* Update docs, examples and bookstore test to use MicroProfile 2.2 bundle
2019-07-17 16:18:10 -07:00
Santiago Pericasgeertsen
c1a6917bfa Allow posting incomplete books without resulting in an NPE (#818)
* Allow posting incomplete books without resulting in an NPE.

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

* Replaced <tt> tag no longer supported in HTML 5.

Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-06-26 14:54:09 -04:00
Santiago Pericasgeertsen
59d90f75e6 Pass maxContentLength to constructor of HttpServerUpgradeHandler or an initial (clear text) POST requesting an upgrade can fail. New POST test with TLS. (#816)
Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-06-25 16:21:41 -04:00
Santiago Pericasgeertsen
49897a05eb WIP: Support for HTTP/2 negotiation with TLS/APLN (#807)
* Support for Application Layer Protocol Negotiation (ALPN) in order to upgrade connections to HTTP/2 when using TLS.

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

* Initial support for SSL and http/2 and some new tests.

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

* Integrated OkHttp for testing. Refactor some tests. Tweaked login levels.

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

* Additional changes required for JDK 9.

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

* Fixed checkstyle problems in bookstore application.

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

* Fixed copyright.

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

* Trying older version of okhttp.

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

* Restored version of okhttp.

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

* Testing tweaks to build script.

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

* Restored build script.

Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-06-25 14:41:54 -04:00
Joe Di Pol
b2de53d943 Update version to 1.1.3-SNAPSHOT 2019-06-14 17:15:52 -07:00
Santiago Pericasgeertsen
ca0e11ffab Changes to content length optimization to handle chunks used for flushing connections. ByteBuffer's created from Jersey data are freshly allocated so a DataChunk that wraps one of these can be marked as read only as well. (#783)
Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-06-13 12:42:15 -04:00
Santiago Pericasgeertsen
aa3ab1c2e8 Backtracked test changes due to pipeline failure. (#776)
Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-06-12 16:33:46 -04:00
Santiago Pericasgeertsen
4c3d6ce915 WIP: Content-length optimization (#773)
* Completed content-length optimization. Added new flag to DataChunk to mark them as immutable. Updated and created some new tests.

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

* Renamed DataChunk property.

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

* Renamed DataChunk property.

Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
2019-06-12 14:34:39 -04:00
Joe DiPol
5327a29115 Change version to 1.1.2-SNAPSHOT (#748) 2019-05-29 10:46:00 -07:00
Santiago Pericasgeertsen
8b110bbf51 New functional test that verifies context propagation in FT (#717)
* New functional test that verifies context propagation in FT.

Signed-off-by: Santiago Pericas-Geertsen <Santiago.PericasGeertsen@oracle.com>

* Check that the span context is available from the Helidon context.

Signed-off-by: Santiago Pericas-Geertsen <Santiago.PericasGeertsen@oracle.com>
2019-05-28 10:30:17 -04:00
Joe DiPol
d887d78b2a Use jandex index in MP quickstart, update jandex-plugin version (#714)
* Use jandex index in MP quickstart and bookstore test, update jandex-plugin version
2019-05-20 15:21:47 -07:00
Joe DiPol
27080655b9 Use dependency management for bedrock (#696) 2019-05-15 15:57:34 -07:00