134 Commits

Author SHA1 Message Date
Tomas Langer
ff8832ee49 Service name not needed when tracing is disabled. (#1086)
* Service name not needed when tracing is disabled.

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

* Better test fail message.

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

* Silence javadoc plugin.
No longer prints a line for each generated file.

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

* Removed accidental paste.

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

* Test fixed.

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

* Test fixed (jaeger).

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

* Checkstyle fix

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-10-10 20:38:00 +02:00
Joe DiPol
3994b8e730 Update version to 1.3.2-SNAPSHOT. Update CHANGELOG.md (#1068) 2019-09-27 17:37:34 -07:00
Daniel Kec
5cfa5dc46f Whitespaces in config file path workaround (#1006)
* Workaround for https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4466485

Signed-off-by: Daniel Kec <daniel@kecovi.cz>
2019-09-25 10:40:07 +02:00
David Král
bfe02f628c RSA encryption changed (#1036)
Fixes #984 - RSA encryption changed

Signed-off-by: David Kral <david.k.kral@oracle.com>
2019-09-24 10:40:28 +02:00
Romain Grecourt
39b4c59e53 Fix UrlConfigSource to work on windows (#1039)
* Add a dirty bandage on UrlConfigSource to work on windows

* Incorporate review feedback
2019-09-18 15:14:31 -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
Bryan Atsatt
dd4c85103a Fix precedence for explicit sys prop and env var sources. (#1002)
* Fix precedence for explicit sys prop and env var sources.
Fixes #977.

* Introduce explicit types for sys props and env vars config sources.

* Copyright fix.
2019-09-09 08:24:54 -07:00
Bryan Atsatt
ada451300f javadoc clean up (#993)
* Make javadoc tables more readable and remove explicit styles from ThreadPoolSupplier tables.

* Table style/doc tweaks.

* Add missing javadoc modules: grpc-* (fixes #955), access-log, jaeger tracer, open api.
Clean up "Other Packages" tab by adding new groups.
More table style/doc tweaks.

* Copyright fixes.
2019-09-05 19:20:32 -07: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
Tomas Langer
44b10c1678 MP now returns the original instance of Helidon config. (#941)
* MP now returns the original instance of Helidon config.

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

* Helidon config in MP now contains MP config sources as well.
Also fixed URL config source to handle any URL, not just HTTP.

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

* Correct disconnect in dataStamp

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-08-30 12:24:12 +02:00
Joe DiPol
a152dd5914 Update version to 1.2.2-SNAPSHOT. Update CHANGELOG (#937) 2019-08-21 18:23:50 -07:00
Tomas Langer
ea35684701 Changes for Zipkin and Netty to run with latest Graal VM native-image (#915)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-08-20 11:20:56 +02: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
Joe DiPol
3d041b33d7 Change build pipeline to Java 11 (#810)
* Update pipeline docker image to maven:3.6.1-jdk-11
* Spotbugs and javadoc updates  to work with JDK 11
2019-06-25 09:02:28 -07:00
David Král
06a7434208 credentials support added to git config (#801)
* Git config credentials support added
* user changed to username

Signed-off-by: David Kral <david.k.kral@oracle.com>
2019-06-24 13:40:33 +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 DiPol
f81694e9b0 Update javadocs plugin. Make javadocs compatible with HTML5 (#808)
* Update javadocs plugin. Make javadocs compatible with HTML5 (for Java 11)
2019-06-21 10:42:41 -07:00
Joe Di Pol
b2de53d943 Update version to 1.1.3-SNAPSHOT 2019-06-14 17:15:52 -07:00
David Kral
bd7b527d90 Encryption changed to GCM method
Some minor security bugs fixed
Tomas suggestions implemented
checkstyle update
Unused import removed
Test cipherWrongSalt removed
Signed-off-by: David Kral <david.k.kral@oracle.com>
2019-06-14 11:56:09 -07:00
Joe DiPol
5327a29115 Change version to 1.1.2-SNAPSHOT (#748) 2019-05-29 10:46:00 -07:00
Laird Nelson
394134cb78 Fixes #727 (#728)
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
2019-05-22 13:41:21 -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
Joe DiPol
0eee7a280a Update SnakeYAML to 1.24 (#626)
* Update SnakeYAML to 1.24
2019-04-29 13:26:15 -07:00
Joe DiPol
f293469524 Update version to 1.0.4-SNAPSHOT (#602)
* Update version to 1.0.4-SNAPSHOT
2019-04-18 13:37:18 -07:00
Bryan Atsatt
7f976f35ff Restrict GenericConfigMapper to types that have 1 or more bean properties. Along with some exception handling in ConfigCdiExtension, this solves the TCK problem where it expects a conversion to a type that only has a default ctor to fail. 2019-04-03 11:06:14 -07:00
Bryan Atsatt
33911a517b Remove TODO. 2019-04-02 07:56:24 -07:00
Bryan Atsatt
157ea0d152 Eliminate hasConverter() since it does not correctly detect all conversions supported by Helidon.
This currently breaks the TCK since ObjectConfigMapperProvider supports "conversion" using only a default ctor; this needs to be addressed somehow.
2019-04-02 07:56:24 -07:00
Bryan Atsatt
9e27a05034 Javadoc fixes. 2019-04-02 07:56:23 -07:00
Bryan Atsatt
8839a0def3 Checkstyle fixes. 2019-04-02 07:56:23 -07:00
Bryan Atsatt
053491f1e6 First pass at MP config 1.3 update. Includes changes to SE for improved symmetry. 2019-04-02 07:56:23 -07:00
Joe DiPol
ec27269f11 Change version to 1.0.3-SNAPSHOT (#526) 2019-03-21 15:47:01 -07:00
Tomas Langer
0799ee0848 Workaround for Snake YAML issue missing java.runtime.name system property (#516)
* Workaround for Snake YAML issue with missing java.runtime.name system
property

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

* Fix javadoc for public constructor.
2019-03-20 09:33:34 +01:00
Bryan Atsatt
1053e7a4a1 Merge pull request #509 from batsatt/se-map-env-vars_446
Make SE and MP share config env var mapping
2019-03-19 08:43:01 -07:00
Bryan Atsatt
b29f12160b Revert indent changes. 2019-03-18 10:11:55 -07:00
Bryan Atsatt
3faa087bfd Make example mappings app related. 2019-03-17 11:06:40 -07:00
Bryan Atsatt
52f3fd5d38 Merge pull request #502 from batsatt/config-exceptions_477
Ignore non-existent default config sources.
2019-03-15 13:47:42 -07:00
Romain Grecourt
0b5dca90e6 Update checkstyle library to 8.18 (#510)
* Update checkstyle library to 8.18
Update checkstyle.xml (required):
 - Move SuppressionCommentFilter under TreeWalker
 - Remove maxLineLength property of LeftCurly module
Fix new checkstyle error reported

* fix copyright

* Fix remaining copyrights.
Wrap the wercker fix in copyright.sh with a if \$WERCKER=true
2019-03-15 11:49:30 -07:00
Bryan Atsatt
38197151c1 Remove unused import in test. 2019-03-15 10:26:02 -07:00
Bryan Atsatt
51a0f24336 Checkstyle fix. 2019-03-15 10:24:39 -07:00
Bryan Atsatt
dc5b663f71 Add documentation.
Change EnvironmentVariables package so accessible from MP in java 9 module.
Refine mapping constraints.
Fixes #446.
2019-03-15 10:17:42 -07:00
Bryan Atsatt
7775d546fa Make SE and MP share config env var mapping. Introduce mapping for hyphenated properties. 2019-03-14 17:16:15 -07:00
Joe DiPol
2022c59887 Update version to 1.0.2-SNAPSHOT (#506) 2019-03-14 16:37:41 -07:00
Tomas Langer
4fa0f5aa6c Graal integration extension and update of projects. (#499)
* Graal integration extension and update of projects.

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

* Checkstyle supressions for substitution class.

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

* All reflection configuration moved to META-INF config.

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

* Better artifact id.

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

* Graal reflection config now has unique file names.

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

* Graal java util logging support (temporary solution)

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

* Reuse URI instance.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-03-13 19:49:59 +01:00
Bryan Atsatt
36aca6ba08 Fix copyright. 2019-03-12 17:57:12 -07:00