41 Commits

Author SHA1 Message Date
Joe DiPol
437fbd730d Update version to 2.1.1-SNAPSHOT (#2462) 2020-10-16 15:37:23 -07:00
Joe DiPol
78eddfe47a Update version to 2.0.3-SNAPSHOT (#2323) 2020-09-04 11:18:57 -07: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
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
Jonathan Knight
e5e9253671 Fix intermittent test failure in GrpcServiceTest. (#1947)
* Fix intermittent test failure in GrpcServiceTest.
2020-06-09 16:34:49 +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
Tomas Langer
2b03cab655 Remove deprecations 1 (#1884)
* Deprecated Span injection removed from Jersey integration.
* Deprecated methods and uses in HealthChecks removed (where possible).
* Removed deprecated ContextualRegistry

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-05-28 12:40:34 +02:00
Tomas Langer
106117558e Fix of an old renaming gone wrong. (#1881)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-05-27 14:35:30 +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
Jonathan Knight
3d01d2daab Fix keys and certs used in gRPC TLS/SSL tests (#1597)
* Fix keys and certs used in gRPC TLS/SSL tests
2020-03-30 15:01:58 +02: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
6375428deb Helidon Features.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-16 11:35:49 +01:00
Tomas Langer
8ae046ecf9 Update to Java 11 APIs (#1232)
* Remove OptionalHelper and replace with Optional methods.
* Remove CollectionsHelper and replace with Set, Map and List methods.
* Replaced `InputStreamHelper` with method of `InputStream`
* Replaced Helidon `StackWalker` with the one from Java
* Updated CHANGELOG.md
* Added an exclude for spotbugs to work around
    https://github.com/spotbugs/spotbugs/issues/756

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-17 20:33:51 +01:00
Tomas Langer
5d69b7d448 Upgrade tracing libraries (#1230)
* Upgrade of libraries related to tracing. (#1169)

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

* Upgrades OpenTracing version, Jaeger and Zipkin tracers and fixed backward incompatible calls.

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

* Upgrade to latest Zipkin sender.

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

* Updated CHANGELOG.md

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-16 23:20:08 +01: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
Joe DiPol
eb999f5c56 Update version to 2.0-SNAPSHOT (#1167) 2019-11-23 13:44:00 +01: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
Jonathan Knight
d57efeaf91 Use static factory methods instead of constructors wherever possible for gRPC classes (#1128) 2019-10-30 15:50:30 +01:00
Tomas Langer
c204af5ca7 MP gRPC review changes - ResponseHelper should be a utility class (#1125)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-10-30 11:25:13 +01:00
Jonathan Knight
70d434d52d gRPC microprofile support (#910)
* gRPC microprofile support (#107)

Adding gRPC microprofile support

* Resolve review comments, checkstyle and spot-bugs issues

* Fixing copyright

* Rebasing on Oracle/Helidon master

* Add support for CDI discovery of MarshallerSuppliers

* Improve error logging

* Rebasing on Oracle/Helidon master

* Changes based on pull request feedback

* Use Resource class for resources loaded from configuration

* Refactoring based on pull request feedback

* Use the standard protobuf Empty message type instead of a custom Empty message

* Support CompletionStage as a return type in MP annotated gRPC service methods
2019-10-21 17:12:17 +02:00
Joe DiPol
3994b8e730 Update version to 1.3.2-SNAPSHOT. Update CHANGELOG.md (#1068) 2019-09-27 17:37:34 -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
Joe DiPol
a152dd5914 Update version to 1.2.2-SNAPSHOT. Update CHANGELOG (#937) 2019-08-21 18:23:50 -07:00
Jonathan Knight
c8ddc94812 Add module-info.java files to gRPC modules (issue #759) (#789)
* Add module-info.java files to gRPC modules (issue #759)

* Copyright fixes (issue #759)

* Fixing merge conflicts

* Fix missing modules in module-info files

* Fix incorrect indentation in pom.xml

* Fix incorrect indentation in pom file
2019-08-09 16:41:53 -07:00
Jonathan Knight
87c70c9ced Revert back to boring-ssl (#864)
* Revert back to boring-ssl
* Use Netty 4.1.38.Final
2019-08-02 08:18:54 -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
Tomas Langer
1dacd76882 No longer using UUID to generate Context id. (#831)
* No longer using UUID to generate Context id.
Refactored to use a meaningful id for parent contexts

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

* Checkstyle fixes

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-07-10 20:20:24 +02:00
Tomas Langer
ac604c0eb2 Tracing configuration module. (#809)
* Tracing configuration module.

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

* Register tracer as global tracer, configurable.

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

* Tracing configuration for web server.

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

* Using tracing configuration, root span delegated to TracingConfiguration.

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

* Integration common module with tracing helpers.

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

* Using common tracing helpers in gRPC security integration

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

* Using common tracing helpers in webserver and Jersey security integration

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

* Using tracing configuration

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

* Using tracing configuration

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

* Fixed visibility in Contexts.

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

* Refactored metrics context handler to a separate class.
Better visibility in Tracing.

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

* Common security integration module in bom pom.

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

* Refactoring based on review comments.
Using WebTracingConfig and GrpcTracingConfig instead of TracingConfiguration
Using a classified instance for SpanContext in context
Using a constant for tracing component name in jax-rs

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

* Build fixes for tracing

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

* Outbound security span now child of outbound jersey call.

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

* Review fixes - remove the word environment.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-06-28 17:56:10 +02:00
Tomas Langer
e2d2a03130 Upgrade Jersey to 2.29 (#813)
* Test with Jersey Release Candidate.

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

* Fixes for update to Jersey RC

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

* Excluded hk2 jakarta.inject

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

* Copyright fixes

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

* Upgrade to Jersey 2.29 released version

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

* Upgrade to Jersey 2.29 released version

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

* Force updates to try fix issue with socket reset

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

* Modules for jersey to exclude jakarta and include javax

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

* module-info fixes for json and health

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

* Copyright fixes

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

* Spotbugs fix

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

* Jersey dependency fix

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

* Better assertion to troubleshoot test failures.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-06-27 13:40:34 +02:00
Aleks Seovic
4f05b93a7f Implementation of Helidon SE gRPC Client (#668)
* Changes based on gRPC server PR

* Implement client-side service framework

* Initial commit for Issue #20
* Incorporated JK's review comments

* Remove metrics from gRPC client. Issue #74

* Refactor example clients to use the client API.

* Added gRPC Client documentation

* Refactor client interceptor priority to be an int instead of an enum

* Support for gRPC client configuration

* Allow users to configure gRPC client security #26

* Update examples and docs to show the correct way to configure gRPC client security

* Added missing copyrights

* Changes based on PR comments

* Harden GrpcChannelsProvider to cope with missing configuration

* Changes based on PR comments

* Fix broken gRPC client example

* Harden GrpcServiceTest against timing errors

* Clean-up after rebasing on latest master

* Fix merge issue
2019-06-21 23:56:34 +02:00
Joe Di Pol
b2de53d943 Update version to 1.1.3-SNAPSHOT 2019-06-14 17:15:52 -07:00
Jonathan Knight
94fa18b559 Create helidon context in gRPC server implementation (#769)
* Create helidon context in gRPC server implementation

* Replace use of ContextualRegistry with Context in GrpcServer

* Ensure that each gRPC thread has its own Context with the server's Context as a parent
2019-06-11 13:46:46 -07:00
Joe DiPol
5327a29115 Change version to 1.1.2-SNAPSHOT (#748) 2019-05-29 10:46:00 -07:00
Jonathan Knight
aa0271b2b1 Remove netty-tcnative-boringssl-static dependency (#705)
* Remove gRPC server module's dependency on netty-tcnative-boringssl-static and replace it with a test scoped dependency on netty-tcnative
* Try to install openssl in the Werker container
* Update build script to install the libapr1 package
* Fixing gRPC server SSL configuration
2019-05-24 08:26:31 -07:00
Michael Hausegger
d83fe73b94 Small minor performance improvements (#711)
* Small minor performance improvements
2019-05-22 17:18:32 -07:00
Joe DiPol
bec2d7331e Update version to 1.1.1-SNAPSHOT (#686)
* Update CHANGELOG for 1.1.0 release

* Make sure to only update project version when processing project pom

* Update version to 1.1.1-SNAPSHOT
2019-05-14 14:42:53 -07:00
Joe DiPol
6ef98d8b87 Update version to 1.1.0-SNAPSHOT (#683) 2019-05-13 16:37:44 -07:00
Aleks Seovic
baefb32d24 Initial gRPC server/framework implementation (#543)
* Initial gRPC server/framework implementation

* Fixes for corrupted source files

* Checkstyle fix

* POM changes based on PR comments by @romain-grecourt

* Added missing gRPC documentation sections

* Change gRPC module to versions 1.0.4-SNAPSHOT

* Change netty tcnative to 2.0.22.Final

* Changes from Helidon review meeting (#84)

* Initial gRPC server/framework implementation

* Remove @author JavaDoc tags

* Rename gRPC server `ServiceDescriptor.Config` interface to `ServiceDescriptor.Rules` and `MethodDescriptor.Config` to `MethodDescriptor.Rules` based on pull-request feedback. Also changed corresponding variable names, parameter names and documentation usage.

* Split gRPC metrics out of the gRPC server module into its own module.

* Change configuration examples in gRPC documentation to yaml

* Fix gRPC security documentation error

* gRPC metrics clean-up based on review comments

* gRPC metrics docs change

* Change gRPC security example configuration to use yaml

* Remove the custom `BasicAuthCallCredentials` class from the security examples #90

* Change gRPC interceptor priority to be an `int` #91

* Fixing checkstyle errors

* Fix incorrect comment in gRPC examples basic `Server.java`
Change gRPC Open Tracing example to build the `Tracer` from config

* Checkstyle fix

* Support the Helidon Prioritized interface as a way to specify gRPC interceptor priority.

* Resolve merge conflict

* Update the gRPC introduction doc to make it clear that Helidon gRPC is currently an experimental feature
2019-05-05 22:12:32 +02:00