Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Pico SPI module #5253

Closed
wants to merge 94 commits into from
Closed

Conversation

trentjeff
Copy link
Member

Introduces the Pico SPI module. This represents the service provider contracts that back the Pico implementation that is forthcoming.

Note that this PR will be in draft at least until #5228 since it contains fixes that this PR requires.

tomas-langer and others added 30 commits August 9, 2022 12:52
* Update version to 4.0.0-SNAPSHOT
* Switch Java 19 (EA)
* Allow preview features in tests.
* Upgrade to latest maven.
* disable native image tests
* Switch to System.Logger for common modules (except for reactive)
* Move HelidonServiceLoader to common module.
* GenericType now contains constant for String
* Typo fix (Builder)
* Using Weight instead of Priority in SE
…elidon-io#4716)

* Unescape the keys when config is returned as a map

* Update copyright year

* Using as(Map.class).get() and as(new GenericType<Map>(){}).get() should have keys unescaped
Preparation for Loom based server.
Changes to common, common HTTP, common media types and fixes in all impacted modules.
…#4762)

* Doc: Fix K8s deployment yaml

(cherry picked from commit 2599cc4)
* Helidon Níma
* New Health API.
* Use 'Matrix' instead of 'Path' parameters
* Fault tolerance: move to reactive module.
* Media:  move to reactive module.
* DB Client: move to reactive module
* WebClient: move to reactive module
* WebServer: move to reactive module
…4779)

Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com>

Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com>
* Fix query params being lost on upgrade requests.
* Cleaner stack when running HTTP requests.
* Use a single SocketHttpClient.
* Refactor all usages in reactive and Níma.
* Fix intermittent test failure.
* Use same config root as MP for Nima
* Use correct project name.
* Refactor HttpException and RequestException to common HTTP module.
Add ErrorHandlers (without actual implementation) to Nima.
Use HttpException in Nima where appropriate
- compare strings if headers have single value
- support for blocking writes when queue is disabled
* add configuration to connect to DB and script to initialize DB
Signed-off-by: David Kral <david.k.kral@oracle.com>
…#4823)

* Port and cleanup of old reactive tests for Nima bulkheads. Restored Async class for convenience, now implemented using virtual threads.

* Added comment to interface.

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

* Increase timeout for pipeline.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
* A few improvements + se techempower
* Support for handler that throws a checked exception.
Signed-off-by: aserkes <andrii.serkes@oracle.com>
* Introduction of common/config.
Signed-off-by: aserkes <andrii.serkes@oracle.com>
* Logging refactoring
* LogConfig for any logging framework - moved to logging/common
* Moved from common to logging
* Simple integration with System.Logger for log4j and slf4j
spericas and others added 22 commits October 7, 2022 16:36
…elidon-io#5118)

* Set default write queue length to 0. Display version on startup.
* Fixed javadoc.
* Trying to work around a potential disk flushing problem in test.
* tracing configuration update

Signed-off-by: tvallin <thibault.vallin@oracle.com>

* Add documentation

Signed-off-by: tvallin <thibault.vallin@oracle.com>

Signed-off-by: tvallin <thibault.vallin@oracle.com>
…er the response is sent (helidon-io#5122)

* Add some retries because post-request metrics update occur after the response is sent
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>

Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
…5143)

Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>

Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
…helidon-io#5155)

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

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
…retry (helidon-io#5164)

* Make Github pipeline more robust by increasing HTTP ttl and adding a retry.

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

* Attempt to move maven HTTP args to pipeline file.

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

* Removed curly braces.

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

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Introduce Pico. Includes API and Types modules.
* Helidon MicroProfile switch from SE to Níma

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Co-authored-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
* Manage protobuf version using BOM

* Add comment

* Update comment
…flushing (helidon-io#5180)

* Updated test to use in-memory logging handler to avoid problems with flushing data to disk. This PR also fixes a bug in AccessLogFilter where the enable flag was ignored.

* Display additional information when test fails.

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

* Wrap AssertionError for proper logging of error.

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

* Fixed typo.

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

* Separate assertions.

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

* Use assertThatWithRetry since we can't prove happens-before relationship.

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

* Switch to using containsString().

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

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

Signed-off-by: tvallin <thibault.vallin@oracle.com>
* Force upgrade of asm for maven-compiler-plugin

* Don't alter asm version use by shade plugin

* Update copyright.sh

* Use version 9.4 of ASM

* Pin workflow versions

Pin workflow versions:
 - runner to ubuntu-20.04 instead of unbuntu-latest
 - actions/setup-java@v3.6.0 instead of actions/setup-java@v3

Force ASM 9.4 in maven-compiler-plugin, maven-surefire-plugin, maven-javadoc-plugin

Re-use the version.lib.asm property as we need to maintain that ; hard-code the previous use of the version.lib.asm in the maven-shade-plugin

* Remove toolchain profile activation

Remove the toolchain profile activation to normalize the environment (most developers are not using it)

Co-authored-by: Romain Grecourt <romain.grecourt@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@trentjeff trentjeff added the declarative Helidon Declarative label Oct 26, 2022
@trentjeff trentjeff added this to the 4.0.0 milestone Oct 26, 2022
@trentjeff trentjeff self-assigned this Oct 26, 2022
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 26, 2022
@trentjeff trentjeff closed this Oct 26, 2022
@trentjeff trentjeff deleted the pico3 branch November 7, 2022 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
declarative Helidon Declarative OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.